What board do I select for Waveshare ESP32-S3 ETH board?

I am using an ESP32-S3 ETH development board from Waveshare. It claims to contain an ESP32-S3R8 but neither of these description seem to be available in the board manager. I have emailed waveshare but they have not responded. What board file should I use?

Regarding the informations from here and here it is an ESP32-S3 with internal 8MB Octal PRSAM and external 16 MB quad Flash.

So these settings should work for you:

[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino

board_build.arduino.memory_type = qio_opi
board_build.flash_mode = qio
board_build.psram_type = opi
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_build.partitions = default_16MB.csv
board_build.extra_flags = 
  -DBOARD_HAS_PSRAM
  -DARDUINO_USB_CDC_ON_BOOT=1

Thanks sivar2311,

I entered what you said verbatim and it seems to work. I notice that my board manager does not have an entry named “esp32-s3-devkitc-1“. So I am guessing that I can enter a board for which no definition exists and just enter its characteristics directly in platformio.ini file. Am I correct?

Is there a document somewhere that explains the meaning these board related options? And which ones are required and which are optional

If you’re referring to the ArduinoIDE’s boardmanager then the board is named “ESP32S3 Dev Module”.

Correct.

More or less, in different places and combination of different ressources. Also these settings are platform dependent.

Good starting points are

The settings above are the minimal settings for your board. So all settings are necessary.