Update platformio.ini to fix TTGO-T-Display build

Addresses errors relating to missing 'sdkconfig.h' and fonts.
This commit is contained in:
thre3eye 2024-05-22 13:44:39 -04:00 committed by GitHub
parent 8f7b64d13d
commit d4ca47dd47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -464,14 +464,17 @@ monitor_filters =
esp32_exception_decoder esp32_exception_decoder
time time
log2file log2file
board_build.arduino.memory_type = qio_opi # Commenting out 'board_build.arduino.memory_type' fixes missing 'sdkconfig.h' errors:
;board_build.arduino.memory_type = qio_opi
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 115200 upload_speed = 115200
# 2 x 4.5MB app, 6.875MB SPIFFS # 2 x 4.5MB app, 6.875MB SPIFFS
board_build.partitions = huge_app.csv board_build.partitions = huge_app.csv
build_flags = build_flags =
;-D DEBUG_MINING=1 ;-D DEBUG_MINING=1
-D TDISPLAY=1 # Switching from 'TDISPLAY' to 'NERDMINER_T_DISPLAY_V1' fixes font related compile errors
;-D TDISPLAY=1
-D NERDMINER_T_DISPLAY_V1=1
lib_deps = lib_deps =
https://github.com/takkaO/OpenFontRender https://github.com/takkaO/OpenFontRender
bblanchon/ArduinoJson@^6.21.2 bblanchon/ArduinoJson@^6.21.2