hello! I am having an issue running the bodmer TFT_eSPI library with an esp32-s3-wroom module on a devkit board. I am following the bodmer tutorial for platformIO here: Installing on PlatformIO · Bodmer/TFT_eSPI Wiki · GitHub where i define my build flags in the .ini file which i have linked. my code is having trouble initializing the tft screen, it keeps crashing my esp32 and rebooting it, as visible from the serial monitor (also linked). I have no idea what is going on because it was working when i was using the arduino IDE, its only having an issue on platformIO. can any one of you guys help me understand what is going on? I’m new to platformIO
here’s my .ini file
[env:esp32-s3-devkitm-1]
platform = espressif32
board = esp32-s3-devkitm-1
framework = arduino
monitor_speed = 9600
lib_deps = TFT_eSPI
build_flags =
-D USER_SETUP_LOADED=1 ; Set this settings as valid
-D ILI9341_DRIVER=1 ; Select ILI9163 driver
-D TFT_WIDTH=320 ; Set TFT size
-D TFT_HEIGHT=240
-D TFT_MISO=5 ; Define SPI pins
-D TFT_MOSI=4
-D TFT_SCLK=6
-D TFT_CS=9
-D TFT_DC=10 ; Data/Comand pin
-D TFT_RST=7 ; Reset pin
-D LOAD_GLCD=1 ; Load Fonts
-D SPI_FREQUENCY=27000000
and my serial monitor dump is