10000 Update ESP-IDF to fix PinAlarm · tannewt/circuitpython@96dd11a · GitHub
[go: up one dir, main page]

Skip to content

Commit 96dd11a

Browse files
committed
Update ESP-IDF to fix PinAlarm
Fixes micropython#5973
1 parent 3089c9b commit 96dd11a

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@
145145
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
146146
[submodule "ports/espressif/esp-idf"]
147147
path = ports/espressif/esp-idf
148-
url = https://github.com/adafruit/esp-idf.git
149-
branch = circuitpython-v4.4
148+
url = https://github.com/espressif/esp-idf.git
149+
branch = release/v4.4
150150
[submodule "ports/espressif/certificates/nina-fw"]
151151
path = ports/espressif/certificates/nina-fw
152152
url = https://github.com/adafruit/nina-fw.git

ports/espressif/common-hal/alarm/__init__.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,6 @@ void NORETURN common_hal_alarm_enter_deep_sleep(void) {
166166
alarm_pin_pinalarm_prepare_for_deep_sleep();
167167
alarm_touch_touchalarm_prepare_for_deep_sleep();
168168

169-
// Disable brownout detection, which appears to be triggered sometimes when
170-
// waking from deep sleep.
171-
// See https://www.esp32.com/viewtopic.php?f=13&t=19208#p71084
172-
// and https://github.com/adafruit/circuitpython/issues/4025#issuecomment-771027606
173-
// TODO: We can remove this workaround when ESP-IDF handles this.
174-
CLEAR_PERI_REG_MASK(RTC_CNTL_BROWN_OUT_REG, RTC_CNTL_BROWN_OUT_RST_ENA);
175-
176169
// The ESP-IDF caches the deep sleep settings and applies them before sleep.
177170
// We don't need to worry about resetting them in the interim.
178171
esp_deep_sleep_start();

ports/espressif/esp-idf

Submodule esp-idf updated 596 files

0 commit comments

Comments
 (0)
0