esp-hal/esp32s3-hal/examples
Scott Mabin 9064177e99
Initial embassy support (#225)
* wip: timg embassy driver

- read_raw on timg renamed to now()
- timg initialized and stored in static for use in the embassy driver
- timg sets alarm value
- untested whether alarms actually trigger

* TIMG timer driver for esp32, esp32s3

- Adds the timg timer block as a time driver for embassy
- Not enabled on the C3 as it only has one timer block, better to use
  systimer
- s2 example added but can't build due to atomic requirements in
  futures-core

* Add S2 atomic support with emulation, fixup embassy support for the S2

* Move executor & static-cell to dev deps. Make eha optional

* Add c2 support, run fmt

* Update to crates.io embassy releases

* Update eha

* update timg time driver to new trait

* Remove exception feature of esp-backtrace and use the user handler for backtracing

* Add async testing workflow

* Update systick example

* Fix S2 examples

* Update xtensa-toolchain

* set rustflags for s2 target

* Disable systick for esp32s2 until we can fix the noted issues

* review improvements

- Fix intr prio array being off by one
- emabssy time prio interrupt set to max prio
- use cfg instead of feature for systick detection

* Update example time delays
2022-11-09 08:04:38 -08:00
..
adc.rs Fix multicore example 2022-10-25 10:01:58 +02:00
advanced_serial.rs Update to newest embedded-hal alpha and add embedded-hal-nb 2022-09-29 16:07:49 +02:00
blinky.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
clock_monitor.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
embassy_hello_world.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
gpio_interrupt.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
hello_rgb.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
hello_world.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
i2c_bmp180_calibration_data.rs I2C Driver Refactoring (#233) 2022-11-09 06:34:55 -08:00
i2c_display.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
ledc.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
multicore.rs Fix multicore example 2022-10-25 10:01:58 +02:00
pulse_control.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
ram.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
read_efuse.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
rtc_watchdog.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
serial_interrupts.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
spi_eh1_device_loopback.rs Update to newest embedded-hal alpha and add embedded-hal-nb 2022-09-29 16:07:49 +02:00
spi_eh1_loopback.rs Update to newest embedded-hal alpha and add embedded-hal-nb 2022-09-29 16:07:49 +02:00
spi_loopback_dma.rs Add DMA support for ESP32-S3 2022-10-27 12:08:23 -07:00
spi_loopback.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
systimer.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
timer_interrupt.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00
usb_serial_jtag.rs critical_section implementations & esp_backtrace (#151) 2022-08-22 20:02:28 +01:00
usb_serial.rs Support USB-DEVICE on ESP32-S3 and ESP32-S2 2022-11-02 07:14:50 -07:00
watchdog.rs Use esp_println in favour of the Serial peripheral wherever possible 2022-09-28 13:09:06 -07:00