You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -111,9 +111,27 @@ WiFi.setSleep(false);
111
111
<hr>
112
112
113
113
### Prevent reboots while playing
114
-
Do not use the `-D BOARD_HAS_PSRAM` build flag in PlatformIO or the `PSRAM: Enabled` option in Arduino IDE. Early boards have issues with the psram cache, resulting in reboots.<br> Boards without these issues do not need this flag or option to enable the psram.
115
114
116
-
Another source of sudden reboots are cheap dev boards with a too small 3.3v regulator.
115
+
Early version of the esp32 have issues with the psram cache, resulting in reboots.
116
+
117
+
This can not be prevented on V0.0 hardware other than not using the psram.
118
+
119
+
On V1.0 hardware psram can be used with the following build flags:
120
+
```
121
+
-D BOARD_HAS_PSRAM
122
+
-mfix-esp32-psram-cache-issue
123
+
-mfix-esp32-psram-cache-strategy=memw
124
+
```
125
+
126
+
On V3.0 hardware psram can be used with the following build flag:
127
+
```
128
+
-D BOARD_HAS_PSRAM
129
+
```
130
+
131
+
132
+
In PIO you can find out what hardware revision you have by running `esptool.py flash_id` in a terminal.
133
+
134
+
In Arduino IDE you can see the hardware revision when you upload a sketch and have `upload` checked in the `Show verbose output during` option on the `File->Preferences` page.
0 commit comments