fix psram setup messages

This commit is contained in:
Jeff Epler 2023-02-15 10:33:10 -06:00
parent c4b79a11ae
commit a2454f84f8
3 changed files with 2 additions and 8 deletions

View file

@ -26,9 +26,7 @@ displayio.release_displays()
if espidf.get_reserved_psram() < 1047586:
print("""Place the following line in CIRCUITPY/settings.toml, then hard-reset the board:
```
CIRCUITPY_RESERVED_PSRAM
```
CIRCUITPY_RESERVED_PSRAM=1048576
""")
raise SystemExit

View file

@ -73,9 +73,7 @@ display = displayio.Display(display_bus, _INIT_SEQUENCE, width=320, height=240)
if espidf.get_reserved_psram() < 1047586:
print("""Place the following line in CIRCUITPY/settings.toml, then hard-reset the board:
```
CIRCUITPY_RESERVED_PSRAM=1048576
```
""")
raise SystemExit

View file

@ -62,9 +62,7 @@ display = displayio.Display(display_bus, _INIT_SEQUENCE, width=320, height=240)
if espidf.get_reserved_psram() < 1047586:
print("""Place the following line in CIRCUITPY/settings.toml, then hard-reset the board:
```
CIRCUITPY_RESERVED_PSRAM
```
CIRCUITPY_RESERVED_PSRAM=1048576
""")
raise SystemExit