I am glad to provide some updates on what I found so far.
On this page: ESP32 Platform - ESPHome - Smart Home Made Simple
There is a link provided for board configuration, but the board list in this link are not up-to-date. That was the reason I could’t find a proper board name before.
According to @JVRMTS, esp32-s3-devkitc1-n16r8 works, I tried and confirmed. Afterward I was trying to look for what is the json behind board: esp32-s3-devkitc1-n16r8. Now I found it.
Still on the same ESP32 Platform page, there is a link in platform_version configuration, which points to a github address: Releases · pioarduino/platform-espressif32 · GitHub
In the platform-espressif32.zip\boards we can see all the available boards, including esp32-s3-devkitc1-n16r8. Below is the json out of it:
{
"build": {
"arduino": {
"partitions": "default_16MB.csv",
"memory_type": "qio_opi"
},
"core": "esp32",
"extra_flags": [
"-DARDUINO_ESP32S3_DEV",
"-DARDUINO_RUNNING_CORE=1",
"-DARDUINO_EVENT_RUNNING_CORE=1",
"-DBOARD_HAS_PSRAM"
],
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "qio",
"psram_type": "opi",
"hwids": [
[
"0x303A",
"0x1001"
]
],
"mcu": "esp32s3",
"variant": "esp32s3"
},
"connectivity": [
"wifi",
"bluetooth"
],
"debug": {
"default_tool": "esp-builtin",
"onboard_tools": [
"esp-builtin"
],
"openocd_target": "esp32s3.cfg"
},
"frameworks": [
"arduino",
"espidf"
],
"platforms": [
"espressif32"
],
"name": "Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB Flash Quad, 8 MB PSRAM Octal)",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 921600
},
"url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitc-1.html",
"vendor": "Espressif"
}
There are also some other types available:
Another hint:
The compiler options link in the sdkconfig_options configuration is pointing to the specification of chip “ESP32”:
For ESP32-S3, we need to change it in the dropdown list, not all sdkconfig_options are the same. For example, these two configurations are only for ESP32 chip (revision 1), they are not for ESP32-S3 at all.
-mfix-esp32-psram-cache-issue
-CONFIG_SPIRAM_CACHE_WORKAROUND
I hope this information can help others who are looking for similar solution.