Dániel Buga
352879abce
Fix an infinite loop in interrupt executors ( #1936 )
...
* Add failing test
Fix the name of the test fn
* Fix interrupt executor looping
* Fix formatting
* Fix changelog reference
* Move changelog to the right crate
* Remove dead code
2024-08-13 12:51:26 +00:00
Dániel Buga
63a2d407ee
Fix some typos ( #1930 )
2024-08-12 12:20:58 +00:00
Sergio Gasquez Arcos
2e8937a90f
Update probe-rs version ( #1914 )
...
* docs: Update probe-rs version
* feat: Simplify probe-rs args
* ci: Update the checkout action to use the fork
2024-08-09 14:11:29 +00:00
Juraj Sadel
c5ea0e9149
esp-hal: Add HIL test for embassy timer and executor ( #1886 )
...
* esp_hal: Add embassy timers and executors HIL test
* Add timeout to each test
* cfg-gate out systimer tests for ESP32
2024-08-05 21:49:57 +00:00
Sergio Gasquez Arcos
40d5481edd
ci: Disable test_asymmetric_dma_transfer for S3 ( #1888 )
2024-07-31 15:47:44 +00:00
liebman
67bb6c54bb
Implement async for lcd_cam i8080 ( #1834 )
...
* implement async for lcd_cam i8080
* lcd_cam: implement InterruptConfigurable for blocking and improve async
* lcd_cam: use new async interrupt semantics from #1835
* lcd_cam: move interrupt handler binding into `new_async()`
* lcd_cam: Instance::is_listening_lcd_done not used
* i8080: no need for seperate `new_async()`
* i8080: don't use DmaTxFuture, just test for dma error after complete
* add HIL tests for LCD_CAM i8080 in blocking and async.
* lcd_cam_i8080: test channels configured for async as well since teh compiler can't prevent it for now
* fmt :-/
* lcd_cam fix comment
* changelog
* lcd_cam async: no need to enable interrupts until polled
* lcd_cam: i8080 update for ReadBuffer changes
2024-07-29 13:59:52 +00:00
Björn Quentin
c6207c0f59
Lift static requirement on DMA buffers ( #1837 )
...
* Lift `static` requirement on DMA buffers
* Seal `Word`, use `size_of_val`
* Fix
* CHANGELOG.md
* Use Clippy's safety comment style
* Top-level docs regarding mem::forget
2024-07-25 13:55:02 +00:00
Jesse Braham
3215d93f53
Use peripheral ref pattern for OneShotTimer and PeriodicTimer` ( #1855 )
...
* Use the peripheral ref pattern for `OneShotTimer` and `PeriodicTimer`
* Update tests and examples to reflect changes in timer API
* Update `CHANGELOG.md`
2024-07-25 12:52:34 +00:00
Björn Quentin
d5bff95a1b
Fix I2s async-tx ( #1833 )
...
* Fix I2s async-tx
* CHANGELOG.md
* Add async i2s test
* Cleanup
* Use `Spawner::for_current_executor()` instead of manually creating the executor
2024-07-23 18:09:58 +00:00
Björn Quentin
1424f2a43d
Implement InterruptConfigurable ( #1819 )
...
* Implement `InterruptConfigurable`
* Fix doc-tests
* Clippy
* Fix lp_core_uart example
* CHANGELOG.md
* Have DEFAULT_INTERRUPT_HANDLER
* Fix docs
* Clippy
* Add `set_interrupt_handler` for WDT
2024-07-18 13:37:46 +00:00
Scott Mabin
04cad71926
bump esp-backtrace to 0.13.0 ( #1804 )
...
* bump esp-backtrace to 0.13.0
* disable spi_half_duplex_write for esp32s2
2024-07-16 13:19:16 +00:00
Dominic Fischer
31a135c0f1
Add SPI Half Duplex Write HIL test ( #1801 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-07-16 10:19:16 +00:00
Jesse Braham
77b6cb8615
New package releases ( #1800 )
...
* Use published versions of all dependencies, update dependencies as needed
* Fix `embassy_usb_serial` example build errors after updating `embassy-usb`
* New package releases
2024-07-15 20:23:13 +00:00
liebman
1631f22083
support dma chunk sizes other than 4092 ( #1758 )
...
* support dma chunk sizes other than 4092
* fmt
* update CHANGELOG
* fix 0 size static assert
* review changes:
- `.div_ceil()`
- return errors for bad chunk size and buffer sizes in Mem2Mem constructors
- correct 0 chunk size check in descripter macros
* dma: clear the mem2mem bit when channel is configured instead of in Drop
2024-07-15 12:00:33 +00:00
Juraj Sadel
45c8107ecd
esp-hal: remove warnings in PCNT example and HIL test ( #1793 )
2024-07-15 10:49:39 +00:00
Dominic Fischer
0cae79b4cc
Improve PCNT API (with HIL tests) ( #1765 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-07-15 09:31:35 +00:00
Jesse Braham
dcc6c896de
Housekeeping: fix warnings, rename some examples, etc. ( #1786 )
...
* Build HIL tests for ESP32 in CI, fix resulting build errors
* Fix some warnings in the `hil-test` package
* Fix warnings in examples
* Remove "esp_" prefix from Wi-Fi example file names
* Resolve the last of the known warnings
2024-07-12 09:35:55 +00:00
Dominic Fischer
bb8660d3c5
Add SPI Half Duplex Read HIL test ( #1782 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-07-11 12:55:59 +00:00
Scott Mabin
6c3ccb6043
Add read_bytes method to uart ( #1784 )
...
* Add read_bytes method to uart
* Changelog
2024-07-11 12:55:42 +00:00
Jesse Braham
eb9bfd52b1
Fix clippy warning in esp-wifi, remove Cargo patch and update semihosting dependency ( #1778 )
...
* Update `semihosting` dependency and remove Cargo patch
* Fix clippy error in `esp-wifi`
2024-07-09 09:50:09 -07:00
Björn Quentin
a5be31fadc
Improve and use timer abstractions ( #1753 )
...
* Make esp-wifi timer agnostic
* Use timer-abstractions in embassy time driver
* Refactor
* Fix
* Fix
* Docs
* Adapt examples
* Adapt tests
* Refactoring
* Changelogs
* Fix example
* Adapt xtask
* Make CI pass
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-07-09 15:59:38 +00:00
Sergio Gasquez Arcos
8e0a2012dc
Update module documentation ( #1763 )
...
* docs: Update GPIO docs
* docs: Update other GPIO modules docs
* docs: Update AES mod documentation
* docs: Update Analog and ADC mod documentation
* docs: Update DAC mod documentation
* docs: Update lib docs
* docs: Update clock mod documentation
* docs: Update dma mod documentation
* docs: Update interrupt mod documentation
* docs: Update lcd_cam mod documentation
* docs: Update ledc mod documentation
* docs: Update mcpwm mod documentation
* docs: Update pcnt mod documentation
* docs: Update rom mod documentation
* docs: Update rsa mod documentation
* docs: Update rtc_cntl mod documentation
* docs: Update spi mod documentation
* docs: Update timer mod documentation
* docs: Update twai mod documentation
* docs: Format headers
* style: Fix fmt
* refactor: Change visibility instead of hidding docs
* style: Fix header
* Fix typo
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
* Fix typo
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
* Fix typo
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
* Fix typo
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
* Fix typo
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
* docs: Add tracking issue
* docs: Remove architecture and simplify sentence
* fix: Update visibilities remove hidden docs
* Fix type
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
* docs: Improve wording
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
---------
Co-authored-by: Juraj Sadel <jurajsadel@gmail.com>
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-07-09 15:40:31 +00:00
Scott Mabin
e75d43d3f0
Fix new clippy lints introduced in 1.78 & 1.79 ( #1776 )
...
* Fix new clippy lints introduced in 1.78 & 1.79
* Patch semihosting
2024-07-09 13:23:19 +00:00
Kirill Mikhailov
163f45076e
Enable i2s HIL test for esp32h2 ( #1755 )
...
Delete invalid comment
2024-07-04 15:28:37 +00:00
Sergio Gasquez Arcos
786682c0b2
HIL: Erase flash on failure ( #1748 )
...
* ci: Erase flash on failure
* docs: Add espflash install instructions and fix format
2024-07-04 07:50:40 +00:00
Dominic Fischer
c62bd8b332
Add PCNT HIL test ( #1746 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-07-04 06:23:14 +00:00
liebman
cc7077624c
dma: add Mem2Mem to support memory to memory transfer ( #1738 )
...
* dma: add Mem2Mem to support memory to memory transfer
* fmt
* update CHANGELOG
* removed some debugging
* use "gdma" as the selector for support
* fix empty else
* clippy
* Mem2Mem::new now accepts the peripheral to use
* mark Mem2Mem::new() unsafe
* fmt :-/
* add Mem2MemN values for gdma on non-esp32s3
tested on esp32c3,esp32c6 (will have an esp32h2 in a few days)
* support the esp32c2 (esp8684)
* DmaEligible trait providing dma peripheral value & safe constructor for Mem2Mem dma.
* added hil-test for Mem2Mem
* fmt dma_mem2mem test
* remove `debug!()`
* reset the mem2mem bit (mem_trans_en) in in_conf0 on drop
2024-07-03 17:56:37 +00:00
Kirill Mikhailov
cd0272ee81
Make links be in the same format
2024-07-03 12:53:17 +02:00
Kirill Mikhailov
f177b945b7
docs: Add missing link to HIL README
2024-07-03 12:53:17 +02:00
Sergio Gasquez Arcos
d0cd890e51
Update some modules documentation ( #1726 )
...
* docs: Add inverting documentation and examples
* docs: Update I2C mod docs
* docs: Update LEDC documentation
* docs: FIx format
* Fix a typo in docstring in `esp-hal/src/uart.rs`
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2024-06-27 16:50:30 +00:00
Dominic Fischer
7753551671
[2/3] DMA Move API: Move DMA descriptors to peripheral drivers ( #1719 )
...
Co-authored-by: Dominic Fischer <git@dominicfischer.me>
2024-06-26 14:31:41 +00:00
Sergio Gasquez Arcos
e46e80b8c1
Enable C2 HIL ( #1680 )
...
* ci: Enable c2 hil
* docs: Update pins and add C2
* feat: Update C2 probe-rs args
* test: Update pins and disable failing tests
* docs: Update S3 wires
* ci: Enable C2 hil tests
2024-06-26 14:17:40 +00:00
Björn Quentin
d34a872230
Additional move base dma api ( #1672 )
...
* Additional owning DMA transfers for SPI half-duplex
* CHANGELOG.md
* CHANGELOG.md
* Clippy
2024-06-19 13:17:22 +00:00
Björn Quentin
1630868d06
Improve DMA pop implementation ( #1664 )
...
* Improve DMA `pop` implementation
* CHANGELOG.md
* Minor Fixes
* Cover more edge-cases in DMA pop, make sure the test is testing these
* Fixes
* Working available/pop
* Remove misleading `last_in_dscr_address`
* Remove unnecessary check from `available`
* Remove now-unused function
* Remove duplicate change-log entry
2024-06-19 12:51:24 +00:00
Sergio Gasquez Arcos
e7f8f50e82
Update embedded-tests and wiring docs ( #1652 )
...
* build: Update embedded-test
* docs: Update probe-rs version
* docs: Revert probe-rs update
* docs: Update wiring
* docs: Update source command
2024-06-12 10:12:04 +00:00
Björn Quentin
1122df15e2
Check DMA descriptors and buffers addresses ( #1670 )
...
* Check DMA descriptors and buffers addresses
* Add PR id
* Add test for the memory region check
* Clippy
2024-06-11 14:42:46 +00:00
Sergio Gasquez Arcos
a33159a021
Rework Uart constructors, add UartTx and UartRx constuctors. ( #1592 )
...
* feat: Add with_pins methods for UART
* feat: Remove configure_pin methods
* docs: Update changelog
* fix: Update tests and examples
* style: Fix format
* Add UartTx/Rx constructors
* feat: Add new_with_default_pins methods
* docs: Update changelog
* feat: Remove optional cts/rts arguments
* feat: Add UartTx/Rx::new_async methods
* fix: Attach interrupt handler to new_ascyn UartRx/Tx
* style: Avoid long module paths
* feat: Make flush_tx public
* test: Use Uart async instead of UartTx/Rx async
* test: Add tests for UartTx/UartRx
* feat: Add configuration method to constuctors
* feat: Move set_rx_fifo_full_threshold and set_rx_timeout to UartRx
* docs: Fix changelog
* test: Fix executor
* feat: Configure UartRx threshold and timeout
* docs: Update changelog
* test: Update uart instance
* feat: Add default_uart0_pins macro to simplify examples
* feat: Address feedback pt1
* feat: Address feedback pt2 - Make constructors fallible
* fix: Doctest
2024-06-11 13:07:17 +00:00
Björn Quentin
b8af24071e
Add Flex/AnyFlex pin drivers ( #1659 )
...
* Add Flex/AnyFlex pin drivers
* CHANGELOG.md
2024-06-10 15:23:55 +00:00
Björn Quentin
fd4676d434
Add RMT hil-test ( #1665 )
...
* Add RMT hil-test
* Fix compilation error on ESP32/ESP32-S2
2024-06-07 10:31:42 +00:00
Jesse Braham
48e3e912f3
Extract embassy support into esp-hal-embassy package ( #1595 )
...
* Extract embassy support into `esp-hal-embassy` package
* Update relevant packages/examples/tests to get CI green again
* Add back `defmt` support
* Re-export `Executor` and `InterruptExecutor` rather than making `executor` module public
* Document the `esp-hal-embassy` package
* Update `CHANGELOG.md`
* Hack together a "fix" for the `SYSTIMER` time driver
* Make `clippy` shut up
2024-06-03 11:27:20 +00:00
Jesse Braham
40c327eeae
Housekeeping ( #1647 )
...
* Remove version from path dependencies in `examples` and `hil-test` packages
* Remove unused constant from `esp-println`
* Consistent badges across `README.md` files
2024-05-31 13:58:54 +00:00
Björn Quentin
79d617da38
Add I2S HIL test ( #1635 )
...
* Add I2S HIL test
* Disable I2S HIL test for H2
* Disable interrupt latency test for now
* Avoid triggering rustfmt check
2024-05-29 13:56:54 +00:00
Scott Mabin
db39d0197a
Examples and test cleanup ( #1590 )
...
* initial cull of examples
* Remove direct vector example, replace with interrupt latency test
* Remove clock monitor in favour of just a test
2024-05-28 18:58:48 +00:00
Björn Quentin
60e4b882ef
Add esp-storage to esp-hal repo ( #1627 )
...
* Add esp-storage to esp-hal repo
* Include needed feature to lint esp-storage
* Don't lint esp-wifi for now
* Remove redundant copies of license texts
* Try `git-fetch-with-cli`
* Fix esp-pacs URL
* git-fetch-with-cli, again
* desperately trying
2024-05-27 15:28:05 +00:00
Jesse Braham
b98dbe10d2
Top-level README.md updates, change to path dependency for esp-backtrace in hil-test package ( #1588 ) ( #1591 )
...
* Use path dependency instead of git for `esp-backtrace` in the `hil-test` package
* Top-level `README.md` updates
2024-05-24 09:33:18 +00:00
Juraj Sadel
60d39e9f33
GPIO: Use Level enum instead of plain bool in constructors ( #1574 )
...
* GPIO: Use Level enum instead of plain bool in constructors
* changelog
2024-05-22 12:37:03 +00:00
Scott Mabin
9acf72df33
Mention how handlers are run when drivers are moved across cores ( #1568 )
2024-05-21 08:22:35 +00:00
Sergio Gasquez Arcos
3c05759556
Enable gpio::test_gpio_interrupt for Xtensa targets. ( #1555 )
...
* docs: Update probe-rs
* tests: enable test_gpio_interrupt for Xtensa targets
2024-05-15 09:13:43 +00:00
Björn Quentin
2faa2654cb
GPIO Refactoring ( #1542 )
...
* GPIO Refactoring
* CHANGELOG.md
* Addressed review comments
* Use `Level` instead of plain bool in public API
* Let drivers enable analog functions
2024-05-15 08:49:33 +00:00
Kirill Mikhailov
209a82bdc7
Fix delay on esp32h2. ( #1535 )
...
* Fix delay on `esp32h2`
* Add changelog entry
* Enable `esp32h2` chip in `get_time` HIL test
2024-05-03 17:09:17 +00:00
Scott Mabin
f32565b4af
Embassy enable thread and interrupt by default, enable embassy when building docs ( #1485 )
...
* Remove interrupt and thread executor embassy features
* Reserve sw interrupt 3 (4) instead of 0 for multicore systems with the embassy feature enabled
* Remove uneeded #[feature()] from examples
* Fix HIL tests
* Add thread mode context id and fix up examples
* improve embassy module docs
* changelog
* fixup hil tests
* Fixup usb examples
2024-05-02 15:58:04 +00:00
Sergio Gasquez Arcos
edd03717d2
Enable C3, H2, S2 and S3 HIL ( #1513 )
...
* ci: Enable C3, H2, S2 and S3 HIL tests
* feat: Disable H2
* test: Disable S2
* ci: Update test folder
* docs: Update setup
* revert: Revert S2 changes
* ci: Update hil tests targets
* test: Adapt uart test for S2
* ci: Enable H2 HIL
* feat: Filter unsupported targets for the tests failing
* test: Filter failing targets
* ci: Remove the test folder
* test: Filter S2
* feat: Add supported targets
* feat: Remove TODOs and format code
* docs: Remove outdated comment
* feat: Add run-elfs xtask subcommand
2024-05-02 15:35:23 +00:00
Jesse Braham
68a4fb29ed
[1/3] Timer abstraction: refactor systimer and timer modules into a common timer module ( #1527 )
...
* Refactor `systimer` and `timer` modules into a common `timer` module
* Update `CHANGELOG.md`
* Rebase and update new example
2024-05-02 13:27:33 +00:00
Juraj Sadel
db8a5912b7
Add Delay HIL test ( #1415 )
...
* Add HIL test
* fmt
2024-04-29 09:36:45 +00:00
Jesse Braham
03548807fc
Add additional HIL tests for UART ( #1511 )
2024-04-26 10:02:45 +00:00
Björn Quentin
373735f96a
Add current_time ( #1503 )
...
* Add `current_time`
* CHANGELOG.md
* Add HIL test for `current_time`
* Fix after rebase
2024-04-23 14:59:28 +00:00
Jesse Braham
086b6059b9
Remove the SystemExt trait and rename SystemParts to SystemControl ( #1495 )
...
* Convert `SoftwareInterrupt` to a unit struct
* Remove the `SystemExt` trait and rename `SystemParts` to `SystemControl`
* Update all examples an HIL tests to reflect previous API changes
* Clean up imports in `hil-test` package, address `clippy` lint warnings
* Update `CHANGELOG.md`
2024-04-23 13:25:03 +00:00
Scott Mabin
56a7553b2d
Camel case structs ( #1473 )
...
* Remove uneeded usb generics
* Ensure all structs are consistently CamelCased
* changelog
2024-04-22 17:27:53 +00:00
Sergio Gasquez Arcos
20c77891d8
ci: Adapt HIL tests to use RPi ( #1493 )
2024-04-22 14:28:01 +00:00
Scott Mabin
39a75bae90
Improve the top level crate documentation ( #1467 )
2024-04-18 15:50:20 +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
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
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
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
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
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
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
bf2cca90be
Provide native APIs for I2C/SPI functionality currently handled by embedded-hal@0.2.x traits ( #1386 )
...
* Provide native APIs for SPI functionality currently handled by `embedded-hal` traits
* Provide APIs for I2C functionality currently handled by `embedded-hal` traits
* Rebase and update HIL test for SPI to get it building again
2024-04-04 14:09:35 +00:00
Zgarbul Andrey
13c81177c5
inherent gpio methods ( #1284 )
2024-04-03 16:47:47 +00:00
Björn Quentin
256d7198f9
Timers runtime isr binding ( #1348 )
...
* Runtime ISR binding for TIMG/SYSTIMER
* CHANGELOG.md
* Implement `set_interrupt_handler` only for blocking
* Adapt HIL test
2024-04-03 08:14:27 +00:00
Scott Mabin
21d833d2a3
Refactor testing, add defmt, add async gpio test ( #1363 )
...
* Refactor testing, add defmt, add async gpio test
* Add test to ensure the some edge case pins can be used in async mode
* Add test for pin0
* clippy
* update test to use constants extracted from esp-idf's soc module
* address review comments
* simplify test to just initialize one pin as async
* changelog
2024-04-02 15:28:15 +00:00
Sergio Gasquez Arcos
c8bd107218
docs: Update probe-rs version ( #1374 )
2024-04-02 11:58:31 +01:00
Björn Quentin
d5abc3fc85
Test open-drain-output, test GPIO interrupts ( #1349 )
...
* Test open-drain-output, test GPIO interrupts
* Make GPIO interrupt test less flaky
* Don't ignore hil-tests in CI
2024-03-27 15:21:52 +00:00
Jesse Braham
9b64e648e5
Add async UART HIL test ( #1345 )
...
* wip
* Clean up Cargo config/manifest, update dependencies
* Remove TODO comment from test
---------
Co-authored-by: Scott Mabin <scott@mabez.dev>
2024-03-26 10:10:17 +00:00
Scott Mabin
d5e4995777
uart: allow driver to init as blocking or async ( #1294 )
...
* uart: allow driver to init as blocking or async
* adds a mode type param to Uart types
* remove #[interrupt] usage
* add constructor for blocking and async modes
* blocking constructor takes optional interrupt
* async chooses the correct handler to bind at runtime
* moves interrupt enable for uart into the driver
* changelog
2024-03-21 21:51:09 +00:00
Scott Mabin
25f509ce74
discard interrupt symbols from lto so that lto doesn't end up rebinding them ( #1327 )
2024-03-21 15:38:07 +00:00
Sergio Gasquez Arcos
baea915935
Add HIL testing ( #1297 )
...
* Create the `hil-test` package
* Add a simple integration test to verify basic GPIO functionality
* WIP
* feat: Update with esp-hal unification
* build: Update dependencies
* feat: Add a simple CI workflow test
* ci: Avoid using a gh-hosted-runner to build
* ci: Remove building bins in gh-hosted-runner
* ci: Remove HIL Gpio CI test
* ci: Test all the available tests
* test: Add spi_full_duplex test
* docs: Add documentation
* test: Add uart test
* style: Remove unused imports
* docs: Update wiring, document H2 VM
* ci: Enable H2 tests
* ci: Add rust-cache action
* docs: Document H2 vm
* test: Add timeout
* ci: Enable ESP32-C3 tests
* feat: Add timeouts
* feat: Add aes test
* ci: Avoid running CI workflow when we change hil-test stuff
* test: Remove warnings
* feat: Address feedback
* feat: Update features names and spi methods
* ci: Remove rust-cache action
* Update HIL to probe-rs#2292 (#1307 )
* feat: Update probe-rs/embedded-test to probe-rs#2292
* feat: Remove lib
* ci: Use a matrix
* ci: Enable ESP32C3
* feat: Add a way to cfg away test for unsuported peripherals
* ci: Update trigger conditions
* feat: Update pins to make it work on s3
* feat: Changes enabling S3
* feat: Remove log feature
* feat: Adapt for rebase
* feat: Remove env
* feat: enable S3
* chore: Remove todo
* build: Pin dependencies
* feat: Add target alias
* docs: Update readme
* fix: Fix traits imports after rebase. Use debug
* build: Remove lto
* feat: Build tests on release mode
---------
Co-authored-by: Jesse Braham <jesse@beta7.io>
2024-03-21 14:28:27 +00:00