diff options
| author | Damien George <damien@micropython.org> | 2021-09-16 22:16:36 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-09-16 22:58:47 +1000 |
| commit | 54d33b266ca337d8fb42852422cc6bf87c813e4e (patch) | |
| tree | 22ef9c7cb0b16b8e8ec5564698f47ce3815961f1 /ports/esp32/modmachine.c | |
| parent | b326edf68c5edb648fac4dc2a3403ee33510e179 (diff) | |
esp32: Add support for ESP32-S3 SoCs.
Thanks to Seon Rozenblum aka @UnexpectedMaker for the work.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32/modmachine.c')
| -rw-r--r-- | ports/esp32/modmachine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/esp32/modmachine.c b/ports/esp32/modmachine.c index 00271a37e..cca201572 100644 --- a/ports/esp32/modmachine.c +++ b/ports/esp32/modmachine.c @@ -91,6 +91,8 @@ STATIC mp_obj_t machine_freq(size_t n_args, const mp_obj_t *args) { esp_pm_config_esp32c3_t pm; #elif CONFIG_IDF_TARGET_ESP32S2 esp_pm_config_esp32s2_t pm; + #elif CONFIG_IDF_TARGET_ESP32S3 + esp_pm_config_esp32s3_t pm; #endif pm.max_freq_mhz = freq; pm.min_freq_mhz = freq; |
