diff --git a/.github/configs/sdkconfig.defaults b/.github/configs/sdkconfig.defaults index 459b53dac..e77b618c1 100644 --- a/.github/configs/sdkconfig.defaults +++ b/.github/configs/sdkconfig.defaults @@ -2,6 +2,6 @@ #CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=n #CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=n -# Some examples (ledc-simple) require a larger than the default stack size for +# Some examples (ledc_simple) require a larger than the default stack size for # the main thread. CONFIG_ESP_MAIN_TASK_STACK_SIZE=7000 diff --git a/README.md b/README.md index 3df92b023..7299ced0e 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ _\* When using Octal Flash and/or Octal PSRAM_ ## Examples -The examples could be built and flashed conveniently with [`cargo-espflash`](https://github.com/esp-rs/espflash/). To run `ledc-simple` on an ESP32-C3: +The examples could be built and flashed conveniently with [`cargo-espflash`](https://github.com/esp-rs/espflash/). To run `ledc_simple` on an ESP32-C3: ``` -$ cargo espflash --release --target riscv32imc-esp-espidf --example ledc-simple --monitor /dev/ttyUSB0 +$ cargo espflash --release --target riscv32imc-esp-espidf --example ledc_simple --monitor /dev/ttyUSB0 ``` In order to run the examples on other chips you will most likely need to adapt at least the used pins. diff --git a/examples/ledc-simple.rs b/examples/ledc_simple.rs similarity index 100% rename from examples/ledc-simple.rs rename to examples/ledc_simple.rs diff --git a/examples/ledc-threads.rs b/examples/ledc_threads.rs similarity index 100% rename from examples/ledc-threads.rs rename to examples/ledc_threads.rs diff --git a/examples/rmt_neopixel.rs b/examples/rmt_neopixel.rs index 7f985a63d..624fe429b 100644 --- a/examples/rmt_neopixel.rs +++ b/examples/rmt_neopixel.rs @@ -21,7 +21,7 @@ fn main() -> Result<()> { let peripherals = Peripherals::take().unwrap(); // Onboard RGB LED pin - // ESP32-C3-DevKitC-02 gpio8, esp-rs gpio2 + // ESP32-C3-DevKitC-02 gpio8, ESP32-C3-DevKit-RUST-1 gpio2 let led = peripherals.pins.gpio2; let channel = peripherals.rmt.channel0; let config = TransmitConfig::new().clock_divider(1);