Björn Quentin
1ffdbf7b0c
Fix ESP32-H2 memory size ( #1003 )
...
* Fix ESP32-H2 memory size
* CHANGELOG.md entry
2023-12-06 10:28:22 +00:00
dimpolo
c68838805f
actually use ADC calibration on xtensa chips ( #1000 )
2023-12-06 09:20:05 +00:00
Jesse Braham
b88a2ebd08
Various small CI updates ( #998 )
...
* Update to latest version of `checkout` action
* Re-order jobs to match order on filesystem
* Check all features of `esp-riscv-rt`
* Check both `esp32s2` and `esp32s3` feature for `esp-ulp-riscv-hal`
* Add a `ci` feature to `esp-riscv-rt` to making testing easier
2023-12-05 11:35:47 +00:00
Björn Quentin
22f14fd300
Fix ESP32-C6 memory ( #997 )
...
* Fix ESP32-C6 memory
* CHANGELOG.md
2023-12-05 10:06:21 +00:00
Jesse Braham
39dae9232f
Use published PACs for all HALs ( #996 )
2023-12-05 09:07:44 +00:00
Scott Mabin
810d849dcd
remove unused mod, use portable-atomic unconditionally ( #995 )
2023-12-04 15:40:39 +00:00
Scott Mabin
05f9d2109a
Completely remove atomic emulation ( #985 )
...
* Completely remove atomic emulation
* changelog
2023-12-04 14:22:15 +00:00
Jesse Braham
84e5a00361
Update heapless to 0.8.0, modify esp-hal-smartled job to build for correct targets ( #993 )
...
* Update `heapless` dependency to latest version
* Update CI job for `esp-hal-smartled` to build for correct targets
2023-12-04 10:46:30 +00:00
Björn Quentin
f1e1ec574f
Remove unnecessary pin required by USB peripheral ( #990 )
...
* Remove unnecessary pin required by USB peripheral
* CHANGELOG.md
2023-12-01 13:24:38 +00:00
Björn Quentin
17884743bd
Dma convenience macro ( #935 )
...
* Add macro to create DMA buffers and descriptors
* Remove WDT disabling from remaining examples
* CHANGELOG.md entry
* Remove redundant `unsafe`
* Easier way to make RX and TX same sized
2023-12-01 10:22:39 +00:00
Björn Quentin
a40ea79277
Fix RISC-V stack allocation ( #988 )
2023-12-01 09:17:00 +00:00
Jesse Braham
3d169bd80c
Remove unnecessary paste syntax ( #986 )
2023-12-01 07:14:31 +00:00
Tshepang Mbambo
3e80a72883
typo ( #987 )
2023-12-01 07:13:37 +00:00
Jesse Braham
c9e0ad2ac2
Update to latest PACs and resolve the (numerous) resulting errors ( #984 )
...
* Use latest `esp32c6-lp` package and fix breaking changes
* `esp32c2-hal` and `esp32c3-hal` mostly building (with no features...)
* C6 and H2 sort of close I guess, idk
* どうして。。。
* *Incoherent screaming*
* HAHA ESP32-HAL BUILDS!!!
* C2 and C3 are building!
* S2 builds!
* S3 builds!
* Fix ESP32 (again)
* ???
* Use git dependencies instead of local paths for PACs
* Fix some errors after a dodgy rebase
* Remove unnecessary constants for ESP32
* Fix RSA multiplication (math is hard)
2023-11-30 19:01:22 +00:00
Björn Quentin
6005f802ad
I2S: Less generics, nicer API ( #983 )
...
* I2S: Less generics, nicer API
* CHANGELOG.md
2023-11-30 07:55:03 +00:00
konsulten
c884378f94
Uart Async: Improve interrupt handling and irq<-->future communication ( #977 )
...
* Uart async: Separate futures types and wakers for rx and tx. Avoids possible deadlock when waker gets replaced
* ...
* Formatting issue resolved
* Remove hej (previous debugging) and removed return type from events, as we never read them
* heapless vec changed to enumset, ovf error docstring removed
2023-11-29 14:07:45 +00:00
Anthony Grondin
755fdd32b5
fix!: Use u32 words instead of u8 bytes for the RSA driver ( #981 )
...
BREAKING CHANGE: The RSA driver now takes u32 slices instead of u8
2023-11-29 08:49:53 +00:00
Björn Quentin
e7e0af2135
Improve SmartLED init ( #980 )
2023-11-28 13:30:42 +00:00
Dániel Buga
4a0af66884
Remove SpiBusDevice and SpiBusController ( #978 )
...
* Remove SpiBusDevice and SpiBusController
* Update examples
2023-11-28 08:55:55 +00:00
Jesse Braham
a54588d45b
Update esp32s2-ulp and esp32s3-ulp packages and address breaking changes
2023-11-27 03:06:53 -08:00
jneem
b8f8828eb2
Simplify rmt channels by turning Channel0<0> into Channel<0> ( #958 )
...
* Simplify rmt channels
* Changelog
* Fix esp32
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2023-11-27 10:39:08 +00:00
Jesse Braham
ece40abaed
Pin PACs to a commit for esp-ulp-riscv-hal
2023-11-24 05:07:45 -08:00
Scott Mabin
6005f92566
Align stack variable names ( #970 )
2023-11-22 15:16:16 +00:00
Dániel Buga
39519dfdc9
RISC-V executors ( #947 )
...
* RISC-V executors
* Add multiprio example to RISC-V SoCs
* Check new examples
* Hack in support for generic queue
* Reserve SoftwareInterrupt0 for multicore thread-mode executors
* Merge interrupt executors
* Merge thread-mode executors
* Document the new features and expand on time drivers
* Main tasks don't have to return !
* Unify multiprio examples
* Undo C6 log output change
2023-11-22 14:36:53 +00:00
Timo
71e6543430
Add rx timeout functionality to async uart ( #911 )
2023-11-22 13:16:26 +00:00
Jesse Braham
d98eb026c7
Update the msrv-*, clippy-*, and rustfmt CI jobs ( #967 )
...
* Update/improve `clippy-riscv`, `clippy-xtensa`, and `rustfmt` CI jobs
* Update/improve the `msrv-riscv` and `msrv-xtensa` CI jobs
2023-11-21 01:24:42 -08:00
Jesse Braham
8754217f6d
Gate the embedded-io trait impls behind a feature ( #964 )
...
* Gate the `embedded-io` trait impls behind a feature
* Update `CHANGELOG.md`
2023-11-20 14:28:35 +00:00
Jesse Braham
04f63b7c7b
Move remaining device-specific linker scripts into esp-hal-common ( #963 )
...
* Move remaining linker scripts to `esp-hal-common`, rename as needed
* Update build scripts
2023-11-20 12:25:23 +00:00
Scott Mabin
15f4dad33e
document atomic emulation as breaking ( #962 )
...
* document atomic emulation as breaking
* Add build script check for atomic emulation flags without the feature enabled in the hal
2023-11-20 12:12:35 +00:00
Dániel Buga
503eed34b2
Allow accessing xtal and slow clock frequencies ( #957 )
2023-11-20 08:14:16 +00:00
jneem
5503121bea
Async read implementation for usb serial jtag ( #889 )
...
* Async read implementation for usb serial jtag
* Check the example in ci
* Add the example's required features
* Add changelog entry
* Improve the example
* Add examples for other boards
* Fix changelog
* Add required features for examples
2023-11-17 18:26:45 +00:00
Juraj Sadel
4d87e75d71
H2: prepare modem clocks for BLE ( #953 )
...
* H2: prepare modem clocks for BLE
* changelog
2023-11-17 11:04:17 +00:00
Björn Quentin
8c5fda2d53
Fix zero/copy data in esp-riscv-rt ( #952 )
...
* Fix zero/copy data in esp-riscv-rt
* CHANGELOG.md
2023-11-17 10:49:40 +00:00
Dániel Buga
c61287ec4f
Don't suggest enabling systimer on esp32 ( #949 )
2023-11-17 06:46:10 +00:00
Dániel Buga
6814822cfd
Decouple default features from esp-hal-common ( #867 )
2023-11-16 14:09:47 +00:00
Jesse Braham
506c698f53
Add merge_group event to CI workflow
2023-11-16 04:45:11 -08:00
Dániel Buga
5a9763aaf7
Only implement __pender if a hal-executor is used ( #937 )
2023-11-15 00:30:03 -08:00
Jesse Braham
f729f89889
Remove the mcu-boot feature from esp32c3-hal ( #938 )
...
* Remove the `mcu-boot` feature from `esp32c3-hal`
* Update `CHANGELOG.md`
2023-11-14 11:49:40 -08:00
Björn Quentin
52da17075e
Remove unnecessary riscv::interrupt::enable() from examples ( #936 )
2023-11-14 09:28:39 -08:00
Dániel Buga
7084a380a6
Disallow multiple esp-hal-common versions ( #934 )
2023-11-14 02:31:34 -08:00
Edgar Sousa
957b232413
fix: wrong clear of RMT interrupts (esp-rs/esp-hal#925) ( #930 )
2023-11-13 14:13:21 +01:00
Björn Quentin
98a52ea808
Re-add API to get a GPIO's interrupt status bit ( #929 )
...
* Re-add API to get a GPIO's interrupt status bit
* CHANGELOG.md entry
2023-11-13 14:03:45 +01:00
Lachezar Lechev
89c6ecafbd
fix: interrupt riscv - _pc variable typo ( #928 )
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-11-13 09:09:42 +01:00
Dániel Buga
07ed22df17
Clean up ( #920 )
2023-11-10 06:04:05 -08:00
Dániel Buga
6b0a16fc6e
Remove implementation of provided method ( #921 )
2023-11-10 13:48:14 +01:00
Dániel Buga
bde317ee69
DMA cleanup ( #915 )
2023-11-10 13:20:35 +01:00
Dániel Buga
280caad378
RISC-V: Make atomic emulation opt-in ( #904 )
...
* RISC-V: Make atomic emulation opt-in
* Update embassy-executor, embassy-sync
* Don't automatically enable portable-atomic
* Update changelog
* Fix warnings
2023-11-10 11:51:47 +00:00
Björn Quentin
c612fecfae
Clear LP/RTC RAM ( #916 )
...
* Clear LP_RAM/RTC RAM to make sure .bss is cleared
* Rename `ulp-riscv-hal` to `esp-ulp-riscv-hal`
* CHANGELOG.md entry
2023-11-09 14:06:58 +01:00
Björn Quentin
0659928930
Support inverted pins ( #912 )
...
* Support inverted pins
* CHANGELOG.md entry
* Improve docs
* Provide `From`/`Into` for inverted pins
2023-11-09 08:45:13 +01:00
Paul Paterson
594bc65793
Derive Clone and Copy for EspTwaiFrame ( #909 )
...
* Derive Clone and Copy for EspTwaiFrame
* Update CHANGELOG.md
2023-11-09 03:36:15 +00:00