
M5Stack-Core-ESP32 is a development board based on the ESP32 microcontroller using XTENSA architecture.
This board features a maximum CPU frequency of 240 MHz and 16MB flash memory.
About M5Stack-Core-ESP32
Modular ESP32 development kit with display and case - perfect for rapid IoT and UI-based prototyping.
Technical Specifications
Complete technical specification details for M5Stack-Core-ESP32
Display
USB
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for M5Stack-Core-ESP32 - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select M5stack Core Esp32 from the esp32 by Espressif package. In PlatformIO use board = esp32dev. ESP32 · 240 MHz · 16MB · DIO.
In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "M5stack Core Esp32" for the M5Stack-Core-ESP32.
[env:m5stack-core-esp32]
platform = espressif32
board = esp32dev
framework = arduino
; Exact hardware config for M5Stack-Core-ESP32
board_build.mcu = esp32
board_build.f_cpu = 240000000L
board_build.flash_size = 16MB
board_build.flash_mode = dio
board_upload.flash_size = 16MBThe board value is a close generic match - check PlatformIO board registry for an exact fit.
esp32:
board: esp32dev
framework:
type: arduino # or "esp-idf"
# M5Stack-Core-ESP32 - 240 MHz ESP32
# Flash: 16MB | USB: USB-CPaste into your device's .yaml. See ESPHome ESP32 docs for full options.
esptool.py \
--chip esp32 \
--baud 921600 \
write_flash \
--flash_mode dio \
--flash_size 16MB \
0x1000 bootloader.bin \
0x8000 partitions.bin \
0xe000 boot_app0.bin \
0x10000 firmware.binInstall: pip install esptool - replace firmware.bin with your binary - bootloader at 0x1000
Useful Links
Datasheets and resources for M5Stack-Core-ESP32
Pin Mappings
Complete pinout and GPIO mapping for M5Stack-Core-ESP32
| Pin | Analog | Touch | PWM | Other |
|---|---|---|---|---|
| 0 | G0 | |||
| 1 | PWM | TX G1 | ||
| 2 | PWM | G2 | ||
| 3 | PWM | RX G3 | ||
| 5 | PWM | SS G5 | ||
| 12 | PWM | G12 | ||
| 13 | PWM | G13 | ||
| 15 | PWM | G15 | ||
| 16 | PWM | RXD2 G16 | ||
| 17 | PWM | TXD2 G17 | ||
| 18 | PWM | SCK G18 | ||
| 19 | PWM | MISO G19 | ||
| 21 | PWM | SDA G21 | ||
| 22 | PWM | SCL G22 | ||
| 23 | PWM | MOSI G23 | ||
| 25 | PWM | G25 DAC1 | ||
| 26 | PWM | G26 DAC2 | ||
| 34 | G34 | |||
| 35 | G35 ADC1 | |||
| 36 | G36 ADC2 |
Default Tools & Configuration
Build and upload settings for M5Stack-Core-ESP32
| Setting | Value |
|---|---|
| Bootloader tool | esptool_py |
| Uploader tool | esptool_py |
| Network uploader tool | esp_ota |
| Bootloader address | 0x1000 |
| Flash mode | dio |
| Boot mode | dio |
| Maximum upload size | 1280 KB (1310720 bytes) |
| Maximum data size | 320 KB (327680 bytes) |
The M5Stack-Core-ESP32 uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.
Flash mode: dio | Boot mode: dio
Max sketch size: 1280 KB | Max data size: 320 KB
Similar Boards
Other development boards with ESP32 microcontroller

M5Stack-Core2
M5Stack-Core2 development board is based on esp32 microcontroller and uses xtensa architecture.

M5Stack-ATOM
M5Stack-ATOM development board is based on esp32 microcontroller and uses xtensa architecture.

M5Stack-Station
M5Stack-Station development board is based on esp32 microcontroller and uses xtensa architecture.
