From d4ca47dd476b927cac551accfd995728c562cfb9 Mon Sep 17 00:00:00 2001 From: thre3eye Date: Wed, 22 May 2024 13:44:39 -0400 Subject: [PATCH] Update platformio.ini to fix TTGO-T-Display build Addresses errors relating to missing 'sdkconfig.h' and fonts. --- platformio.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index b670065..43bd568 100644 --- a/platformio.ini +++ b/platformio.ini @@ -464,14 +464,17 @@ monitor_filters = esp32_exception_decoder time 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 upload_speed = 115200 # 2 x 4.5MB app, 6.875MB SPIFFS board_build.partitions = huge_app.csv build_flags = ;-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 = https://github.com/takkaO/OpenFontRender bblanchon/ArduinoJson@^6.21.2