Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8fe0efe

Browse filesBrowse files
authored
Fix boot freeze when trying to init PSRAM on Pico D4 (espressif#6434)
* Fix boot freeze when trying to init PSRAM on Pico D4 * Don't deconfigure GPIO16/17 in Pico D4
1 parent 0b10c8b commit 8fe0efe
Copy full SHA for 8fe0efe

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎cores/esp32/esp32-hal-psram.c

Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-psram.c
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ bool psramInit(){
6767
spiramFailed = true;
6868
log_w("PSRAM init failed!");
6969
#if CONFIG_IDF_TARGET_ESP32
70-
pinMatrixOutDetach(16, false, false);
71-
pinMatrixOutDetach(17, false, false);
70+
if (pkg_ver != EFUSE_RD_CHIP_VER_PKG_ESP32PICOD4) {
71+
pinMatrixOutDetach(16, false, false);
72+
pinMatrixOutDetach(17, false, false);
73+
}
7274
#endif
7375
return false;
7476
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.