904 Commits

Author SHA1 Message Date
ivmarkov
3895fdfbe7 Fix CI 2025-07-19 06:44:48 +00:00
ivmarkov
97a6be5db7 Fix CI 2025-07-19 06:13:41 +00:00
ivmarkov
c5d1501b1b Fix CI 2025-07-19 05:56:14 +00:00
Magnus Nordlander
eb29eb087f
Support for sending UART break conditions (#535)
* Add functions to send over UART with a break

* Fix format

* Update CHANGELOG

* Fixed missing argument
2025-07-12 13:44:57 +03:00
Frederick Vollbrecht
a371755b8c
fix wrong Alert enum indexing (#533)
* fix wrong Alert enum indexing

closes #532

* remove TryFromPrimitive from Alert enum

Its wrong to derive TryFromPrimitive in this case, since the numbers in
this cases represent bitpositions

An example:

    ```rust #[derive(Debug, EnumSetType, TryFromPrimitive)]
    #[enumset(repr = "u32")] #[repr(u32)] enum MyType { One = 1, Two =
    2, Three = 3, } ``` would produce a wrong derive like ```rust impl
    ::num_enum::TryFromPrimitive for MyType { type Primitive = u32; type
    Error = ::num_enum::TryFromPrimitiveError<Self>; const NAME:
    &'static str = "MyType"; fn try_from_primitive( number:
    Self::Primitive, ) -> ::core::result::Result<Self,
    ::num_enum::TryFromPrimitiveError<Self>> {
    #![allow(non_upper_case_globals)] const One__num_enum_0__: u32 = 1;
    const Two__num_enum_0__: u32 = 2; const Three__num_enum_0__: u32 =
    3; #[deny(unreachable_patterns)] match number { One__num_enum_0__ =>
    ::core::result::Result::Ok(Self::One), Two__num_enum_0__ =>
    ::core::result::Result::Ok(Self::Two), Three__num_enum_0__ =>
    ::core::result::Result::Ok(Self::Three),
    #[allow(unreachable_patterns)] _ => { ::core::result::Result::Err(
    ::num_enum::TryFromPrimitiveError::<Self>::new(number), ) } } } }
    impl ::core::convert::TryFrom<u32> for MyType { type Error =
    ::num_enum::TryFromPrimitiveError<Self>; #[inline] fn try_from(
    number: u32, ) -> ::core::result::Result<Self,
    ::num_enum::TryFromPrimitiveError<Self>> {
    ::num_enum::TryFromPrimitive::try_from_primitive(number) } } ```

* remove not needed num_enum dependency

* changelog
2025-07-10 18:19:36 +03:00
Sergio Gasquez Arcos
7117923788
ci: Update xtensa-toolchain version (#530) 2025-07-02 13:43:44 +02:00
ivmarkov
f49233ad22 Clippy 2025-06-07 07:44:36 +00:00
ivmarkov
c0bea15f6e Make it more explicit that the esp-idf-* crates are a community effort only 2025-05-05 16:11:09 +00:00
ivmarkov
2ee6e877e8 Make it more explicit that the esp-idf-* crates are a community effort only 2025-05-05 16:09:47 +00:00
ivmarkov
339b2425db Clippy 2025-04-27 18:29:22 +00:00
ivmarkov
8a3a9ccbe4 Clippy 2025-04-27 17:48:05 +00:00
Andrew Kovaliov
26a598e21b
ledc: add fade stop (#525)
* ledc: add fade stop

* ledc: fix fade stop

* ledc: fix fade stop

* ledc: fix fade stop example
2025-04-05 09:36:20 +02:00
Joseph Johnson
7b3619d712
Pcnt example (#524)
* change gpio pins for pcnt_rotary_encoder example

* add pcnt_rotary_encoder fix to changelog
2025-03-31 10:53:52 +02:00
ivmarkov
ad305a909c Clippy 2025-03-24 09:28:01 +00:00
ivmarkov
d08f558588 Clippy for all examples 2025-03-24 08:30:55 +00:00
ivmarkov
17790a01db Fix ADC build issues on earlier released ESP-IDF 5.X; fix unexpected cfgs warnings in examples 2025-03-24 08:11:27 +00:00
ivmarkov
4ff345246d Fix CI 2025-03-15 08:48:06 +00:00
lonesometraveler
80c674e0a8
Replace Arc with Rc in ledc_threads example (#514)
* Update ledc_threads.rs

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: ivmarkov <ivan.markov@gmail.com>
2025-03-13 20:35:31 +02:00
Jagoda Estera Ślązak
6c3cc56df6
feat: add DB_12 adc attenuation and deprecate DB_11 for ESP-IDF V5.0+ (#520)
* feat: add `DB_12` adc attenuation and deprecate `DB_11` for ESP-IDF V5.0+

* fix: allow usages of deprecated `DB_11` in adc.rs

* fix: in adc example, use DB_11 for ESP-IDF v4 and DB_12 for ESP-IDF v5

---------

Co-authored-by: ivmarkov <ivan.markov@gmail.com>
2025-03-13 20:27:58 +02:00
Justin Buchanan
318bb4e4fe
ledc: add support for fading leds (#519) 2025-03-13 20:26:23 +02:00
Jagoda Estera Ślązak
a38789173d
fix: update docs for task::notification::Notifier (#517) 2025-02-23 08:29:14 +02:00
Leonardo Danelutti
575d5c2e99
Send AsyncCanDriver (#516)
* AsyncCanDriver is Send

* Update CHANGELOG.md
2025-02-12 20:28:42 +02:00
ivmarkov
5c547a40dc Fix the CI on master 2025-01-30 20:02:12 +00:00
ivmarkov
338b099758 Fix the CI on master 2025-01-30 19:21:59 +00:00
ivmarkov
cb9829aa62 Fix the CI on master 2025-01-30 18:50:51 +00:00
ivmarkov
357dd2acd1 Fix the CI on master 2025-01-30 17:08:16 +00:00
ivmarkov
37d623bd12 Clippy 2025-01-30 09:06:38 +00:00
ivmarkov
518a6419a5 Update changelog 2025-01-15 19:07:05 +00:00
ivmarkov
fe7e18add9 Clippy v0.45.2 2025-01-15 18:20:43 +00:00
ivmarkov
098b77b076 Clippy 2025-01-15 18:06:58 +00:00
ivmarkov
9de95e1886 New release 2025-01-15 17:40:18 +00:00
Mark Honkoop
726aede30c
Fix ledc example (#511)
* Fix doc

* Update changelog
2025-01-15 10:40:50 +02:00
Srijan Verma
c11f078b9b
Fix #509 missing sdspi_host_get_dma_info (#510)
* Fixed sd card not initiating

* Fixed sd card not initiating
2025-01-13 11:45:39 +02:00
ivmarkov
bd32b2b6d0 Put an unreleased tag in changelog 2025-01-10 12:16:22 +00:00
ivmarkov
992c765ca4 New release v0.45.1 2025-01-10 11:40:22 +00:00
Fang-Pen Lin
3972bf35bc
Fix #507 - add missing sdmmc_host_get_dma_info for sdcard driver (#508)
* Add missing sdmmc_host_get_dma_info for sdcard driver

* Add change logs
2025-01-08 09:33:54 +02:00
lonesometraveler
8a11ef463e
Fix RGB to u32 conversion order in rmt_neopixel example (#505)
* Update rmt_neopixel.rs

* Update rmt_neopixel.rs

* Update CHANGELOG.md
2025-01-06 16:36:44 +02:00
ivmarkov
90384c66ac ncurses should hopefully no longer be necessary 2025-01-05 07:02:12 +00:00
ivmarkov
7591c77f8c New release v0.45.0 2025-01-02 13:10:30 +00:00
ivmarkov
17b1f261dc New release 2025-01-02 13:08:30 +00:00
ivmarkov
77f9c75ea7 Don't build the imac target against ESP IDF 4.4 as this is not supported 2025-01-02 08:32:49 +00:00
ivmarkov
99033bb106 Fix a typo in the match stmt 2025-01-01 20:27:35 +00:00
ivmarkov
9f65b7a6d9 Nit: move the check at the top of the file 2025-01-01 19:35:10 +00:00
ivmarkov
d6f11649ae Fix CI; remove warnings from the example 2025-01-01 19:01:57 +00:00
ivmarkov
32e85463d7 Change the default baud rate of the UART driver 2025-01-01 17:25:48 +00:00
ivmarkov
2a3d59e9cd Do not build the examples for the imac target and V4.4 as that is not supported anyway 2025-01-01 17:05:18 +00:00
ivmarkov
5c3a5f4433 Try V4.4.8 2025-01-01 17:03:05 +00:00
ivmarkov
e5e2f16df3 Enable V5.3 in CI 2025-01-01 16:44:15 +00:00
ivmarkov
519107b8e3 Enable examples CI for the imac targets; remove default-linker-libs 2025-01-01 16:25:04 +00:00
ivmarkov
99d664c349 ESP-IDF V5.4 support 2025-01-01 16:13:25 +00:00