Arduino IDE Tools menu for ESP32
What each ESP32 item of the Arduino IDE Tools menu changes in the build and upload, in arduino-esp32 3.3.12: the property or define it sets and the usual way it goes wrong.
When a board's menu option is not chosen, Arduino CLI (which Arduino IDE 2 uses to build) takes the first option listed for that menu in boards.txt. The option whose id happens to be “default” is not necessarily it. The tables below mark that first option in bold.9
USB and serial
These menus exist only for chips with a USB peripheral. They decide what Serial is and how the IDE reaches the board for an upload.
USB CDC On Boot
Sets build.cdc_on_boot, which reaches the compiler as -DARDUINO_USB_CDC_ON_BOOT. It decides what the name Serial means. Enabled: Serial is the USB port of the chip, HWCDCSerial when USB Mode is Hardware CDC and JTAG, USBSerial when it is USB-OTG (TinyUSB). Disabled: Serial is Serial0, that is UART0. Serial0 exists in both cases, so UART0 stays reachable as Serial0 when CDC On Boot is enabled. The generic Dev Module entries default to Disabled.12
Fix: Board connected through the chip's own USB port: enable it (and, on the S3, keep USB Mode at Hardware CDC and JTAG). Board connected through a USB-UART bridge: disable it.
Options per board (13 boards; bold = default)
| ESP32S2 Dev Module1 | Disabled · Enabled |
| ESP32S3 Dev Module1 | Disabled · Enabled |
| ESP32C3 Dev Module1 | Disabled · Enabled |
| ESP32C5 Dev Module1 | Disabled · Enabled |
| ESP32C6 Dev Module1 | Disabled · Enabled |
| ESP32C61 Dev Module1 | Disabled · Enabled |
| ESP32H2 Dev Module1 | Disabled · Enabled |
| ESP32P4 Dev Module1 | Disabled · Enabled |
| LOLIN S2 Mini1 | Enabled · Disabled |
| Waveshare ESP32-S3-Zero1 | Enabled · Disabled |
| XIAO_ESP32C31 | Enabled · Disabled |
| XIAO_ESP32C61 | Enabled · Disabled |
| XIAO_ESP32S31 | Enabled · Disabled |
USB Mode
Sets build.usb_mode, passed as -DARDUINO_USB_MODE. 1 (Hardware CDC and JTAG) uses the built-in USB Serial/JTAG controller; 0 (USB-OTG (TinyUSB)) runs the TinyUSB device stack on the USB-OTG peripheral. The menu belongs to the ESP32-S3 and ESP32-P4 entries (and boards built on them); for the other chips platform.txt fixes ARDUINO_USB_MODE=0 for the ESP32-S2 and ARDUINO_USB_MODE=1 for the C3, C5, C6, C61 and H2. The Arduino Nano ESP32 calls the two options Normal mode (TinyUSB) and Debug mode (Hardware CDC); the Debug mode option sets debug.executable for the IDE debugger.13
Fix: MSC On Boot, DFU On Boot and the TinyUSB start-up in main.cpp are compiled only with ARDUINO_USB_MODE=0, so those options do nothing in Hardware CDC and JTAG mode.
Options per board (5 boards; bold = default)
| ESP32S3 Dev Module1 | Hardware CDC and JTAG · USB-OTG (TinyUSB) |
| ESP32P4 Dev Module1 | USB-OTG (TinyUSB) · Hardware CDC and JTAG |
| Arduino Nano ESP321 | Normal mode (TinyUSB) · Debug mode (Hardware CDC) |
| Waveshare ESP32-S3-Zero1 | Hardware CDC and JTAG · USB-OTG (TinyUSB) |
| XIAO_ESP32S31 | Hardware CDC and JTAG · USB-OTG (TinyUSB) |
Upload Mode
Changes only how the IDE starts the upload. UART0 / Hardware CDC: esptool uploads over the selected port without a 1200 bps touch. USB-OTG CDC (TinyUSB): sets use_1200bps_touch and wait_for_upload_port, so the IDE first opens the port at 1200 bps and then waits for the port to reappear. The TinyUSB CDC code of the running sketch reacts to 1200 bps by restarting into the bootloader.12
Fix: The touch needs a running sketch with TinyUSB CDC. If the sketch has crashed or does not start USB, put the chip into download mode by hand (hold BOOT while resetting).
Options per board (5 boards; bold = default)
USB Firmware MSC On Boot
Passes -DARDUINO_USB_MSC_ON_BOOT; main.cpp then calls MSC_Update.begin() before setup(). The board shows up as a USB drive, and a firmware binary dropped onto it is flashed. The menu says it requires USB-OTG mode, and the code is compiled only with ARDUINO_USB_MODE=0. FirmwareMSC writes into the next OTA partition; without one, writing is disabled.1
Fix: Use a partition scheme with two app (OTA) slots.
→ Partition schemes, drawn to scale
Options per board (6 boards; bold = default)
| ESP32S2 Dev Module1 | Disabled · Enabled |
| ESP32S3 Dev Module1 | Disabled · Enabled (Requires USB-OTG Mode) |
| ESP32P4 Dev Module1 | Disabled · Enabled (Requires USB-OTG Mode) |
| LOLIN S2 Mini1 | Disabled · Enabled |
| Waveshare ESP32-S3-Zero1 | Disabled · Enabled (Requires USB-OTG Mode) |
| XIAO_ESP32S31 | Disabled · Enabled (Requires USB-OTG Mode) |
USB DFU On Boot
Passes -DARDUINO_USB_DFU_ON_BOOT; main.cpp calls USB.enableDFU(), so the device also enumerates as a USB DFU device. As with MSC, this needs USB-OTG mode (ARDUINO_USB_MODE=0). The Arduino Nano ESP32 has it switched on in its board definition, without a menu.1
Options per board (6 boards; bold = default)
| ESP32S2 Dev Module1 | Disabled · Enabled |
| ESP32S3 Dev Module1 | Disabled · Enabled (Requires USB-OTG Mode) |
| ESP32P4 Dev Module1 | Disabled · Enabled (Requires USB-OTG Mode) |
| LOLIN S2 Mini1 | Disabled · Enabled |
| Waveshare ESP32-S3-Zero1 | Disabled · Enabled (Requires USB-OTG Mode) |
| XIAO_ESP32S31 | Disabled · Enabled (Requires USB-OTG Mode) |
Flash and PSRAM
These must describe the memory that is really on the board: the build cannot check them.
Flash Mode
Sets two properties: build.boot picks the precompiled second-stage bootloader (bootloader_{build.boot}_{build.boot_freq}.elf), build.flash_mode is written into the image headers by esptool elf2image. For QIO the menu sets boot=qio but flash_mode=dio: the header says DIO, and the bootloader checks the flash chip and switches to quad mode itself. On the ESP32-S3, OPI 80MHz sets boot=opi and flash_mode=dout, because the ROM and second-stage bootloaders do not support OPI in the header; the mode is taken from eFuse. build.memory_type ({build.boot}_{build.psram_type}) also selects the include and library directory of the precompiled ESP-IDF.12
Fix: Modules with octal flash (ESP32-S3-WROOM-2) need OPI 80MHz; there is also a separate board entry, ESP32S3 Dev Module Octal (WROOM2), which defaults to it.
Options per board (14 boards; bold = default)
| ESP32 Dev Module1 | QIO · DIO |
| ESP32S2 Dev Module1 | QIO · DIO |
| ESP32S3 Dev Module1 | QIO 80MHz · QIO 120MHz · DIO 80MHz · OPI 80MHz |
| ESP32C2 Dev Module1 | QIO · DIO |
| ESP32C3 Dev Module1 | QIO · DIO |
| ESP32C5 Dev Module1 | QIO · DIO |
| ESP32C6 Dev Module1 | QIO · DIO |
| ESP32C61 Dev Module1 | QIO · DIO |
| ESP32H2 Dev Module1 | QIO · DIO |
| ESP32P4 Dev Module1 | QIO · DIO |
| Waveshare ESP32-S3-Zero1 | QIO 80MHz · QIO 120MHz |
| XIAO_ESP32C31 | QIO · DIO |
| XIAO_ESP32C61 | QIO · DIO |
| XIAO_ESP32S31 | QIO 80MHz · DIO 80MHz |
Flash Frequency
Sets build.flash_freq, which becomes --flash-freq of esptool elf2image (via build.img_freq), the SPI flash clock written into the image header. The generic ESP32 entry has a base value of 40 MHz, but its menu lists 80MHz first, so 80 MHz is what a build gets when nothing is chosen; the ESP32-S3 entry has no separate menu, the clock is part of the Flash Mode option.1
Fix: If a board does not boot reliably at 80 MHz, try 40 MHz.
Options per board (11 boards; bold = default)
| ESP32 Dev Module1 | 80MHz · 40MHz |
| ESP32S2 Dev Module1 | 80MHz · 40MHz |
| ESP32C2 Dev Module1 | 60MHz · 30MHz |
| ESP32C3 Dev Module1 | 80MHz · 40MHz |
| ESP32C5 Dev Module1 | 80MHz · 40MHz |
| ESP32C6 Dev Module1 | 80MHz · 40MHz |
| ESP32C61 Dev Module1 | 80MHz · 40MHz |
| ESP32H2 Dev Module1 | 64MHz · 16MHz |
| ESP32P4 Dev Module1 | 80MHz · 40MHz |
| XIAO_ESP32C31 | 80MHz · 40MHz |
| XIAO_ESP32C61 | 80MHz · 40MHz |
Flash Size
Sets build.flash_size, which goes into the image header (--flash-size of elf2image) and sets the padding of the merged .bin. The value is not detected from the chip: it has to match the flash actually fitted, and the partition scheme has to fit into it.1
Options per board (13 boards; bold = default)
| ESP32 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| ESP32S2 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| ESP32S3 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 16MB (128Mb) · 32MB (256Mb) |
| ESP32C2 Dev Module1 | 2MB (16Mb) · 4MB (32Mb) |
| ESP32C3 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| ESP32C5 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| ESP32C6 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| ESP32C61 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) |
| ESP32H2 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| ESP32P4 Dev Module1 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) · 32MB (256Mb) |
| XIAO_ESP32C31 | 4MB (32Mb) · 8MB (64Mb) · 2MB (16Mb) · 16MB (128Mb) |
| XIAO_ESP32C61 | 4MB (32Mb) |
| XIAO_ESP32S31 | 8MB (64Mb) |
Partition Scheme
Sets build.partitions: before the build, tools/partitions/{build.partitions}.csv is copied to partitions.csv, and the name is also passed as -DARDUINO_PARTITION_{build.partitions}. Many options also set upload.maximum_size, the app size limit the IDE checks. A partitions.csv in the variant folder or in the sketch folder takes priority over the menu.1
Fix: Pick a scheme that fits the Flash Size setting; see the partition table reference for what each scheme contains.
→ Partition schemes, drawn to scale
Options per board (16 boards; bold = default)
| ESP32 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · Storage APP (2MB APP/1MB NVS/1MB SPIFFS) · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32S2 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32S3 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · 32M Flash (4.8MB APP/22MB FATFS) · 32M Flash (4.8MB APP/22MB LittleFS) · 32M Flash (13MB APP/6.75MB SPIFFS) · ESP SR 16M (3MB APP/6MB SPIFFS/3.9MB MODEL) · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32C2 Dev Module1 | Minimal (1.3MB APP/700KB SPIFFS) · Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) |
| ESP32C3 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32C5 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · Zigbee 2MB with spiffs · Zigbee 4MB with spiffs · Zigbee 8MB with spiffs · Zigbee ZCZR 2MB with spiffs · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32C6 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · Zigbee 2MB with spiffs · Zigbee 4MB with spiffs · Zigbee 8MB with spiffs · Zigbee ZCZR 2MB with spiffs · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32C61 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB · Custom |
| ESP32H2 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · Zigbee 2MB with spiffs · Zigbee 4MB with spiffs · Zigbee 8MB with spiffs · Zigbee ZCZR 2MB with spiffs · Zigbee ZCZR 4MB with spiffs · Zigbee ZCZR 8MB with spiffs · Custom |
| ESP32P4 Dev Module1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No FS 4MB (2MB APP x2) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · 32M Flash (4.8MB APP/22MB FATFS) · 32M Flash (4.8MB APP/22MB LittleFS) · 32M Flash (13MB APP/6.75MB SPIFFS) · ESP SR 16M (3MB APP/6MB SPIFFS/3.9MB MODEL) · Custom |
| Arduino Nano ESP321 | With FAT partition (default) · With SPIFFS partition (advanced) |
| LOLIN S2 Mini1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) |
| Waveshare ESP32-S3-Zero1 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · RainMaker 4MB · RainMaker 4MB No OTA · OTA no FS (2MB APP with OTA) · Max APP (4MB APP no OTA) · Custom |
| XIAO_ESP32C31 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · 8M with spiffs (3MB APP/1.5MB SPIFFS) · Minimal (1.3MB APP/700KB SPIFFS) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Minimal SPIFFS (1.9MB APP with OTA/128KB SPIFFS) · 16M Flash (2MB APP/12.5MB FATFS) · 16M Flash (3MB APP/9.9MB FATFS) · RainMaker 4MB · RainMaker 4MB No OTA · RainMaker 8MB |
| XIAO_ESP32C61 | Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) · Default 4MB with ffat (1.2MB APP/1.5MB FATFS) · No OTA (2MB APP/2MB SPIFFS) · No OTA (1MB APP/3MB SPIFFS) · No OTA (2MB APP/2MB FATFS) · No OTA (1MB APP/3MB FATFS) · Huge APP (3MB No OTA/1MB SPIFFS) · Zigbee 4MB with spiffs · Zigbee ZCZR 4MB with spiffs |
| XIAO_ESP32S31 | Default with spiffs (3MB APP/1.5MB SPIFFS) · Maximum APP (7.9MB APP No OTA/No FS) · TinyUF2 8MB (2MB APP/3.7MB FFAT) · TinyUF2 8MB No OTA (4MB APP/3.7MB FFAT) |
PSRAM
Enabled adds -DBOARD_HAS_PSRAM to build.defines, a define that sketches and libraries can test. On the ESP32 it also adds -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw, the GCC workaround for the PSRAM cache bug of early silicon revisions. On the ESP32-S3 the choice between QSPI PSRAM and OPI PSRAM sets build.psram_type, which selects the precompiled ESP-IDF variant (build.memory_type). The core's own PSRAM start-up, psramInit(), is compiled under CONFIG_SPIRAM of the precompiled ESP-IDF configuration.12
Fix: ESP32-S3: match the module. WROOM-1 R2 parts have QSPI PSRAM, R8 parts (and all WROOM-2) have OPI PSRAM; with the default settings such a board can reboot even with an empty sketch.
Options per board (8 boards; bold = default)
| ESP32 Dev Module1 | Disabled · Enabled |
| ESP32S2 Dev Module1 | Disabled · Enabled |
| ESP32S3 Dev Module1 | Disabled · QSPI PSRAM · OPI PSRAM |
| ESP32C5 Dev Module1 | Disabled · Enabled |
| ESP32C61 Dev Module1 | Disabled · Enabled |
| ESP32P4 Dev Module1 | Disabled · Enabled |
| Waveshare ESP32-S3-Zero1 | Disabled · Enabled |
| XIAO_ESP32S31 | Disabled · OPI PSRAM |
CPU and cores
Clock and the core placement of the Arduino tasks.
CPU Frequency
Sets build.f_cpu, passed as -DF_CPU; app_main() calls setCpuFrequencyMhz(F_CPU / 1000000) before setup() runs. The menu marks 80 MHz and above with (WiFi) on the S3 and (WiFi/BT) on the ESP32. The low ESP32 options are tied to the crystal: 40, 20 and 10 MHz for a 40 MHz crystal, 26 and 13 MHz for a 26 MHz crystal.14
Fix: With Wi-Fi or Bluetooth in use, pick one of the marked options.
Options per board (11 boards; bold = default)
| ESP32 Dev Module1 | 240MHz (WiFi/BT) · 160MHz (WiFi/BT) · 80MHz (WiFi/BT) · 40MHz (40MHz XTAL) · 26MHz (26MHz XTAL) · 20MHz (40MHz XTAL) · 13MHz (26MHz XTAL) · 10MHz (40MHz XTAL) |
| ESP32S2 Dev Module1 | 240MHz (WiFi) · 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| ESP32S3 Dev Module1 | 240MHz (WiFi) · 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| ESP32C3 Dev Module1 | 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| ESP32C5 Dev Module1 | 240MHz (WiFi) · 120MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| ESP32C6 Dev Module1 | 160MHz (WiFi) · 120MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| ESP32C61 Dev Module1 | 160MHz (WiFi) · 120MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| Waveshare ESP32-S3-Zero1 | 240MHz (WiFi) · 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| XIAO_ESP32C31 | 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| XIAO_ESP32C61 | 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
| XIAO_ESP32S31 | 240MHz (WiFi) · 160MHz (WiFi) · 80MHz (WiFi) · 40MHz · 20MHz · 10MHz |
Arduino Runs On
Passes -DARDUINO_RUNNING_CORE=1 or =0. setup() and loop() run in the FreeRTOS task loopTask (priority 1, stack 8192 bytes by default), which app_main() pins to that core. Without the define, CONFIG_ARDUINO_RUNNING_CORE of the precompiled configuration is used. The menu appears only for dual-core chips (ESP32, ESP32-S3).1
Events Run On
Passes -DARDUINO_EVENT_RUNNING_CORE. The Network library creates its arduino_events task on that core; the task calls the registered network event callbacks. Dual-core chips only.1
Fix: Event callbacks and loop() may run on different cores: protect data they share.
Chip Variant
ESP32-P4 only. Sets build.chip_variant, which selects the directory of precompiled ESP-IDF libraries (compiler.sdk.path), and the CPU clock: Before v3.00 uses esp32p4_es at 360 MHz, v3.00 or newer uses esp32p4 at 400 MHz.1
Fix: Choose by the chip revision of your P4.
Options per board (1 boards; bold = default)
| ESP32P4 Dev Module1 | Before v3.00 · v3.00 or newer |
Upload
Options of the esptool upload command.
Upload Speed
Sets upload.speed, the --baud of esptool during the upload. Some speeds are listed only on certain host systems (256000 and 512000 on Windows, 460800 on Linux and macOS).1
Fix: Upload errors at 921600: drop to 460800 or 115200.
Options per board (14 boards; bold = default)
| ESP32 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32S2 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32S3 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32C2 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32C3 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32C5 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32C6 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32C61 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32H2 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| ESP32P4 Dev Module1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| Waveshare ESP32-S3-Zero1 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| XIAO_ESP32C31 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| XIAO_ESP32C61 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
| XIAO_ESP32S31 | 921600 · 115200 · 256000 · 230400 · 460800 · 512000 |
Erase All Flash Before Sketch Upload
Enabled sets upload.erase_cmd=-e, so esptool write-flash erases all flash sectors, not just the areas being written. Everything outside the new images is lost: the NVS partition (Preferences data, stored Wi-Fi configuration) and the file system partitions.1
Fix: Leave it Disabled for normal work; enable it once when stale NVS data gets in the way (the Matter docs ask for it), then switch it back.
Options per board (15 boards; bold = default)
| ESP32 Dev Module1 | Disabled · Enabled |
| ESP32S2 Dev Module1 | Disabled · Enabled |
| ESP32S3 Dev Module1 | Disabled · Enabled |
| ESP32C2 Dev Module1 | Disabled · Enabled |
| ESP32C3 Dev Module1 | Disabled · Enabled |
| ESP32C5 Dev Module1 | Disabled · Enabled |
| ESP32C6 Dev Module1 | Disabled · Enabled |
| ESP32C61 Dev Module1 | Disabled · Enabled |
| ESP32H2 Dev Module1 | Disabled · Enabled |
| ESP32P4 Dev Module1 | Disabled · Enabled |
| LOLIN S2 Mini1 | Disabled · Enabled |
| Waveshare ESP32-S3-Zero1 | Disabled · Enabled |
| XIAO_ESP32C31 | Disabled · Enabled |
| XIAO_ESP32C61 | Disabled · Enabled |
| XIAO_ESP32S31 | Disabled · Enabled |
Debugging and logs
Log output of the core and the JTAG probe for the IDE debugger.
Core Debug Level
Sets build.code_debug, passed as -DCORE_DEBUG_LEVEL (0 None … 5 Verbose). It becomes ARDUHAL_LOG_LEVEL and LOG_LOCAL_LEVEL. log_e() … log_v() calls up to the chosen level are compiled in with their format string, file name, line and function name; the others compile to nothing. At Debug and Verbose the core also prints a chip report before and after setup(). The precompiled ESP-IDF libraries keep the log level they were built with.15
Fix: With USB-OTG (TinyUSB) CDC, setDebugOutput(true) on the USB CDC port moves the debug output there from UART0.
Options per board (16 boards; bold = default)
| ESP32 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32S2 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32S3 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32C2 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32C3 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32C5 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32C6 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32C61 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32H2 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| ESP32P4 Dev Module1 | None · Error · Warn · Info · Debug · Verbose |
| Arduino Nano ESP321 | None · Error · Warn · Info · Debug · Verbose |
| LOLIN S2 Mini1 | None · Error · Warn · Info · Debug · Verbose |
| Waveshare ESP32-S3-Zero1 | None · Error · Warn · Info · Debug · Verbose |
| XIAO_ESP32C31 | None · Error · Warn · Info · Debug · Verbose |
| XIAO_ESP32C61 | None · Error · Warn · Info · Debug · Verbose |
| XIAO_ESP32S31 | None · Error · Warn · Info · Debug · Verbose |
JTAG Adapter
Sets build.openocdscript (the OpenOCD board script for the chosen probe) and build.copy_jtag_files. Integrated USB JTAG is offered on entries such as the ESP32-S3 and ESP32-C3; the ESP32 and ESP32-S2 entries list FTDI Adapter and ESP USB Bridge. The IDE debugger itself starts OpenOCD with board/{debug_script.{build.mcu}} from platform.txt.1
Options per board (11 boards; bold = default)
| ESP32 Dev Module1 | Disabled · FTDI Adapter · ESP USB Bridge |
| ESP32S2 Dev Module1 | Disabled · FTDI Adapter · ESP USB Bridge |
| ESP32S3 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| ESP32C3 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| ESP32C5 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| ESP32C6 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| ESP32C61 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| ESP32H2 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| ESP32P4 Dev Module1 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| XIAO_ESP32C61 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
| XIAO_ESP32S31 | Disabled · Integrated USB JTAG · FTDI Adapter · ESP USB Bridge |
Protocol stacks
Which prebuilt Zigbee and Matter libraries are linked.
Zigbee Mode
Adds -DZIGBEE_MODE_ED or -DZIGBEE_MODE_ZCZR and links the matching ZBOSS libraries (end device, or coordinator/router). The Debug variants link debug builds of the same libraries. The ESP32 and ESP32-S3 entries offer only ZCZR and link zboss_port.remote; the ESP32-C5 entry links zboss_port.native.16
Fix: The mode must match the role in the sketch, and the partition scheme must match the mode: Zigbee ZCZR xMB with spiffs for coordinator/router, Zigbee xMB with spiffs for an end device.
→ Partition schemes, drawn to scale
Options per board (8 boards; bold = default)
| ESP32 Dev Module1 | Disabled · Zigbee ZCZR (coordinator/router) |
| ESP32S2 Dev Module1 | Disabled · Zigbee ZCZR (coordinator/router) |
| ESP32S3 Dev Module1 | Disabled · Zigbee ZCZR (coordinator/router) |
| ESP32C3 Dev Module1 | Disabled · Zigbee ZCZR (coordinator/router) |
| ESP32C5 Dev Module1 | Disabled · Zigbee ED (end device) · Zigbee ZCZR (coordinator/router) · Zigbee ED (end device) - Debug · Zigbee ZCZR (coordinator/router) - Debug |
| ESP32C6 Dev Module1 | Disabled · Zigbee ED (end device) · Zigbee ZCZR (coordinator/router) · Zigbee ED (end device) - Debug · Zigbee ZCZR (coordinator/router) - Debug |
| ESP32H2 Dev Module1 | Disabled · Zigbee ED (end device) · Zigbee ZCZR (coordinator/router) · Zigbee ED (end device) - Debug · Zigbee ZCZR (coordinator/router) - Debug |
| XIAO_ESP32C61 | Disabled · Zigbee ED (end device) · Zigbee ZCZR (coordinator/router) |
Matter Network
ESP32-C5 only. Wi-Fi adds -DARDUINO_MATTER_NETWORK_WIFI and links the Wi-Fi build of esp_matter, Thread adds -DARDUINO_MATTER_NETWORK_THREAD and links the Thread build. The C5 Thread build has the Wi-Fi station off.17
Fix: The Matter docs also ask for a 3 MB app partition (Huge APP) and Erase All Flash before the first upload.
→ Partition schemes, drawn to scale
Options per board (1 boards; bold = default)
| ESP32C5 Dev Module1 | Disabled · Wi-Fi · Thread |
Board-specific
Menus that only some board entries have.
Pin Numbering
Arduino Nano ESP32 (and one other entry, Ozobot DRVKit). The board definition defines BOARD_HAS_PIN_REMAP; with the default By Arduino pin, io_pin_remap.h wraps the core pin functions (digitalWrite(), analogRead(), tone() and others) so that they take the D/A numbers printed on the board and convert them to GPIO numbers. The remap is applied to the sketch and to libraries. By GPIO number (legacy) adds -DBOARD_USES_HW_GPIO_NUMBERS, which switches the remap off.18
Fix: Some ESP32 libraries (Arduino names OneWire, FastLED, ESP32Servo) expect GPIO numbers; with them, use By GPIO number (legacy).
Options per board (1 boards; bold = default)
| Arduino Nano ESP321 | By Arduino pin (default) · By GPIO number (legacy) |
Sources
Each number links here; open “What it confirms” for the exact quotes. Checked 2026-11-28.
- arduino-esp32 3.3.12: boards.txt primary
What it confirms (204)
- ESP32S2 Dev Module: CDCOnBoot options “esp32s2.menu.CDCOnBoot.default=Disabled”
- ESP32S3 Dev Module: CDCOnBoot options “esp32s3.menu.CDCOnBoot.default=Disabled”
- ESP32C3 Dev Module: CDCOnBoot options “esp32c3.menu.CDCOnBoot.default=Disabled”
- ESP32C5 Dev Module: CDCOnBoot options “esp32c5.menu.CDCOnBoot.default=Disabled”
- ESP32C6 Dev Module: CDCOnBoot options “esp32c6.menu.CDCOnBoot.default=Disabled”
- ESP32C61 Dev Module: CDCOnBoot options “esp32c61.menu.CDCOnBoot.default=Disabled”
- ESP32H2 Dev Module: CDCOnBoot options “esp32h2.menu.CDCOnBoot.default=Disabled”
- ESP32P4 Dev Module: CDCOnBoot options “esp32p4.menu.CDCOnBoot.default=Disabled”
- LOLIN S2 Mini: CDCOnBoot options “lolin_s2_mini.menu.CDCOnBoot.default=Enabled”
- Waveshare ESP32-S3-Zero: CDCOnBoot options “waveshare_esp32_s3_zero.menu.CDCOnBoot.default=Enabled”
- XIAO_ESP32C3: CDCOnBoot options “XIAO_ESP32C3.menu.CDCOnBoot.default=Enabled”
- XIAO_ESP32C6: CDCOnBoot options “XIAO_ESP32C6.menu.CDCOnBoot.cdc=Enabled”
- XIAO_ESP32S3: CDCOnBoot options “XIAO_ESP32S3.menu.CDCOnBoot.default=Enabled”
- Arduino IDE Tools menu for ESP32: USB CDC On Boot “esp32s3.menu.CDCOnBoot.cdc.build.cdc_on_boot=1 … -DARDUINO_USB_CDC_ON_BOOT={build.cdc_on_boot} … #define Serial HWCDCSerial … #define Serial USBSerial … // if not using CDC on Boot, Arduino Serial is the UART0 device … #define Serial Serial0 … // There is always Seria0 for UART0 … esp32s3.menu.CDCOnBoot.default=Disabled”
- ESP32S3 Dev Module: USBMode options “esp32s3.menu.USBMode.hwcdc=Hardware CDC and JTAG”
- ESP32P4 Dev Module: USBMode options “esp32p4.menu.USBMode.default=USB-OTG (TinyUSB)”
- Arduino Nano ESP32: USBMode options “nano_nora.menu.USBMode.default=Normal mode (TinyUSB)”
- Waveshare ESP32-S3-Zero: USBMode options “waveshare_esp32_s3_zero.menu.USBMode.hwcdc=Hardware CDC and JTAG”
- XIAO_ESP32S3: USBMode options “XIAO_ESP32S3.menu.USBMode.hwcdc=Hardware CDC and JTAG”
- Arduino IDE Tools menu for ESP32: USB Mode “esp32s3.menu.USBMode.hwcdc=Hardware CDC and JTAG … esp32s3.menu.USBMode.hwcdc.build.usb_mode=1 … esp32s3.menu.USBMode.default=USB-OTG (TinyUSB) … esp32s3.menu.USBMode.default.build.usb_mode=0 … build.extra_flags.esp32s3=-DARDUINO_USB_MODE={build.usb_mode} … build.extra_flags.esp32s2=-DARDUINO_USB_MODE=0 … build.extra_flags.esp32c3=-DARDUINO_USB_MODE=1 … build.extra_flags.esp32c5=-DARDUINO_USB_MODE=1 … build.extra_flags.esp32c6=-DARDUINO_USB_MODE=1 … build.extra_flags.esp32c61=-DARDUINO_USB_MODE=1 … build.extra_flags.esp32h2=-DARDUINO_USB_MODE=1 … nano_nora.menu.USBMode.default=Normal mode (TinyUSB) … nano_nora.menu.USBMode.hwcdc=Debug mode (Hardware CDC) … nano_nora.menu.USBMode.hwcdc.debug.executable={build.path}/{build.project_name}.elf”
- ESP32S2 Dev Module: UploadMode options “esp32s2.menu.UploadMode.default=UART0”
- ESP32S3 Dev Module: UploadMode options “esp32s3.menu.UploadMode.default=UART0 / Hardware CDC”
- ESP32P4 Dev Module: UploadMode options “esp32p4.menu.UploadMode.default=UART0 / Hardware CDC”
- Waveshare ESP32-S3-Zero: UploadMode options “waveshare_esp32_s3_zero.menu.UploadMode.default=UART0 / Hardware CDC”
- XIAO_ESP32S3: UploadMode options “XIAO_ESP32S3.menu.UploadMode.default=UART0 / Hardware CDC”
- Arduino IDE Tools menu for ESP32: Upload Mode “esp32s3.menu.UploadMode.default=UART0 / Hardware CDC … esp32s3.menu.UploadMode.default.upload.use_1200bps_touch=false … esp32s3.menu.UploadMode.cdc=USB-OTG CDC (TinyUSB) … esp32s3.menu.UploadMode.cdc.upload.use_1200bps_touch=true … esp32s3.menu.UploadMode.cdc.upload.wait_for_upload_port=true … `use_1200bps_touch` causes the selected serial port to be briefly opened at 1200 bps (8N1) before starting the upload. … development software will wait for a new serial port to appear and use that as the port for uploads … // ArduinoIDE sends LineCoding with 1200bps baud to reset the device … usb_persist_restart(RESTART_BOOTLOADER);”
- ESP32S2 Dev Module: MSCOnBoot options “esp32s2.menu.MSCOnBoot.default=Disabled”
- ESP32S3 Dev Module: MSCOnBoot options “esp32s3.menu.MSCOnBoot.default=Disabled”
- ESP32P4 Dev Module: MSCOnBoot options “esp32p4.menu.MSCOnBoot.default=Disabled”
- LOLIN S2 Mini: MSCOnBoot options “lolin_s2_mini.menu.MSCOnBoot.default=Disabled”
- Waveshare ESP32-S3-Zero: MSCOnBoot options “waveshare_esp32_s3_zero.menu.MSCOnBoot.default=Disabled”
- XIAO_ESP32S3: MSCOnBoot options “XIAO_ESP32S3.menu.MSCOnBoot.default=Disabled”
- Arduino IDE Tools menu for ESP32: USB Firmware MSC On Boot “esp32s3.menu.MSCOnBoot.msc=Enabled (Requires USB-OTG Mode) … -DARDUINO_USB_MSC_ON_BOOT={build.msc_on_boot} … #if ARDUINO_USB_MSC_ON_BOOT && !ARDUINO_USB_MODE … MSC_Update.begin(); … Use this new storage drive to write and read files or to drop a new firmware binary to flash the device. … msc_ota_partition = esp_ota_get_next_update_partition(NULL); … OTA partition not found. Writing disabled”
- ESP32S2 Dev Module: DFUOnBoot options “esp32s2.menu.DFUOnBoot.default=Disabled”
- ESP32S3 Dev Module: DFUOnBoot options “esp32s3.menu.DFUOnBoot.default=Disabled”
- ESP32P4 Dev Module: DFUOnBoot options “esp32p4.menu.DFUOnBoot.default=Disabled”
- LOLIN S2 Mini: DFUOnBoot options “lolin_s2_mini.menu.DFUOnBoot.default=Disabled”
- Waveshare ESP32-S3-Zero: DFUOnBoot options “waveshare_esp32_s3_zero.menu.DFUOnBoot.default=Disabled”
- XIAO_ESP32S3: DFUOnBoot options “XIAO_ESP32S3.menu.DFUOnBoot.default=Disabled”
- Arduino IDE Tools menu for ESP32: USB DFU On Boot “esp32s3.menu.DFUOnBoot.dfu=Enabled (Requires USB-OTG Mode) … -DARDUINO_USB_DFU_ON_BOOT={build.dfu_on_boot} … #if ARDUINO_USB_DFU_ON_BOOT && !ARDUINO_USB_MODE … USB.enableDFU(); … the device will appear as a USB DFU capable device … nano_nora.build.dfu_on_boot=1”
- ESP32 Dev Module: FlashMode options “esp32.menu.FlashMode.qio=QIO”
- ESP32S2 Dev Module: FlashMode options “esp32s2.menu.FlashMode.qio=QIO”
- ESP32S3 Dev Module: FlashMode options “esp32s3.menu.FlashMode.qio=QIO 80MHz”
- ESP32C2 Dev Module: FlashMode options “esp32c2.menu.FlashMode.qio=QIO”
- ESP32C3 Dev Module: FlashMode options “esp32c3.menu.FlashMode.qio=QIO”
- ESP32C5 Dev Module: FlashMode options “esp32c5.menu.FlashMode.qio=QIO”
- ESP32C6 Dev Module: FlashMode options “esp32c6.menu.FlashMode.qio=QIO”
- ESP32C61 Dev Module: FlashMode options “esp32c61.menu.FlashMode.qio=QIO”
- ESP32H2 Dev Module: FlashMode options “esp32h2.menu.FlashMode.qio=QIO”
- ESP32P4 Dev Module: FlashMode options “esp32p4.menu.FlashMode.qio=QIO”
- Waveshare ESP32-S3-Zero: FlashMode options “waveshare_esp32_s3_zero.menu.FlashMode.qio=QIO 80MHz”
- XIAO_ESP32C3: FlashMode options “XIAO_ESP32C3.menu.FlashMode.qio=QIO”
- XIAO_ESP32C6: FlashMode options “XIAO_ESP32C6.menu.FlashMode.qio=QIO”
- XIAO_ESP32S3: FlashMode options “XIAO_ESP32S3.menu.FlashMode.qio=QIO 80MHz”
- Arduino IDE Tools menu for ESP32: Flash Mode “esp32s3.menu.FlashMode.qio.build.flash_mode=dio … esp32s3.menu.FlashMode.qio.build.boot=qio … esp32s3.menu.FlashMode.opi.build.flash_mode=dout … esp32s3.menu.FlashMode.opi.build.boot=opi … esp32s3.menu.FlashMode.qio120=QIO 120MHz … esp32s3.menu.FlashMode.qio120.build.boot_freq=120m … esp32s3.build.memory_type={build.boot}_{build.psram_type} … "-I{compiler.sdk.path}/{build.memory_type}/include" … "-L{compiler.sdk.path}/{build.memory_type}" … "{compiler.sdk.path}"/bin/bootloader_{build.boot}_{build.boot_freq}.elf … elf2image --flash-mode "{build.flash_mode}" … the bootloader software checks the flash chip model and enables the correct Quad SPI mode for the rest of the boot process. … The 1st and 2nd bootloaders don’t support opi mode. Because of that esptool doesn’t use opi and dout is used instead. The bootloader retrieves the information from eFuse and effectively replaces the mode.”
- ESP32 Dev Module: FlashFreq options “esp32.menu.FlashFreq.80=80MHz”
- ESP32S2 Dev Module: FlashFreq options “esp32s2.menu.FlashFreq.80=80MHz”
- ESP32C2 Dev Module: FlashFreq options “esp32c2.menu.FlashFreq.60=60MHz”
- ESP32C3 Dev Module: FlashFreq options “esp32c3.menu.FlashFreq.80=80MHz”
- ESP32C5 Dev Module: FlashFreq options “esp32c5.menu.FlashFreq.80=80MHz”
- ESP32C6 Dev Module: FlashFreq options “esp32c6.menu.FlashFreq.80=80MHz”
- ESP32C61 Dev Module: FlashFreq options “esp32c61.menu.FlashFreq.80=80MHz”
- ESP32H2 Dev Module: FlashFreq options “esp32h2.menu.FlashFreq.64=64MHz”
- ESP32P4 Dev Module: FlashFreq options “esp32p4.menu.FlashFreq.80=80MHz”
- XIAO_ESP32C3: FlashFreq options “XIAO_ESP32C3.menu.FlashFreq.80=80MHz”
- XIAO_ESP32C6: FlashFreq options “XIAO_ESP32C6.menu.FlashFreq.80=80MHz”
- Arduino IDE Tools menu for ESP32: Flash Frequency “esp32.menu.FlashFreq.80.build.flash_freq=80m … esp32.menu.FlashFreq.40.build.flash_freq=40m … esp32.build.flash_freq=40m … esp32.menu.FlashFreq.80=80MHz … esp32.menu.FlashFreq.40=40MHz … build.img_freq={build.flash_freq} … --flash-freq "{build.img_freq}" … In some boards/SoC, the flash frequency is automatically selected according to the flash mode.”
- ESP32 Dev Module: FlashSize options “esp32.menu.FlashSize.4M=4MB (32Mb)”
- ESP32S2 Dev Module: FlashSize options “esp32s2.menu.FlashSize.4M=4MB (32Mb)”
- ESP32S3 Dev Module: FlashSize options “esp32s3.menu.FlashSize.4M=4MB (32Mb)”
- ESP32C2 Dev Module: FlashSize options “esp32c2.menu.FlashSize.2M=2MB (16Mb)”
- ESP32C3 Dev Module: FlashSize options “esp32c3.menu.FlashSize.4M=4MB (32Mb)”
- ESP32C5 Dev Module: FlashSize options “esp32c5.menu.FlashSize.4M=4MB (32Mb)”
- ESP32C6 Dev Module: FlashSize options “esp32c6.menu.FlashSize.4M=4MB (32Mb)”
- ESP32C61 Dev Module: FlashSize options “esp32c61.menu.FlashSize.4M=4MB (32Mb)”
- ESP32H2 Dev Module: FlashSize options “esp32h2.menu.FlashSize.4M=4MB (32Mb)”
- ESP32P4 Dev Module: FlashSize options “esp32p4.menu.FlashSize.4M=4MB (32Mb)”
- XIAO_ESP32C3: FlashSize options “XIAO_ESP32C3.menu.FlashSize.4M=4MB (32Mb)”
- XIAO_ESP32C6: FlashSize options “XIAO_ESP32C6.menu.FlashSize.4M=4MB (32Mb)”
- XIAO_ESP32S3: FlashSize options “XIAO_ESP32S3.menu.FlashSize.8M=8MB (64Mb)”
- Arduino IDE Tools menu for ESP32: Flash Size “esp32s3.menu.FlashSize.16M.build.flash_size=16MB … --flash-size "{build.flash_size}" … --pad-to-size {build.flash_size} … The flash size should be selected according to the flash model used on your board. … If you choose the wrong size, you may have issues when selecting the partition scheme.”
- ESP32 Dev Module: PartitionScheme options “esp32.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32S2 Dev Module: PartitionScheme options “esp32s2.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32S3 Dev Module: PartitionScheme options “esp32s3.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32C2 Dev Module: PartitionScheme options “esp32c2.menu.PartitionScheme.minimal=Minimal (1.3MB APP/700KB SPIFFS)”
- ESP32C3 Dev Module: PartitionScheme options “esp32c3.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32C5 Dev Module: PartitionScheme options “esp32c5.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32C6 Dev Module: PartitionScheme options “esp32c6.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32C61 Dev Module: PartitionScheme options “esp32c61.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32H2 Dev Module: PartitionScheme options “esp32h2.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- ESP32P4 Dev Module: PartitionScheme options “esp32p4.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- Arduino Nano ESP32: PartitionScheme options “nano_nora.menu.PartitionScheme.default=With FAT partition (default)”
- LOLIN S2 Mini: PartitionScheme options “lolin_s2_mini.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- Waveshare ESP32-S3-Zero: PartitionScheme options “waveshare_esp32_s3_zero.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- XIAO_ESP32C3: PartitionScheme options “XIAO_ESP32C3.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- XIAO_ESP32C6: PartitionScheme options “XIAO_ESP32C6.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)”
- XIAO_ESP32S3: PartitionScheme options “XIAO_ESP32S3.menu.PartitionScheme.default_8MB=Default with spiffs (3MB APP/1.5MB SPIFFS)”
- Arduino IDE Tools menu for ESP32: Partition Scheme “esp32s3.menu.PartitionScheme.no_fs.build.partitions=no_fs … esp32s3.menu.PartitionScheme.no_fs.upload.maximum_size=2031616 … /tools/partitions/{build.partitions}.csv … -DARDUINO_PARTITION_{build.partitions} … # first and higher priority overwrites it: build.partitions < variant < source. … Be careful selecting the right partition according to the flash size. If you select the wrong partition, the system will crash.”
- ESP32 Dev Module: PSRAM options “esp32.menu.PSRAM.disabled=Disabled”
- ESP32S2 Dev Module: PSRAM options “esp32s2.menu.PSRAM.disabled=Disabled”
- ESP32S3 Dev Module: PSRAM options “esp32s3.menu.PSRAM.disabled=Disabled”
- ESP32C5 Dev Module: PSRAM options “esp32c5.menu.PSRAM.disabled=Disabled”
- ESP32C61 Dev Module: PSRAM options “esp32c61.menu.PSRAM.disabled=Disabled”
- ESP32P4 Dev Module: PSRAM options “esp32p4.menu.PSRAM.disabled=Disabled”
- Waveshare ESP32-S3-Zero: PSRAM options “waveshare_esp32_s3_zero.menu.PSRAM.disabled=Disabled”
- XIAO_ESP32S3: PSRAM options “XIAO_ESP32S3.menu.PSRAM.disabled=Disabled”
- Arduino IDE Tools menu for ESP32: PSRAM “esp32.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -mfix-esp32-psram-cache-strategy=memw … the -mfix-esp32-psram-cache-issue flag has been added to the ESP32 GCC compiler such that these sequences are filtered out … esp32s3.menu.PSRAM.enabled=QSPI PSRAM … esp32s3.menu.PSRAM.enabled.build.psram_type=qspi … esp32s3.menu.PSRAM.opi=OPI PSRAM … esp32s3.menu.PSRAM.opi.build.defines=-DBOARD_HAS_PSRAM … esp32s3.menu.PSRAM.opi.build.psram_type=opi … esp32s3.build.memory_type={build.boot}_{build.psram_type} … #if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM … ESP_SYSTEM_INIT_FN(init_psram_new, CORE, BIT(0), 99) { … psramInit();”
- ESP32 Dev Module: CPUFreq options “esp32.menu.CPUFreq.240=240MHz (WiFi/BT)”
- ESP32S2 Dev Module: CPUFreq options “esp32s2.menu.CPUFreq.240=240MHz (WiFi)”
- ESP32S3 Dev Module: CPUFreq options “esp32s3.menu.CPUFreq.240=240MHz (WiFi)”
- ESP32C3 Dev Module: CPUFreq options “esp32c3.menu.CPUFreq.160=160MHz (WiFi)”
- ESP32C5 Dev Module: CPUFreq options “esp32c5.menu.CPUFreq.240=240MHz (WiFi)”
- ESP32C6 Dev Module: CPUFreq options “esp32c6.menu.CPUFreq.160=160MHz (WiFi)”
- ESP32C61 Dev Module: CPUFreq options “esp32c61.menu.CPUFreq.160=160MHz (WiFi)”
- Waveshare ESP32-S3-Zero: CPUFreq options “waveshare_esp32_s3_zero.menu.CPUFreq.240=240MHz (WiFi)”
- XIAO_ESP32C3: CPUFreq options “XIAO_ESP32C3.menu.CPUFreq.160=160MHz (WiFi)”
- XIAO_ESP32C6: CPUFreq options “XIAO_ESP32C6.menu.CPUFreq.160=160MHz (WiFi)”
- XIAO_ESP32S3: CPUFreq options “XIAO_ESP32S3.menu.CPUFreq.240=240MHz (WiFi)”
- Arduino IDE Tools menu for ESP32: CPU Frequency “esp32s3.menu.CPUFreq.240.build.f_cpu=240000000L … esp32s3.menu.CPUFreq.80=80MHz (WiFi) … esp32s3.menu.CPUFreq.40=40MHz … esp32.menu.CPUFreq.80=80MHz (WiFi/BT) … esp32.menu.CPUFreq.40=40MHz (40MHz XTAL) … esp32.menu.CPUFreq.26=26MHz (26MHz XTAL) … esp32.menu.CPUFreq.13=13MHz (26MHz XTAL) … -DF_CPU={build.f_cpu} … setCpuFrequencyMhz(F_CPU / 1000000);”
- ESP32 Dev Module: LoopCore options “esp32.menu.LoopCore.1=Core 1”
- ESP32S3 Dev Module: LoopCore options “esp32s3.menu.LoopCore.1=Core 1”
- Waveshare ESP32-S3-Zero: LoopCore options “waveshare_esp32_s3_zero.menu.LoopCore.1=Core 1”
- XIAO_ESP32S3: LoopCore options “XIAO_ESP32S3.menu.LoopCore.1=Core 1”
- Arduino IDE Tools menu for ESP32: Arduino Runs On “esp32s3.menu.LoopCore.1.build.loop_core=-DARDUINO_RUNNING_CORE=1 … esp32s3.menu.LoopCore.0.build.loop_core=-DARDUINO_RUNNING_CORE=0 … #define ARDUINO_LOOP_STACK_SIZE 8192 … xTaskCreateUniversal(loopTask, "loopTask", getArduinoLoopTaskStackSize(), NULL, 1, &loopTaskHandle, ARDUINO_RUNNING_CORE); … #define ARDUINO_RUNNING_CORE CONFIG_ARDUINO_RUNNING_CORE … This is only valid if the target SoC has 2 cores.”
- ESP32 Dev Module: EventsCore options “esp32.menu.EventsCore.1=Core 1”
- ESP32S3 Dev Module: EventsCore options “esp32s3.menu.EventsCore.1=Core 1”
- Waveshare ESP32-S3-Zero: EventsCore options “waveshare_esp32_s3_zero.menu.EventsCore.1=Core 1”
- XIAO_ESP32S3: EventsCore options “XIAO_ESP32S3.menu.EventsCore.1=Core 1”
- Arduino IDE Tools menu for ESP32: Events Run On “esp32s3.menu.EventsCore.1.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=1 … esp32s3.menu.EventsCore.0.build.event_core=-DARDUINO_EVENT_RUNNING_CORE=0 … "arduino_events" … this, ESP_TASKD_EVENT_PRIO - 1, &_arduino_event_task_handle, ARDUINO_EVENT_RUNNING_CORE … // iterate over registered callbacks … #define ARDUINO_EVENT_RUNNING_CORE CONFIG_ARDUINO_EVENT_RUNNING_CORE”
- ESP32P4 Dev Module: ChipVariant options “esp32p4.menu.ChipVariant.prev3=Before v3.00”
- Arduino IDE Tools menu for ESP32: Chip Variant “esp32p4.menu.ChipVariant.prev3=Before v3.00 … esp32p4.menu.ChipVariant.prev3.build.chip_variant=esp32p4_es … esp32p4.menu.ChipVariant.prev3.build.f_cpu=360000000L … esp32p4.menu.ChipVariant.postv3=v3.00 or newer … esp32p4.menu.ChipVariant.postv3.build.chip_variant=esp32p4 … esp32p4.menu.ChipVariant.postv3.build.f_cpu=400000000L … compiler.sdk.path={tools.esp32-arduino-libs.path}/{build.chip_variant}”
- ESP32 Dev Module: UploadSpeed options “esp32.menu.UploadSpeed.921600=921600”
- ESP32S2 Dev Module: UploadSpeed options “esp32s2.menu.UploadSpeed.921600=921600”
- ESP32S3 Dev Module: UploadSpeed options “esp32s3.menu.UploadSpeed.921600=921600”
- ESP32C2 Dev Module: UploadSpeed options “esp32c2.menu.UploadSpeed.921600=921600”
- ESP32C3 Dev Module: UploadSpeed options “esp32c3.menu.UploadSpeed.921600=921600”
- ESP32C5 Dev Module: UploadSpeed options “esp32c5.menu.UploadSpeed.921600=921600”
- ESP32C6 Dev Module: UploadSpeed options “esp32c6.menu.UploadSpeed.921600=921600”
- ESP32C61 Dev Module: UploadSpeed options “esp32c61.menu.UploadSpeed.921600=921600”
- ESP32H2 Dev Module: UploadSpeed options “esp32h2.menu.UploadSpeed.921600=921600”
- ESP32P4 Dev Module: UploadSpeed options “esp32p4.menu.UploadSpeed.921600=921600”
- Waveshare ESP32-S3-Zero: UploadSpeed options “waveshare_esp32_s3_zero.menu.UploadSpeed.921600=921600”
- XIAO_ESP32C3: UploadSpeed options “XIAO_ESP32C3.menu.UploadSpeed.921600=921600”
- XIAO_ESP32C6: UploadSpeed options “XIAO_ESP32C6.menu.UploadSpeed.921600=921600”
- XIAO_ESP32S3: UploadSpeed options “XIAO_ESP32S3.menu.UploadSpeed.921600=921600”
- Arduino IDE Tools menu for ESP32: Upload Speed “esp32s3.menu.UploadSpeed.921600.upload.speed=921600 … esp32s3.menu.UploadSpeed.256000.windows=256000 … esp32s3.menu.UploadSpeed.460800.linux=460800 … esp32s3.menu.UploadSpeed.512000.windows=512000 … --baud {upload.speed} … If you have issues while flashing the device at high speed, try to decrease this value. This could be due to the external serial-to-USB chip limitations.”
- ESP32 Dev Module: EraseFlash options “esp32.menu.EraseFlash.none=Disabled”
- ESP32S2 Dev Module: EraseFlash options “esp32s2.menu.EraseFlash.none=Disabled”
- ESP32S3 Dev Module: EraseFlash options “esp32s3.menu.EraseFlash.none=Disabled”
- ESP32C2 Dev Module: EraseFlash options “esp32c2.menu.EraseFlash.none=Disabled”
- ESP32C3 Dev Module: EraseFlash options “esp32c3.menu.EraseFlash.none=Disabled”
- ESP32C5 Dev Module: EraseFlash options “esp32c5.menu.EraseFlash.none=Disabled”
- ESP32C6 Dev Module: EraseFlash options “esp32c6.menu.EraseFlash.none=Disabled”
- ESP32C61 Dev Module: EraseFlash options “esp32c61.menu.EraseFlash.none=Disabled”
- ESP32H2 Dev Module: EraseFlash options “esp32h2.menu.EraseFlash.none=Disabled”
- ESP32P4 Dev Module: EraseFlash options “esp32p4.menu.EraseFlash.none=Disabled”
- LOLIN S2 Mini: EraseFlash options “lolin_s2_mini.menu.EraseFlash.none=Disabled”
- Waveshare ESP32-S3-Zero: EraseFlash options “waveshare_esp32_s3_zero.menu.EraseFlash.none=Disabled”
- XIAO_ESP32C3: EraseFlash options “XIAO_ESP32C3.menu.EraseFlash.none=Disabled”
- XIAO_ESP32C6: EraseFlash options “XIAO_ESP32C6.menu.EraseFlash.none=Disabled”
- XIAO_ESP32S3: EraseFlash options “XIAO_ESP32S3.menu.EraseFlash.none=Disabled”
- Arduino IDE Tools menu for ESP32: Erase All Flash Before Sketch Upload “esp32s3.menu.EraseFlash.all.upload.erase_cmd=-e … write-flash {upload.erase_cmd} -z … Use the -e/--erase-all option to erase all flash sectors (not just the write areas) before programming. … It uses a portion of the on-board non-volatile memory (NVS) of the ESP32 to store data. … Erasing flash is necessary to remove any leftover Wi-Fi or Matter configuration from the NVS (Non-Volatile Storage) partition.”
- ESP32 Dev Module: DebugLevel options “esp32.menu.DebugLevel.none=None”
- ESP32S2 Dev Module: DebugLevel options “esp32s2.menu.DebugLevel.none=None”
- ESP32S3 Dev Module: DebugLevel options “esp32s3.menu.DebugLevel.none=None”
- ESP32C2 Dev Module: DebugLevel options “esp32c2.menu.DebugLevel.none=None”
- ESP32C3 Dev Module: DebugLevel options “esp32c3.menu.DebugLevel.none=None”
- ESP32C5 Dev Module: DebugLevel options “esp32c5.menu.DebugLevel.none=None”
- ESP32C6 Dev Module: DebugLevel options “esp32c6.menu.DebugLevel.none=None”
- ESP32C61 Dev Module: DebugLevel options “esp32c61.menu.DebugLevel.none=None”
- ESP32H2 Dev Module: DebugLevel options “esp32h2.menu.DebugLevel.none=None”
- ESP32P4 Dev Module: DebugLevel options “esp32p4.menu.DebugLevel.none=None”
- Arduino Nano ESP32: DebugLevel options “nano_nora.menu.DebugLevel.none=None”
- LOLIN S2 Mini: DebugLevel options “lolin_s2_mini.menu.DebugLevel.none=None”
- Waveshare ESP32-S3-Zero: DebugLevel options “waveshare_esp32_s3_zero.menu.DebugLevel.none=None”
- XIAO_ESP32C3: DebugLevel options “XIAO_ESP32C3.menu.DebugLevel.none=None”
- XIAO_ESP32C6: DebugLevel options “XIAO_ESP32C6.menu.DebugLevel.none=None”
- XIAO_ESP32S3: DebugLevel options “XIAO_ESP32S3.menu.DebugLevel.none=None”
- Arduino IDE Tools menu for ESP32: Core Debug Level “esp32s3.menu.DebugLevel.none.build.code_debug=0 … esp32s3.menu.DebugLevel.verbose.build.code_debug=5 … -DCORE_DEBUG_LEVEL={build.code_debug} … #define ARDUHAL_LOG_LEVEL CORE_DEBUG_LEVEL … #define LOG_LOCAL_LEVEL CORE_DEBUG_LEVEL … #if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_VERBOSE … #define log_v(format, ...) log_printf(ARDUHAL_LOG_FORMAT(V, format), ##__VA_ARGS__) … pathToFileName(__FILE__), __LINE__, __FUNCTION__ … #if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_DEBUG … printBeforeSetupInfo();”
- ESP32 Dev Module: JTAGAdapter options “esp32.menu.JTAGAdapter.default=Disabled”
- ESP32S2 Dev Module: JTAGAdapter options “esp32s2.menu.JTAGAdapter.default=Disabled”
- ESP32S3 Dev Module: JTAGAdapter options “esp32s3.menu.JTAGAdapter.default=Disabled”
- ESP32C3 Dev Module: JTAGAdapter options “esp32c3.menu.JTAGAdapter.default=Disabled”
- ESP32C5 Dev Module: JTAGAdapter options “esp32c5.menu.JTAGAdapter.default=Disabled”
- ESP32C6 Dev Module: JTAGAdapter options “esp32c6.menu.JTAGAdapter.default=Disabled”
- ESP32C61 Dev Module: JTAGAdapter options “esp32c61.menu.JTAGAdapter.default=Disabled”
- ESP32H2 Dev Module: JTAGAdapter options “esp32h2.menu.JTAGAdapter.default=Disabled”
- ESP32P4 Dev Module: JTAGAdapter options “esp32p4.menu.JTAGAdapter.default=Disabled”
- XIAO_ESP32C6: JTAGAdapter options “XIAO_ESP32C6.menu.JTAGAdapter.default=Disabled”
- XIAO_ESP32S3: JTAGAdapter options “XIAO_ESP32S3.menu.JTAGAdapter.default=Disabled”
- Arduino IDE Tools menu for ESP32: JTAG Adapter “esp32s3.menu.JTAGAdapter.builtin=Integrated USB JTAG … esp32s3.menu.JTAGAdapter.builtin.build.openocdscript=esp32s3-builtin.cfg … esp32s3.menu.JTAGAdapter.builtin.build.copy_jtag_files=1 … esp32c3.menu.JTAGAdapter.builtin=Integrated USB JTAG … esp32.menu.JTAGAdapter.external=FTDI Adapter … esp32.menu.JTAGAdapter.bridge=ESP USB Bridge … esp32s2.menu.JTAGAdapter.external=FTDI Adapter … debug.server.openocd.scripts.0=board/{debug_script.{build.mcu}} … debug_script.esp32s3=esp32s3-builtin.cfg”
- ESP32 Dev Module: ZigbeeMode options “esp32.menu.ZigbeeMode.default=Disabled”
- ESP32S2 Dev Module: ZigbeeMode options “esp32s2.menu.ZigbeeMode.default=Disabled”
- ESP32S3 Dev Module: ZigbeeMode options “esp32s3.menu.ZigbeeMode.default=Disabled”
- ESP32C3 Dev Module: ZigbeeMode options “esp32c3.menu.ZigbeeMode.default=Disabled”
- ESP32C5 Dev Module: ZigbeeMode options “esp32c5.menu.ZigbeeMode.default=Disabled”
- ESP32C6 Dev Module: ZigbeeMode options “esp32c6.menu.ZigbeeMode.default=Disabled”
- ESP32H2 Dev Module: ZigbeeMode options “esp32h2.menu.ZigbeeMode.default=Disabled”
- XIAO_ESP32C6: ZigbeeMode options “XIAO_ESP32C6.menu.ZigbeeMode.default=Disabled”
- Arduino IDE Tools menu for ESP32: Zigbee Mode “esp32c5.menu.ZigbeeMode.ed.build.zigbee_mode=-DZIGBEE_MODE_ED … esp32c5.menu.ZigbeeMode.ed.build.zigbee_libs=-lesp_zb_api.ed -lzboss_stack.ed -lzboss_port.native … esp32c5.menu.ZigbeeMode.zczr.build.zigbee_mode=-DZIGBEE_MODE_ZCZR … esp32c5.menu.ZigbeeMode.ed_debug.build.zigbee_libs=-lesp_zb_api.ed.debug -lzboss_stack.ed.debug -lzboss_port.native.debug … esp32s3.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api.zczr -lzboss_stack.zczr -lzboss_port.remote … esp32.menu.ZigbeeMode.zczr.build.zigbee_libs=-lesp_zb_api.zczr -lzboss_stack.zczr -lzboss_port.remote … Also selecting zigbee mode with *debug* suffix is recommended.”
- ESP32C5 Dev Module: MatterNetwork options “esp32c5.menu.MatterNetwork.default=Disabled”
- Arduino IDE Tools menu for ESP32: Matter Network “esp32c5.menu.MatterNetwork.wifi.build.matter_mode=-DARDUINO_MATTER_NETWORK_WIFI … esp32c5.menu.MatterNetwork.wifi.build.matter_libs=-lespressif__esp_matter.wifi … esp32c5.menu.MatterNetwork.thread.build.matter_mode=-DARDUINO_MATTER_NETWORK_THREAD … esp32c5.menu.MatterNetwork.thread.build.matter_libs=-lespressif__esp_matter.thread … C5 is H2-style (Wi-Fi station off in that Matter `.a`).”
- Arduino Nano ESP32: PinNumbers options “nano_nora.menu.PinNumbers.default=By Arduino pin (default)”
- Arduino IDE Tools menu for ESP32: Pin Numbering “nano_nora.build.defines=-DBOARD_HAS_PIN_REMAP {build.disable_pin_remap} … nano_nora.menu.PinNumbers.default=By Arduino pin (default) … nano_nora.menu.PinNumbers.byGPIONumber=By GPIO number (legacy) … ozobot_drvkit.menu.PinNumbers.byGPIONumber=By GPIO number (legacy) … nano_nora.menu.PinNumbers.byGPIONumber.build.disable_pin_remap=-DBOARD_USES_HW_GPIO_NUMBERS … #if defined(BOARD_HAS_PIN_REMAP) && !defined(BOARD_USES_HW_GPIO_NUMBERS) … // Apply pin remapping to API only when building libraries and user sketch … #define analogRead(pin) analogRead(digitalPinToGPIONumber(pin))”
- arduino-esp32 3.3.12: docs/en/troubleshooting.rst primary
What it confirms (4)
- Arduino IDE Tools menu for ESP32: USB CDC On Boot “If you use the UART connector, you should disable USB-CDC on boot under the Tools menu (-D ARDUINO_USB_CDC_ON_BOOT=0). If you use the USB connector, you should have that enabled (-D ARDUINO_USB_CDC_ON_BOOT=1) and set USB Mode to "Hardware CDC and JTAG" (-D ARDUINO_USB_MODE=1). … USB-CDC may not be able to initialize in time to catch all the data if your device is in a tight reboot loop.”
- Arduino IDE Tools menu for ESP32: Upload Mode “Hold down the **“BOOT”** button on your ESP32 board while uploading/flashing.”
- Arduino IDE Tools menu for ESP32: Flash Mode “Note that WROOM-2 has always OPI. … esp32s3-octal.name=ESP32S3 Dev Module Octal (WROOM2) … esp32s3-octal.build.boot=opi”
- Arduino IDE Tools menu for ESP32: PSRAM “ESP32-S3 is rebooting even with a bare minimum sketch … - For QSPI go to Tools > PSRAM > QSPI PSRAM … - For OPI go to Tools > PSRAM > OPI PSRAM … | WROOM-1 | N8R2 | QSPI | QSPI | … | WROOM-1 | N8R8 | QSPI | OPI | … Note that WROOM-2 has always OPI.”
- arduino-esp32 3.3.12: cores/esp32/main.cpp primary
What it confirms (1)
- Arduino IDE Tools menu for ESP32: USB Mode “#if ARDUINO_USB_MSC_ON_BOOT && !ARDUINO_USB_MODE … #if ARDUINO_USB_DFU_ON_BOOT && !ARDUINO_USB_MODE”
- arduino-esp32 3.3.12: docs/en/guides/tools_menu.rst primary
What it confirms (1)
- Arduino IDE Tools menu for ESP32: CPU Frequency “This option is critical and must be selected according to the high-frequency crystal present on the board and the radio usage (Wi-Fi and Bluetooth).”
- arduino-esp32 3.3.12: docs/en/api/usb_cdc.rst primary
What it confirms (1)
- Arduino IDE Tools menu for ESP32: Core Debug Level “This function will enable the debug output, usually from the `UART0`, to the USB CDC. … CONFIG_LOG_DEFAULT_LEVEL_ERROR=y # Errors - default”
- arduino-esp32 3.3.12: docs/en/zigbee/zigbee_core.rst primary
What it confirms (1)
- Arduino IDE Tools menu for ESP32: Zigbee Mode “Depending on the Zigbee role, proper Zigbee mode and partition scheme must be set in the Arduino IDE. … Partition scheme to ``Zigbee ZCZR xMB with spiffs`` … Partition scheme to ``Zigbee xMB with spiffs``”
- arduino-esp32 3.3.12: docs/en/matter/matter.rst primary
What it confirms (1)
- Arduino IDE Tools menu for ESP32: Matter Network “Select **"Huge APP (3 MB No OTA / 1 MB SPIFFS)"** from **Tools > Partition Scheme** menu. … Enable **"Erase All Flash Before Sketch Upload"** option from **Tools** menu.”
- Arduino Docs: Nano ESP32 Selecting Pin Configuration (docs-content source) primary
What it confirms (1)
- Arduino IDE Tools menu for ESP32: Pin Numbering “some libraries previously written for ESP32 boards (to name a few: OneWire, FastLED, ESP32Servo) don't support the pin numbers printed on the board and require you to refer to the internal microcontroller's GPIO number instead. … go to **Tools > Pin Numbering**”
- Arduino CLI v1.6.0: internal/arduino/cores/board.go primary
What it confirms (1)
- Default option “values := optionProps.FirstLevelKeys() … b.defaultConfig.Set(option, values[0])”