ESP32-S3 Board Design
1esp32s3.idf.py -p flash monitor.Table
| Board signal | ESP32-S3 pin | Notes |
|---|---|---|
| USB_D− | GPIO19 | Native USB Serial/JTAG; do not repurpose |
| USB_D+ | GPIO20 | Native USB Serial/JTAG; do not repurpose |
| BOOT | GPIO0 | Strap; low during reset enters download mode |
| RESET | CHIP_PU | Active low hardware enable/reset |
| J3 GPIO1 | GPIO1 | General GPIO / ADC |
| J3 GPIO2 | GPIO2 | General GPIO / ADC |
| J3 GPIO4–14 | GPIO4–14 | General GPIO; ADC/touch functions vary by pin |
| J3 GPIO15 | XTAL_32K_P / GPIO15 | Available only because no 32 kHz crystal is fitted |
| J3 GPIO16 | XTAL_32K_N / GPIO16 | Available only because no 32 kHz crystal is fitted |
| J3 GPIO17 | GPIO17 | General GPIO |
| J3 GPIO18 | GPIO18 | General GPIO |
| J3 GPIO21 | GPIO21 | General GPIO |
C
#include "driver/gpio.h" void app_main(void) { gpio_config_t io = { .pin_bit_mask = 1ULL << 4, .mode = GPIO_MODE_OUTPUT, .pull_up_en = 0, .pull_down_en = 0, .intr_type = GPIO_INTR_DISABLE, }; gpio_config(&io); gpio_set_level(GPIO_NUM_4, 1); }
Toolchain
Programming Sequence
Pin Map
Minimal ESP-IDF Configuration
Example GPIO Bring-Up
Startup Order
Cautions