Skip to content

Commit 3f5081b

Browse files
Update README.md
1 parent f8becca commit 3f5081b

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void audio_eof_stream(const char* info) {
101101
102102
Do not forget to switch WiFi out of power save mode:
103103
104-
```
104+
```c++
105105
...
106106
WiFi.begin(SSID, PSK);
107107
WiFi.setSleep(false);
@@ -111,28 +111,30 @@ WiFi.setSleep(false);
111111
<hr>
112112

113113
### Prevent reboots while playing
114+
Early version of the esp32 have issues with the external psram cache, resulting in reboots.<br>Workarounds are possible depending on the hardware revision.
114115

115-
Early version of the esp32 have issues with the psram cache, resulting in reboots.
116+
#### Revision V0.0
117+
No workarounds are possible for this revision other than not using the psram.
116118

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
119+
#### Revision V1.0
120+
On revision V1.0 psram can be used with the following build flags:
121+
```bash
122+
-D BOARD_HAS_PSRAM
123+
-mfix-esp32-psram-cache-issue
124+
-mfix-esp32-psram-cache-strategy=memw
124125
```
125126

126-
On V3.0 hardware psram can be used with the following build flag:
127-
```
128-
-D BOARD_HAS_PSRAM
127+
#### Revision V3.0
128+
On revision V3.0 psram can be used with the following build flag:
129+
```bash
130+
-D BOARD_HAS_PSRAM
129131
```
130132

133+
#### Find your hardware revision
131134

132135
In PIO you can find out what hardware revision you have by running `esptool.py flash_id` in a terminal.
133136

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.
135-
137+
In Arduino IDE go to `File->Preferences` and find the `Show verbose output during` option. Check the box marked `upload`.<br>You can now see the hardware revision when you upload a sketch.
136138
<hr>
137139

138140
# Functions

0 commit comments

Comments
 (0)