diff --git a/esp-hal-smartled/Cargo.toml b/esp-hal-smartled/Cargo.toml index ebf3718..f987876 100644 --- a/esp-hal-smartled/Cargo.toml +++ b/esp-hal-smartled/Cargo.toml @@ -26,9 +26,9 @@ esp-backtrace = { version = "0.17.0", features = [ "println", ] } esp-hal-embassy = "0.9.0" -esp-bootloader-esp-idf = "0.1.0" -embassy-executor = "0.7.0" -embassy-time = "0.4.0" +esp-bootloader-esp-idf = "0.2" +embassy-executor = "0.7" +embassy-time = "0.5" esp-println = "0.15.0" smart-leds = "0.4.0" @@ -37,14 +37,14 @@ smart-leds = "0.4.0" defmt = ["dep:defmt", "esp-hal/defmt"] #! ### Chip Support Feature Flags ## Target the ESP32. -esp32 = ["esp-backtrace/esp32", "esp-hal/esp32", "esp-println/esp32", "esp-hal-embassy/esp32"] +esp32 = ["esp-backtrace/esp32", "esp-hal/esp32", "esp-println/esp32", "esp-hal-embassy/esp32", "esp-bootloader-esp-idf/esp32"] ## Target the ESP32-C3. -esp32c3 = ["esp-backtrace/esp32c3", "esp-hal/esp32c3", "esp-println/esp32c3", "esp-hal-embassy/esp32c3"] +esp32c3 = ["esp-backtrace/esp32c3", "esp-hal/esp32c3", "esp-println/esp32c3", "esp-hal-embassy/esp32c3", "esp-bootloader-esp-idf/esp32c3"] ## Target the ESP32-C6. -esp32c6 = ["esp-backtrace/esp32c6", "esp-hal/esp32c6", "esp-println/esp32c6", "esp-hal-embassy/esp32c6"] +esp32c6 = ["esp-backtrace/esp32c6", "esp-hal/esp32c6", "esp-println/esp32c6", "esp-hal-embassy/esp32c6", "esp-bootloader-esp-idf/esp32c6"] ## Target the ESP32-H2. -esp32h2 = ["esp-backtrace/esp32h2", "esp-hal/esp32h2", "esp-println/esp32h2", "esp-hal-embassy/esp32h2"] +esp32h2 = ["esp-backtrace/esp32h2", "esp-hal/esp32h2", "esp-println/esp32h2", "esp-hal-embassy/esp32h2", "esp-bootloader-esp-idf/esp32h2"] ## Target the ESP32-S2. -esp32s2 = ["esp-backtrace/esp32s2", "esp-hal/esp32s2", "esp-println/esp32s2", "esp-hal-embassy/esp32s2"] +esp32s2 = ["esp-backtrace/esp32s2", "esp-hal/esp32s2", "esp-println/esp32s2", "esp-hal-embassy/esp32s2", "esp-bootloader-esp-idf/esp32s2"] ## Target the ESP32-S3. -esp32s3 = ["esp-backtrace/esp32s3", "esp-hal/esp32s3", "esp-println/esp32s3", "esp-hal-embassy/esp32s3"] +esp32s3 = ["esp-backtrace/esp32s3", "esp-hal/esp32s3", "esp-println/esp32s3", "esp-hal-embassy/esp32s3", "esp-bootloader-esp-idf/esp32s3"] diff --git a/justfile b/justfile index 4132701..2991f89 100644 --- a/justfile +++ b/justfile @@ -57,3 +57,6 @@ msrv-buzzer: cargo msrv find --target riscv32imac-unknown-none-elf -- cargo check -p esp-hal-buzzer --features "esp32c6,esp-hal/unstable" --target riscv32imac-unknown-none-elf msrv-smartled: cargo msrv find --target riscv32imac-unknown-none-elf -- cargo check -p esp-hal-smartled --features "esp32c6,esp-hal/unstable" --target riscv32imac-unknown-none-elf + +docs: + RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --features "esp32c6, esp-hal/unstable" --target riscv32imac-unknown-none-elf