Esp32-S3-WROOM TFT_eSPI issue

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

Try adding to platform.ini:

monitor_filters = esp32_exception_decoder
build_type = debug

to see where the crash occurs

oh rad! okay I’ll get back to you. I also saw somewhere that the espressif board package might be broken after 6.5.0 so i’ll try both of those

You did not specify a version. So the highest installed platform-espressif32 version will be used. Which one is this on your computer? Did you use pioarduino’s platform-espressif32 in some projects?

Fact is that bodmer/tft_eSPI does not work with Espressif Arduino 3.x (yet). If you have any pioarduino version installed, you have to go back to Arduino 2.x.
platform = espressif32 @ 6.10.0 will use the latest official available 2.0.17 Espressif Arduino version.

Don’t forget to perform a deep clean before build when changing the platform version.

If somethings’s broken this must be the platform installation on the user’s computer.

Nothing broken. The used display lib is outdated.