Jesse Braham
ad74108e00
New package releases
v0.12.0
2023-09-05 07:47:49 -07:00
Jesse Braham
ea5a8226fb
Create separate CHANGELOG.md
files for esp-riscv-rt
and esp32c6-lp-hal
2023-09-05 06:57:05 -07:00
Jesse Braham
ce3933cf6d
Fix number of ADC attenuations for ESP32-C6 ( #771 )
...
* Fix number of ADC attenuations for ESP32-C6
* Update CHANGELOG
2023-09-05 06:31:45 -07:00
Dániel Buga
7866896b70
Add defmt support, make log
optional ( #773 )
...
* Executor related touchups
* Make log optional
* Add defmt feature and derive on Debug structs
* Test both log drivers
* Update esp-println
* Document defmt msrv
2023-09-04 11:29:44 +01:00
Dániel Buga
48e6171930
Some general cleanup ( #777 )
...
* Executor related touchups
* Fix typos
* Clean up DAC, remove hidden public API
* Clean up ADC
* Clean up analog peripheral reexports
* Properly hide rmt macros
2023-09-04 11:24:45 +01:00
Kirill Mikhailov
2f5ebad9fe
Update Clock module documentation ( #774 )
...
Added a record to Changelog
Fix typo
2023-09-01 09:51:22 -07:00
Jesse Braham
3bd752eaa0
Document new multicore embassy executor features
2023-08-31 08:37:00 -07:00
Jesse Braham
d12a3dbac5
Update all examples to remove unnecessary disabling of watchdogs ( #768 )
...
* Update `esp32-hal` examples
* Update `esp32c2-hal` examples
* Update `esp32c3-hal` examples
* Update `esp32c6-hal` examples
* Update `esp32h2-hal` examples
* Update `esp32s2-hal` examples
* Update `esp32s3-hal` examples
* Fix the `ram.rs` examples
2023-08-31 07:17:12 -07:00
Jesse Braham
c63f40f412
Actually enforce clippy lints in CI ( #767 )
...
* Actually enforce clippy lints in CI
* Fix a couple clippy lints in `esp-riscv-rt`
* Fix a couple clippy lints for `esp32c6-lp-hal`
2023-08-30 10:30:36 -07:00
Jesse Braham
4dd9fbdb7b
Disable all watchdog timers at startup by default ( #763 )
...
* Rework watchdog timer drivers to allow enabling/disabling and feeding without traits
* Disable all watchdogs prior to `main` using the `__post_init` hook
* Update all watchdog-related examples
* Update CHANGELOG
* Address review comment
2023-08-30 08:54:01 -07:00
Dániel Buga
32d1ea0d42
Add missing conversion ( #764 )
2023-08-30 09:16:57 +02:00
Dániel Buga
92a2cc7c31
Update to embassy-executor 0.3 ( #756 )
2023-08-29 10:39:17 -07:00
Björn Quentin
9a894879a7
PARL_IO RX for ESP32-C6 / H2 ( #760 )
...
* PARL_IO RX for ESP32-C6 / H2
* Add PARL_IO RX to README.md
* Remove logger-init from PARL_IO_RX examples
2023-08-29 18:48:37 +02:00
Jesse Braham
7d5e1de377
Clean up some warnings ( #762 )
...
* Fix a bunch of warnings from the `analog` module for the S2/S3
* Fix interrupt-related warnings for RISC-V chips
2023-08-29 09:17:45 -07:00
Jesse Braham
07957700ea
Update PACs and xtensa-lx-rt
package ( #761 )
...
* Update `xtensa-lx-rt` package and Xtensa linker scripts
* Update PACs and make required changes to get things building again
2023-08-29 07:58:16 -07:00
Dániel Buga
e082d47a87
Multicore-aware executors ( #723 )
...
* Implement multicore-aware executors
* Add examples
* Use pre-defined config to import SystemPeripheral
* Use static_cell::make_static
2023-08-28 10:05:42 -07:00
Jesse Braham
4867351e5f
Update embassy-time
to version 0.1.3
2023-08-28 08:29:49 -07:00
Jesse Braham
ecb3c31d21
Document package features and supported image formats ( #758 )
...
* Hide internal-only RMT macros from documentation
* Document the features of each chip-specific HAL package
* Document the supported image formats for relevant packages
2023-08-28 07:34:59 -07:00
Anthony Grondin
91b9b51426
feat(hmac): Add HMAC driver for hardware acceleration ( #755 )
...
* feat(hmac): Add HMAC driver for hardware acceleration
Driver code taken from: a9807ae67d
* fix build for target without hmac support.
2023-08-28 08:54:41 +02:00
Anthony Grondin
5a8be302b4
Move alignment helper to its own module in preparation of HMAC module ( #753 )
...
* Move alignment helper to its own module.
* fix wrong endian on ESP32
- Add CHANGELOG.md entry
- Change reg_access module visibility
2023-08-24 12:26:30 -07:00
Dániel Buga
6c2659f9e4
S3: GPIO wakeup source with RTC_IO pins ( #690 )
...
* Remove unnecessary Pin bounds
* S3: Add RTC_IO wakeup source
* Add s3 example
* Add changelog entry
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2023-08-23 10:54:51 -07:00
Björn Quentin
95a1255c3b
PARL_IO TX driver ( #733 )
...
* PARL_IO TX driver
* Update CHANGELOG.md
* Update esp-hal-common/src/dma/mod.rs
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
---------
Co-authored-by: Jesse Braham <jessebraham@users.noreply.github.com>
2023-08-23 10:32:13 -07:00
Jesse Braham
9acb915fb9
Implement the ufmt_write::uWrite
trait for the USB Serial JTAG driver ( #751 )
...
* Implement the `ufmt_write::uWrite` trait for the USB Serial JTAG driver
* Update CHANGELOG
2023-08-23 08:24:47 -07:00
Jesse Braham
83e138a5d3
Update the top-level README
2023-08-23 07:42:56 -07:00
Jesse Braham
3f345f78ba
Update each HAL package's README
2023-08-23 07:42:56 -07:00
Dániel Buga
bf4efcfd7f
Take FnOnce closure by value in start_app_core ( #739 )
2023-08-22 16:33:32 +02:00
Jesse Braham
7fce6e32f2
Update to 1.0.0-rc.1
version of embedded-hal-*
crates ( #747 )
...
* Update a bunch of dependencies
* Implement `embedded-io` and `embedded-io-async` traits for USB Serial JTAG
* Implement `embedded-io` and `embedded-io-async` traits for UART
* Fix `embassy_serial` examples
* Update CHANGELOG
* Address review comments
2023-08-22 14:53:41 +01:00
Dániel Buga
63a9e9e77a
Remove interrupt status clearing from PinFuture ( #676 )
2023-08-22 12:20:37 +01:00
Dániel Buga
db62ad5948
Timer driver improvements ( #737 )
...
* Slightly refactor systimer driver
* Remove redundant check
* Start timer on init
* Delete semicolon for consistent styling
* Add to changelog
* Remove unused code
* Remove unsafe code
2023-08-22 12:20:05 +01:00
Dániel Buga
0c47ceda3a
Fix embassy-time tick rates ( #746 )
2023-08-20 17:31:25 +01:00
Jesse Braham
422eb21186
Convert dependencies to dev-dependencies where able
2023-08-16 09:19:11 -07:00
Dániel Buga
eb8acaf4d4
Set alarm on correct timer ( #730 )
2023-08-16 12:54:54 +01:00
M4tsuri
9d5afbf1f5
Fixed wrong dram_seg
length in esp32s2-hal
linker script ( #732 ) ( #734 )
...
* Fix size of ram_seg in ld script
* Update CHANGELOG.md
2023-08-16 13:26:52 +02:00
Dániel Buga
d214c25b87
Clean up callback in alarms ( #729 )
2023-08-16 11:29:15 +01:00
Dániel Buga
37e24af753
Make examples debuggable ( #728 )
2023-08-16 09:04:14 +02:00
Dániel Buga
910b71bd9e
Fix typo ( #726 )
2023-08-16 09:01:45 +02:00
Jesse Braham
ae455ed8a7
Switch RISC-V MSRV to nightly
release channel ( #725 )
...
* Use `nightly` release for MSRV check
* Un-pin the `log` package version
2023-08-15 06:39:36 -07:00
Jesse Braham
ccc953842e
Add a simple CONTRIBUTING.md
guide
2023-08-14 09:35:13 -07:00
Björn Quentin
424b96532f
Fix RISCV stack-start ( #721 )
2023-08-14 17:05:29 +02:00
Jesse Braham
2dee0110be
[ESP32-C6-LP] Add input support for IO driver, implement more embedded-hal
output traits ( #720 )
...
* Add input support for IO driver, implement more `embedded-hal` output traits
* Update CHANGELOG
2023-08-14 07:45:17 -07:00
Dániel Buga
a2ae6f37d1
Implement RTCIO pu/pd and hold control
2023-08-14 07:27:31 -07:00
Björn Quentin
92bda00296
Remove heap related symbols, use all remaining memory for the stack ( #716 )
...
* Use all remaining memory for stack(s)
* Remove HEAP related code from RISCV linker scripts
* Fix direct-boot / mcu-boot linker scripts
* Use a statically allocated stack for core-1
2023-08-14 13:38:36 +02:00
Jan Sosulski
659cdffcba
Fix psram check in esp-hal-common build.rs ( #718 )
...
* Fix psram check in esp-hal-common build.rs
* Update changelog.
2023-08-13 13:42:51 +00:00
Björn Quentin
bbe1e5df59
ESP32-C6 LP CORE delay and basic gpio ( #715 )
...
* ESP32-C6 LP CORE delay and basic gpio
* CHANGELOG.md, build LP examples in release mode
2023-08-12 14:04:25 +00:00
Jesse Braham
64556da803
Create the esp32c6-lp-hal
package ( #714 )
...
* Create the `esp32c6-lp-hal` package
* Update CHANGELOG
2023-08-10 09:48:46 -07:00
Jesse Braham
846f3b0b50
New package releases ( #713 )
...
* Add/update `rust-version` to manifests where it is missing or out of date
* Use latest versions of published PACs
* New package releases
v0.11.0
2023-08-10 08:44:15 -07:00
Scott Mabin
47b987fb66
Add FlashSafeDma
wrapper for eh traits which ensure correct DMA transfers from flash ( #678 )
2023-08-09 13:07:20 -07:00
Björn Quentin
4ba618c875
Make sure to use wrap-mode for RMT TX (ESP32/S2) ( #710 )
...
* Make sure to use wrap-mode for RMT TX (ESP32/S2)
* Update CHANGELOG.md
2023-08-09 06:56:10 -07:00
Kirill Mikhailov
2bd10526a7
Documenting a number of peripherals and packages ( #680 )
...
* Initial documentation improvements
* More documentation improvements
* More documentation improvements
More modules documented
* Finished SOC documentation for esp32 + TWAI
* Fix: fix incorrect formatting
* Adding more documentation to rom, and soc peripherals for multiple chips
* Adding documentation for multiple peripherals
* Adding SOC module documentation
* Analog and clock modules are documented
* Adding module-level documentation for DMA and INTERRUPT peripherals
* Finishing job + minor fixes
* Fix unopened HTML break
* Rustfmt adjustment
formatting
Fix typo
* Add CHANGELOG record
Fix typo
* Fix typos, mistakes, improving docs
Co-authored-by: Dániel Buga <bugadani@gmail.com>
Fix typo
Co-authored-by: Dániel Buga <bugadani@gmail.com>
Fix typo
Co-authored-by: Dániel Buga <bugadani@gmail.com>
Fix typo
Co-authored-by: Dániel Buga <bugadani@gmail.com>
fix typo
Co-authored-by: Dániel Buga <bugadani@gmail.com>
Fix typo
Co-authored-by: Dániel Buga <bugadani@gmail.com>
Fix typo
Co-authored-by: Scott Mabin <scott@mabez.dev>
Fixing typos, mistakes, improving docs.
* Fix formatting, mistakes and typos
* Fixing a bunch of logical, grammatical and formatting mistakes
2023-08-09 06:33:50 -07:00
Dániel Buga
4baf0b96c6
Fix ESP32 radio clock code writing incorrect registers ( #709 )
...
* Fix ESP32 radio clocks
* Blanket-enable radio clocks
2023-08-08 08:22:07 +02:00