709 Commits

Author SHA1 Message Date
Frederick Vollbrecht
ab4f3c8597
make cargo espflash work by adding a partition.csv (#375)
* make cargo espflash work by adding a partition.csv

* add p4 as an option
2024-02-05 09:16:17 +02:00
ivmarkov
8d2b9a574e Update changelog for the RMT driver changes 2024-01-31 13:43:57 +00:00
David Sheets
5657073293
RMT symbols and musical buzzer example bugfix for ESP32 (#354)
* rmt: wrap rmt_item32_t in a newtype

This makes it much easier to use `TxRmtDriver::start_iter` and
`TxRmtDriver::start_iter_blocking` (#113).

* examples/rmt_musical_buzzer: fix for ESP32

Possibly broken by #97, possibly never worked. The ESP-IDF repo
specifically excludes the ESP32 from the RMT musical buzzer demo
because its RMT unit lacks hardware looping. Before this change, the
demo would simply hang when trying to play the second note possibly
because the ESP32 RMT unit does not support asynchronous stopping.

As an added bonus, this example is now much easier to modify to
experiment with 1-bit chiptune synthesis by making every symbol
(cycle) accessible in the ISR iterator.

* rmt: remove Pulse::into_rmt_item in favor of Symbol::new

Also, factor Pulse pairs into function arguments for ease of use.
2024-01-31 15:39:29 +02:00
ivmarkov
e8370811f6 Minor changelog fix 2024-01-31 13:37:38 +00:00
Frederick Vollbrecht
307bd3b258
don't touch pullups on reset while init PinDriver (#344)
* don't touch pullups on reset while init PinDriver

ivan i am a sinner

clippy + fmt

clippy

more sinning in RTC

* fix missing unsafe

* cleanup

* extend the usage of reset_without_pull on drop + added changelog

* replace mem_froget with drop
2024-01-31 15:36:03 +02:00
ivmarkov
1bbda81705 New release v0.43.0 2024-01-26 13:30:01 +00:00
ivmarkov
5733efa31b Make TickType_t a public api of the delay module (to be used in esp-idf-svc too) 2024-01-26 09:55:16 +00:00
ivmarkov
64172599b9 Update changelog 2024-01-26 09:39:49 +00:00
ivmarkov
2b4b72069e Fix #365 2024-01-26 09:38:22 +00:00
ivmarkov
8756ef684d Fix #362 2024-01-26 09:37:22 +00:00
ivmarkov
f27b80513e Fix #362 2024-01-26 09:36:48 +00:00
ivmarkov
5ed5d8aa7b Fix #362 2024-01-26 09:28:15 +00:00
ivmarkov
16a10d077c Unify cargo config accrss the esp-idf crates 2024-01-25 17:56:01 +00:00
ivmarkov
c187ed38c1 Clarify the comment, as suggested 2024-01-24 22:47:13 +00:00
Iván Sánchez Ortega
e7f6ac8f1f
Use restore-state-none feature in optional dependency critical-section (#371)
This should provide a slightly user-friendlier error message in the case that a user enables a different `restore-state` in `critical-section`.

Right now it's possible to e.g. enable the `std` feature on `critical-section`; `cargo` will not complain but `rustc` will complain about the return types of the `CriticalSection::enter` implementation.
2024-01-25 00:45:22 +02:00
ivmarkov
64ca2a7c1d clippy 2024-01-24 21:16:29 +00:00
ivmarkov
88dafd8ffc Fix CI 2024-01-24 21:10:19 +00:00
ivmarkov
7fd909e1c5 Revert the input_delay_ns to us conversion in SPI; Fix the build 2024-01-24 21:01:56 +00:00
ivmarkov
d9f673a4be Also fix all wrong renames in the SPI driver 2024-01-24 20:49:53 +00:00
ivmarkov
905d013a4a Fix the confusion thsat us and ns are the same thing 2024-01-24 20:38:05 +00:00
ivmarkov
8e2a937259 Fix the confusion thsat us and ns are the same thing 2024-01-24 20:33:22 +00:00
ivmarkov
46de65ae4c Revert: Convert EspIOError back to EspError 2024-01-22 14:54:36 +00:00
ivmarkov
ffd6666ce0 Convert EspIOError back to EspError 2024-01-22 14:11:40 +00:00
Patiga
2c1c526f15
Update enumset to 1.1 (#366)
Version change: "1" -> "1.1"
`src/uart.rs` uses `EnumSet::EMPTY` for a `const fn`.
`EnumSet::EMPTY` is not available in 1.0.0, but first introduced in 1.1.
2024-01-20 21:23:25 +02:00
ivmarkov
d161ebd31f Get rid of the riscv-ulp-hal feature 2024-01-18 20:34:26 +00:00
ivmarkov
8dd77e6635 Get rid of the riscv-ulp-hal feature 2024-01-18 20:22:57 +00:00
ivmarkov
f986f713e8 Get rid of the riscv-ulp-hal feature 2024-01-18 20:16:08 +00:00
ivmarkov
5d90b9eef6 Do not use subdirs for the rom module 2024-01-18 20:14:54 +00:00
ivmarkov
e79df5a873 Get rid of the riscv-ulp-hal feature 2024-01-18 20:12:27 +00:00
ivmarkov
eefb213469 tskNO_AFFINITY still missing in 5.2+... 2024-01-18 17:19:40 +00:00
ivmarkov
6ed6765e54 tskNO_AFFINITY should be defined everywhere now 2024-01-18 15:06:24 +00:00
ivmarkov
97a4dac537 Fix CI 2024-01-14 08:11:05 +00:00
ivmarkov
58d71906db Restore the embassy-sync feature 2024-01-14 08:04:21 +00:00
ivmarkov
75097fcf51 No need for PhantomData 2024-01-14 08:02:38 +00:00
ivmarkov
959612bae1 Remove unnecessary feature 2024-01-14 06:50:32 +00:00
ivmarkov
3f2e76e722 Fix CI 2024-01-14 06:26:57 +00:00
ivmarkov
e9a0f10fa1 Build examples with ESP IDF master 2024-01-13 13:43:14 +00:00
ivmarkov
50fd4e2a97 Fiox CI for ESP IDF master 2024-01-13 06:17:09 +00:00
ivmarkov
2e7b0688a9 Allow unknown lints by default 2024-01-12 16:52:53 +00:00
ivmarkov
1093fb9658 Fix the ULP HAL for e-hal 1 2024-01-10 09:04:18 +00:00
ivmarkov
12519d611b Fix the ULP HAL for e-hal 1 2024-01-10 08:55:11 +00:00
ivmarkov
d29e3c53de Fix CI 2024-01-10 08:36:22 +00:00
ivmarkov
2896ee5684 ToggleableOutputPin no longer a thing in e-hal 1 2024-01-10 08:21:58 +00:00
ivmarkov
c549e70dd0 fmt 2024-01-10 08:16:11 +00:00
ivmarkov
f0dee4b4bd Update changelog 2024-01-10 08:06:34 +00:00
Erik Tollerud
33eb2d1057
support uart that defaults to PLL_F80M (#353) 2024-01-10 10:03:03 +02:00
ivmarkov
e6cafb7e15 Move to the new Rust edition 2024-01-10 07:50:39 +00:00
ivmarkov
27cd194097 Update to e-hal 1.0 2024-01-10 07:47:53 +00:00
ivmarkov
5532468962 Prep for a new release 2024-01-10 07:31:45 +00:00
Kevin John
c8f5bd88f0
fix: compile with esp_idf_adc_continuous_isr_iram_safe (#355)
NOTIFIER is not defined with esp_idf_adc_continuous_isr_iram_safe
2024-01-05 21:35:56 +02:00