mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
esp32: Add support for ESP32-S3 SoCs.
Thanks to Seon Rozenblum aka @UnexpectedMaker for the work. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -138,7 +138,11 @@ STATIC void machine_timer_isr(void *self_in) {
|
||||
device->hw_timer[self->index].update = 1;
|
||||
#else
|
||||
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)
|
||||
#if CONFIG_IDF_TARGET_ESP32S3
|
||||
device->hw_timer[self->index].update.tn_update = 1;
|
||||
#else
|
||||
device->hw_timer[self->index].update.tx_update = 1;
|
||||
#endif
|
||||
#else
|
||||
device->hw_timer[self->index].update.update = 1;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user