Seb Ospina
f5dfca7f27
Adapting maxwen branch to v0.16.1 ( #1424 )
...
* Adapting maxwen branch to v0.16.1
maxwen@6ba9b84
closes #1155
Signed-off-by: Seb Ospina <kraige@gmail.com>
* ESP32-PICO-V3-02 init
Signed-off-by: Seb Ospina <kraige@gmail.com>
* rustfmt
* Update CHANGELOG.md
---------
Signed-off-by: Seb Ospina <kraige@gmail.com>
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-04-22 17:01:39 +00:00
Jesse Braham
c4383196fa
Remove unused files, clean up some #[cfg]
s and #[allow]
attributes ( #1494 )
...
* Remove unnecessary files
* Use config symbols instead of feature names for remaining `cfg` attrs
* Clean up some attributes/TODO comments in UART driver
2024-04-22 16:29:33 +00:00
Jesse Braham
4d2ab5bc8f
Create virtual peripherals for CPU control and radio clocks ( #1428 )
...
* Create a virtual `CPU_CTRL` peripheral for ESP32/S3
* Create a virtual `RADIO_CLK` peripherals for all devices with radios
* Use `PeripheralRef` for the `CpuControl` constructors
* Update `CHANGELOG.md`
2024-04-22 15:21:08 +00:00
Dominic Fischer
866933bf6f
Fix entry macro for ULP hal ( #1488 )
2024-04-22 14:42:10 +00:00
liebman
5f79be6c9b
i2c: i2c1_handler used I2C0 register block by mistake ( #1487 )
...
* i2c: i2c1_handler used I2C0 register block by mistake
* update CHANGELOG
2024-04-22 14:41:59 +00:00
Scott Mabin
4d44f4179e
Document more EspAlloc invariants ( #1474 )
2024-04-22 14:41:46 +00:00
Droog71
7e5895c5fd
Fix for issue #1419 ( #1441 )
...
* Fix for issue #1419 . Removed ESP32 specific code for resolutions > 16 bit in ledc embedded_hal::pwm max_duty_cycle function. Fixed division by zero in ledc embedded_hal::pwm set_duty_cycle function and converted to set_duty_hw instead of set_duty to eliminate loss of granularity.
* Updated change log.
* Fixed indentation in ledc set_duty_cycle function.
* Removed unused ChannelIFace import for ehal mod.
2024-04-22 14:41:34 +00:00
Sergio Gasquez Arcos
20c77891d8
ci: Adapt HIL tests to use RPi ( #1493 )
2024-04-22 14:28:01 +00:00
Scott Mabin
3dfea214d4
next release cycle
2024-04-18 16:51:30 +00:00
Jesse Braham
822bef12c7
New package releases ( #1464 )
v0.17.0
2024-04-18 16:02:45 +00:00
Scott Mabin
39a75bae90
Improve the top level crate documentation ( #1467 )
2024-04-18 15:50:20 +00:00
Dominic Fischer
763bd638e7
Expose e-hal ErrorKind::NoAcknowledge in I2C driver ( #1454 )
...
Co-authored-by: Scott Mabin <scott@mabez.dev>
2024-04-18 11:28:50 +00:00
Dominic Fischer
8f2ee88491
Add remaining peripheral signals for LCD_CAM ( #1466 )
2024-04-17 23:05:42 +00:00
Adam Simpkins
3d9f117beb
Add peripheral signals for the USB external PHY ( #1463 )
...
These signal definitions appear to be missing, and it seems like these
are needed to use an external PHY. I copied these values from the
gpio_sig_map.h headers in the ESP-IDF.
2024-04-17 20:30:39 +00:00
Björn Quentin
c4d1eb492e
Address gpio module todos ( #1462 )
...
* Add `set_state` for GpioPin
* `#![warn(missing_docs)]` for GPIO module
* CHANGELOG.md
2024-04-17 16:07:42 +00:00
Kirill Mikhailov
6f91367d6c
Add mechanism to configure UART source clock ( #1416 )
...
* Creating mechanism for setting UART source clock
* Format + examples updating
* Changelog entry
* Smaller fixes (reviews)
* Move RC_FAST_CLK constant to soc
* Fix REF_TICK value
* Add doc comments
update doc comments
* fmt
2024-04-17 15:27:47 +00:00
Scott Mabin
111dcda103
SystemTimer fixups ( #1455 )
...
* Resolve TODOs, add wait_until to target alarm, add &mut self to public API
* changelog
2024-04-17 15:09:48 +00:00
Jesse Braham
71db9fa55c
Remove partial support for the ESP32-P4 ( #1461 )
...
* Remove all code for and mentions of the ESP32-P4
* Update `CHANGELOG.md`
2024-04-17 14:49:00 +00:00
Björn Quentin
54f4f0e90d
Add Safety
comments ( #1460 )
2024-04-17 12:48:07 +00:00
Björn Quentin
29d9cfbe31
Verify C6 signals / compared to ESP-IDF ( #1459 )
2024-04-17 10:46:35 +00:00
dimpolo
0fa3214971
MCPWM deadtime improvements ( #1378 )
...
* MCPWM deadtime improvements
* allow changing deadtime config after pin creation
* constify DeadTimeCfg
* fix some wrong bit values
* remove some unsafe blocks
* fix some typos
* enable PwmPin as a last configuration step
* introduce mcpwm::operator::LinkedPins and move deadtime related method there
* Typo
* variant() -> bits()
* formatting
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-04-17 09:23:31 +00:00
Björn Quentin
803fbb4d94
Use AlignmentHelper
for AES ( #1458 )
...
* Use `AlignmentHelper` for AES
* Make Clippy smile
2024-04-17 09:00:42 +00:00
Juraj Sadel
000617b876
esp32: fix ledc ( #1457 )
...
* esp32: fix ledc
* changelog
2024-04-17 07:39:10 +00:00
Kirill Mikhailov
17492f6b62
Support 192 and 256-bit keys for AES ( #1316 )
...
* Support 192 and 256-bit keys for AES
* quick fix
* Not `panic`ing on wrong key length
* fmt + hil
Update comment
* Add more doc comments
* Use `Key` enum for DMA mode
fix
* API fix: make some critical functions private
* Use `Into<Key>` instead of forcing users to call funcs with `key.into()`
2024-04-16 16:51:25 +00:00
Jesse Braham
3c2dccd51c
Move the esp-alloc
package into the repository ( #1449 )
2024-04-16 15:11:05 +00:00
Björn Quentin
2a750dfedc
Use esp-synopsys-usb-otg
0.4.1 ( #1452 )
2024-04-16 15:00:25 +00:00
Björn Quentin
e368be0565
Turn some not-too-useful TODOs into useful documentation ( #1451 )
2024-04-16 14:46:27 +00:00
Scott Mabin
48ced47874
fixmes be gone ( #1448 )
2024-04-16 13:52:45 +00:00
Scott Mabin
89a3d56b15
Adding errors for receive and transmit read/write async ( #1445 )
...
* Adding errors for receive and transmit read/write async
* rebase and fix ups
---------
Co-authored-by: konsulten <nordmarkclaes@gmail.com>
2024-04-16 13:22:15 +00:00
Sergio Gasquez Arcos
1a5ca65eed
Enable S3 HIL ( #1338 )
...
* feat: Add HIL support for S3
* ci: Add dummy s3 job
* test: Filter interrupt test for Xtensa devices
* ci: Install Xtensa toolchain
2024-04-16 12:09:18 +00:00
Jesse Braham
586744070b
Remove some #[allow]
attributes and an unused function ( #1440 )
...
* Remove TODO comments from linker scripts for ESP32-C6/H2
* Small refactor in Xtensa interrupt module to get rid of some allow attributes
* Remove unused function and attribute from `esp-hal-procmacros`
2024-04-16 10:45:57 +00:00
Jesse Braham
66cab5dfb4
Update to latest (unpublished) PACs and fix all breaking changes ( #1439 )
2024-04-16 10:45:45 +00:00
Sergio Gasquez Arcos
6b742968b1
Add SPI Full Duplex DMA test ( #1443 )
...
* test: Initial SPI Full Duplex DMA tests
* feat: Add timeouts
* tests: Add symestric_transfer_huge_buffer and asymestric_transfer tests
* style: Fix tests names
2024-04-16 10:26:53 +00:00
Scott Mabin
46c8527123
spi housekeeping ( #1438 )
2024-04-16 06:43:29 +00:00
Sergio Gasquez Arcos
381ce9530c
Clock monitor HIL test ( #1425 )
...
* tests: Add clock_monitor HIL test
* feat: Adjust accepted freq ranges
* fix: Get the estimate a second time if its very off
* test: Update ranges and check
2024-04-15 09:54:55 +00:00
Sergio Gasquez Arcos
634191203f
AES DMA HIL Tests ( #1426 )
...
* test: Initial AES DMA HIL tests
* test: Cover all the AES modes
* feat: Reset aes at the end of the tests to avoid errors in `aes` test
* feat: Reset the interrupt state when finishing the transform
2024-04-15 09:24:07 +00:00
Sergio Gasquez Arcos
da3375bbe4
test: Cover all aes modes ( #1423 )
2024-04-11 15:46:15 +00:00
Sergio Gasquez Arcos
5d61074c85
HIL SHA tests ( #1422 )
...
* feat: Add missing cfg(test)
* feat: Initial SHA HIL test
* test: Test all the SHA modes
2024-04-11 15:42:15 +00:00
Sergio Gasquez Arcos
a22b817ee5
HIL updates ( #1412 )
...
* docs: Document new xtask features
* style: format deps
* feat: enable all the aliases
* feat: Update embedded-tests executors
* feat: Enable running only one test
* feat: Exit if a test fails
* docs: Fix typo in command
* build: Enable xtensa-semihosting in xtensa targets
* feat: Handle probe-rs esp32 chip name
* style: Clippy lints
* revert: Exit if a test fails
* chore: Remove aliases
* feat: Remove unnecesary toogle
* feat: Error if a test fails and print failed tests
2024-04-11 14:04:32 +00:00
Jesse Braham
dfc6d86a58
Warn users when attempting to build esp-hal
using the dev
profile ( #1420 )
...
* Warn users when attempting to build `esp-hal` using the `dev` profile
* Update `CHANGELOG.md`
2024-04-11 13:04:55 +00:00
Jesse Braham
f6925480f2
Remove unused function from esp-hal-procmacros
( #1421 )
2024-04-11 09:29:29 +00:00
Juraj Sadel
c73a2d91ae
Add HIL test for ECC ( #1418 )
...
* Add HIL test for ECC
* review changes: remove forgotten SysTimer in C2 test
2024-04-10 15:16:20 +00:00
Sergio Gasquez Arcos
86f4f50b3e
test: Add CRC and MD5 HIL tests ( #1417 )
2024-04-10 14:51:12 +00:00
Sergio Gasquez Arcos
02c2825b2c
HIL RSA tests ( #1414 )
...
* docs: Update documentation
* test: Add rsa hil test
2024-04-10 14:43:10 +00:00
Björn Quentin
1fdfc9270e
Remove the #[interrupt]
macro ( #1409 )
2024-04-09 10:11:57 +00:00
Björn Quentin
41aa556764
Avoid "missing_transmute_annotations" warnings ( #1410 )
2024-04-08 11:47:36 +00:00
Kirill Mikhailov
52e5b94bd5
PCNT: Runtime ISR binding ( #1396 )
...
* PCNT: Runtime ISR binding
* Changelog entry
* fmt + warnings
* Unify `interrupt_handler` + alignment with latest changes
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
2024-04-05 15:16:11 +00:00
Juraj Sadel
1e6165e04b
Runtime ISR binding and simple public API docs for RTC ( #1405 )
...
* Runtime ISR binding and simple public API docs for RTC
* changelog
* import dependencies instead of using full paths
2024-04-05 14:54:13 +00:00
Scott Mabin
315b8cc0ff
HIL xtask support ( #1404 )
...
* allow running tests via xtask
* Add run-tests xtask subcommand
* Use xtask in HIL ci
2024-04-05 14:39:20 +00:00
Jesse Braham
fd9f7895f6
Extract inner modules of gpio
module into their own files ( #1397 )
...
* Extract inner modules of `gpio` module into their own files
* Update `CHANGELOG.md`
* Add missing doc comment in `gpio::lp_io` module
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
2024-04-05 12:33:49 +00:00