esp-hal/esp32s2-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 Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
advanced_serial.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
blinky.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
clock_monitor.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
dac.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
embassy_hello_world.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
gpio_interrupt.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
hello_rgb.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
hello_world.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
i2c_bmp180_calibration_data.rs I2C Driver Refactoring (#233) 2022-11-09 06:34:55 -08:00
i2c_display.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
ledc.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
pulse_control.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
ram.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
read_efuse.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
rtc_watchdog.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
serial_interrupts.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
spi_eh1_device_loopback.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
spi_eh1_loopback.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
spi_loopback_dma.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
spi_loopback.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
systimer.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
timer_interrupt.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00
usb_serial.rs Support USB-DEVICE on ESP32-S3 and ESP32-S2 2022-11-02 07:14:50 -07:00
watchdog.rs Initial embassy support (#225) 2022-11-09 08:04:38 -08:00