Sorry guys, ignore my last post.
I’d somehow deleted the “build_flags =” line in my Platformio.ini
No idea when that happened.
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:nodemcu-32s]
platform = espressif32
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
lib_deps = bodmer/TFT_eSPI@^2.5.43
build_flags =
-D USER_SETUP_LOADED
-D ILI9488_DRIVER
-D TFT_CS=15
-D TFT_RST=4
-D TFT_DC=2
-D TFT_MOSI=23
-D TFT_SCLK=18
-D LOAD_GLCD=1
-D LOAD_FONT2
-D LOAD_FONT3
-D LOAD_FONT4
-D LOAD_FONT6
-D LOAD_FONT7
-D LOAD_FONT8
-D LOAD_GFXFF
-D SMOOTH_FONT
-D SPI_FREQUENCY=27000000