Merge pull request #3451 from microDev1/patch-1

FIX : esp32s2 RTC support
This commit is contained in:
hierophect 2020-09-22 09:32:18 -04:00 committed by GitHub
commit 9f892cdda8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,7 @@
#include "common-hal/wifi/__init__.h"
#include "supervisor/memory.h"
#include "supervisor/shared/tick.h"
#include "shared-bindings/rtc/__init__.h"
#include "peripherals/rmt.h"
#include "esp-idf/components/heap/include/esp_heap_caps.h"
@ -106,6 +107,11 @@ void reset_port(void) {
spi_reset();
uart_reset();
#endif
#if CIRCUITPY_RTC
rtc_reset();
#endif
#if CIRCUITPY_WIFI
wifi_reset();
#endif