Juraj Sadel
f374d6a102
Enable SPI_DMA_XX_ASYNC and _PCNT tests on ESP32 and S2, remove GPIO usage from description ( #2140 )
2024-09-11 10:23:07 +00:00
Juraj Sadel
17daa464ba
Enable ESP32 HIL ( #1977 )
...
* Enable ESP32 HIL
* RMT fixed
* SPI DMA partially works, _pcnt tests not working
* bckup
* finish
* readme and cleanup
* rebase + cleanup
* RMT S2 pin typo + clean forgotten comments
* review comments
* update 10000
* indentation
* replace cfg gate with cfg_if
2024-09-06 08:53:27 +00:00
Dániel Buga
99bf346898
Remove the need to manually pass clocks around ( #1999 )
...
* Clean up passing clocks to drivers
* Update changelog
* Initialise Clocks in a critical section
* Fix calling now() before init
* Fix doc
* Fix esp-wifi migration guide
* Add safety comment
* Update tests
2024-09-04 14:13:51 +00:00
Kirill Mikhailov
9bec6a1806
Adding I2C HIL test ( #2023 )
...
* i2c hil test
* pin
* fmt
* Test
* WIP (gpio test left)
* Finalize the CODE part (to be cleaned up)
fmt
* Smaller cleanup
* cleanup
* rebase
* fix
* getting last chips ready
* Addressing reviews
2024-09-04 12:45:58 +00:00
Dániel Buga
447411fb58
Rework hal initialization ( #1970 )
...
* Rework hal initialization
* Turn sw interrupt control into a virtual peripheral
* Return a tuple instead of a named struct
* Fix docs
* Remove SystemClockControl
* Move software interrupts under interrupt
* Re-document what's left in system
* Update time docs
* Update sw int docs
* Introduce Config
* Fix tests
* Remove redundant inits
* Doc
* Clean up examples&tests
* Update tests
* Add changelog entry
* Start migration guide
* Restore some convenience-imports
* Remove Config from prelude
2024-09-02 13:38:46 +00:00
Dániel Buga
e1697310f6
Refactor SPI tests & re-enable S3 and some S2 ( #1990 )
...
* Deduplicate spi_full_duplex_dma_async
* Refactor SPI tests
* Separate out PCNT tests
* Re-enable test on S3
* Re-enable some S2 tests
2024-08-26 14:22:19 +00:00
Dániel Buga
ec130877b7
Disable RTT polling in HIL tests by default ( #1960 )
...
* Disable defmt-rtt by default
* Update i2s test based on changes done to async
* fmt
* Update readme
* Update more tests
2024-08-19 13:47:22 +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
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
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
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
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
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
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