Do you have a link to your board or can you name the exact ESP32-S3 module type?
Sorry, you said this in the first post.
It seems to be an ESP32-S3FH4R2, 4MB Flash and 2MB PS-RAM.
Please try
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_upload.flash_size = 4MB
board_build.partitions = default.csv
build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM