PlatformIO ini for ESP32-S3-DevKitC-1-N32-R16V

Does anybody have a platformio.ini configuration for the ESP32-S3-WROOM-2-N32R16V? This module has 32MB (Octal SPI) Flash and 16MB (Octal SPI) PSRAM.

My current ini works generally:

[env:esp32-s3-devkitc-1-n32r16v]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
build_type = debug
debug_tool = esp-builtin
upload_port = COM32
monitor_port = COM32
monitor_speed = 115200
board_build.arduino.memory_type = opi_opi
board_build.flash_mode = opi
board_build.psram_type = opi
board_upload.flash_size = 32MB
board_upload.maximum_size = 33554432
board_build.partitions = default_16MB.csv
debug_build_flags = -O0 -g -ggdb
build_flags = 
	-DBOARD_HAS_PSRAM
	-mfix-esp32-psram-cache-issue
	-DARDUINO_USB_MODE=1
	-DARDUINO_USB_CDC_ON_BOOT=1

Its inspired from: GitHub - sivar2311/ESP32-PlatformIO-Flash-and-PSRAM-configurations: ESP32-S3 PlatformIO Flash and PSRAM configurations · GitHub

But i can not set “board_build.partitions” to “default_32MB.csv” because this file is not found on my system so i put in “default_16MB.py“ instead.

Use the default_32MB.csv from here arduino-esp32/tools/partitions at master · espressif/arduino-esp32 · GitHub

Thank you. I copied the file default_32MB.csv to the project root folder, and now it works