I have been using this board type in Arduino IDE, but would prefer to use it in VS Code with platformio, but am unsure about which board tytpe to choose.
that actually only includes some config options (CPU freq, flash mode, flash size, general PSRAM activation, partition table).
The nitty gritty details on USB CDC activation, PSRAM type and JTAG adapter (debug_tool) are a bit hidden or not in the documentation, but can be found nit he forum. See e.g.
Can you file an issue at Issues · platformio/platformio-docs · GitHub that you did not find it clear how to configure PlatformIO for your board based on the current docs? They should improve it so we can just point to updated docs instead of doing per-user work.
For this exactly board i used this configuration on the platformio.ini file:
[env:esp32]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
; Specify velocity of serial monitor
monitor_speed = 115200
; Specify the frequency of the CPU
board_build.f_cpu = 240000000L
; Specify the frequency of the FLASH
board_build.f_flash = 80000000L
; FLASH Partition table designated as 16MB
board_build.arduino.partitions = default_16MB.csv
; Specify the operating mode of FLASH and PSRAM
board_build.arduino.memory_type = qio_opi
; Predefined macro, enabling PSRAM
build_flags = -DBOARD_HAS_PSRAM
; Specify a FLASH capacity of 16MB
board_upload.flash_size = 16MB
Maybe dont need the last line if already specify this line ?
board_build.arduino.memory_type = qio_opi
Have you tried using a full background image i.e. a RGB 800x480, as when I do the screen image jerks around a bit, like the buffer is being corrupted/refreshed as the screen refresh is being done ? It looks like the screen update is too slow if reading the buffer from the PSRAM - or there is some underrun when the CPU and GDMA H/W are accesing the PSRAM at the same time. This only seems to affect the Arduino framework, as if you use the espressif framework they have a bounce buffer, so the jerking around is no longer there. Unfortunately I can only use the espressif framework with the espressif IDE plugin + eclipse, I can’t get my platformio project to work with espidf and the lvgl library, and the gt911 etc.
I get a kernel panic, not sure if its the checksum failure or not.
0x40375af8: panic_abort at U:/Tools/Espressif/frameworks/esp-idf-v5.1/components/esp_system/panic.c:453 (discriminator 1)
Warning: checksum mismatch between flashed and built applications. Checksum of built application is 249f75251e6b96b1b92027ccbacc1b7aaf46d1f105f69c50d07eb1c56d51e8a6
0x42030255: lv_textarea_set_cursor_pos at D:/workspaces2022/Espressif_IDE2.9.1/rgb_panel/managed_components/lvgl__lvgl/src/widgets/lv_textarea.c:387
E (340) lcd_panel.rgb: lcd_rgb_panel_alloc_frame_buffers(156): no mem for frame buffer
E (350) lcd_panel.rgb: esp_lcd_new_rgb_panel(285): alloc frame buffers failed