Skip to content

Commit 29c6db5

Browse files
committed
removed PSRAM from cheap yellow display
1 parent f39089c commit 29c6db5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

platformio.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ build_unflags =
178178
-D TFT_CS=5
179179
-D TFT_DC=9
180180
-D SPI_FREQUENCY=40000000
181-
; PSRAM
182-
-D LV_MEM_SIZE="(32U * 1024U)"
181+
; PSRAM - use only if your cheap yellow display has PSRAM.
182+
;-D LV_MEM_SIZE="(32U * 1024U)"
183183
build_flags =
184184
${env:esp32.build_flags}
185185
; TFT_eSPI
@@ -196,14 +196,14 @@ build_flags =
196196
-D ETOUCH_IRQ=0xff ;not used in this sketch
197197
; OMOTE
198198
-D CHEAP_YELLOW_DISPLAY=1
199-
; PSRAM
199+
; PSRAM - use only if your cheap yellow display has PSRAM.
200200
; https://github.com/lvgl/lvgl/issues/3244
201-
-D LV_MEM_SIZE="(256U * 1024U)"
201+
;-D LV_MEM_SIZE="(256U * 1024U)"
202202
; LV_MEM_POOL_INCLUDE does not work and is not needed. Warning about implicit declaration of function can be ignored.
203203
;-D LV_MEM_POOL_INCLUDE="<esp32-hal-psram.h>"
204-
-D LV_MEM_POOL_ALLOC="ps_malloc"
205-
-D BOARD_HAS_PSRAM
206-
-mfix-esp32-psram-cache-issue
204+
;-D LV_MEM_POOL_ALLOC="ps_malloc"
205+
;-D BOARD_HAS_PSRAM
206+
;-mfix-esp32-psram-cache-issue
207207

208208
; use this if you are using Ubuntu or WSL2 (64 bit compiler)
209209
[env:linux_64bit]

0 commit comments

Comments
 (0)