Does anyone have a platformio.ini file for the t-beam-supreme (ESP32 S3)? Seems to be a popular board but there doesn’t appear to be a ‘boards’ option for it.
I can get the basics to work using board=ttgo-t-beam and board_build.mcu.mcu = esp32s3, but I’m sure I’m missing some of the details for the board.
the T-Beam-S3-SUPREME should have 8MB quad-spi flash and no on-chip PSRAM. The schematics are a bit weird there, specfying the U0 chip as either PSRAM or Flash, but not telling how it’s actually populated…
The ESP32 based ttgo-t-beam had 4MB flash in DIO mode and on-board (external) PSRAM. So, something more appropriate would be to base it off a close ESP32S3 based board, such as a lolin_s3.
[env:t-beam-s3-supreme]
platform = espressif32
board = lolin_s3
framework = arduino
; already set: esp32s3 MCU, QIO mode, 80MHz flash
; but only 8 instead of 16MB flash
board_upload.flash_size = 8MB
; internal QSPI flash and (likely) external QSPI PSRAM
board_build.arduino.memory_type = qio_qspi
; default partition table with 8MB
board_build.arduino.partitions = default_8MB.csv
; build flags already set for "USB CDC start on bootup", hardware IDs etc.
; use pin mappings from T-Beam (ESP32) based. MAY NOT WORK or be the same.
board_build.variant = tbeam
; regular esp32s3 pin mapping
; board_build.variant = esp32s3
Oh my, I should have seen that file too. It is exactly a PlatformIO board definition. If you just download that file and put in the project as boards/t-beams3-supreme.json, then the entireplatformio.ini simplifies to