diff options
| author | Paul Bender <pebender@gmail.com> | 2025-09-13 15:17:36 -0700 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2025-09-17 18:57:09 +0000 |
| commit | e8c260a74577e1c1aadd1964e6f7e45afecd2e3e (patch) | |
| tree | ffeb5b476b145cfa0b703d9765dbab906daafccd /examples/esp32c6/README.md | |
| parent | 1365471f5a3cf393a7525c98c96d04b9fcdb0b44 (diff) | |
Update esp32c{3,6} support to esp-hal-1.0.0-rc.0.
Diffstat (limited to 'examples/esp32c6/README.md')
| -rw-r--r-- | examples/esp32c6/README.md | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/examples/esp32c6/README.md b/examples/esp32c6/README.md index 1d2bf17..14b9314 100644 --- a/examples/esp32c6/README.md +++ b/examples/esp32c6/README.md @@ -1,34 +1,39 @@ -### ESP32-C6 RTIC template +# ESP32-C6 RTIC template + This crate showcases a simple RTIC application for the ESP32-C6. ## Prerequisites -# Espressif toolchain +### Espressif toolchain This crate uses the most convenient option in ``cargo-espflash`` and ``espflash`` + ```cargo install cargo-espflash espflash``` ## Running the crate -```cargo run --example sw_and_hw --features=riscv-esp32c6-backend (--release)``` +```cargo run --example sw_and_hw (--release)``` should do the trick. -# Expected behavior +## Expected behavior + The example ``sw_and_hw`` -- Prints ``init`` -- Enters a high prio task -- During the execution of the high prio task, the button should be non-functional -- Pends a low prio task -- Exits the high prio task -- Enters the low prio task -- During the execution of the low prio task, the button should be functional. -- Exits the low prio task -- Prints ``idle`` + +- Prints ``init``, +- Enters a high prio task, +- During the execution of the high prio task, the button should be non-functional, +- Pends a low prio task, +- Exits the high prio task, +- Enters the low prio task, +- During the execution of the low prio task, the button should be functional, +- Exits the low prio task, and +- Prints ``idle``. The example ``monotonic`` -- Prints ``init`` -- Spawns the ``foo``, ``bar``, ``baz`` tasks (because of hardware interrupt latency dispatch, the order here may vary). -- Each task prints ``hello from $TASK`` on entry -- The tasks wait for 1, 2, 3 seconds respectively + +- Prints ``init``, +- Spawns the ``foo``, ``bar``, ``baz`` tasks (because of hardware interrupt latency dispatch, the order here may vary), +- Each task prints ``hello from $TASK`` on entry, +- The tasks wait for 1, 2, 3 seconds respectively, and - Once the wait period is over, each task exits printing ``bye from $TASK`` (now in the proper order). |
