
M5Stack-Station 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-Station
ESP32 board in a dock-style enclosure - built for desktop-style IoT dashboards and HMI stations.
Technical Specifications
Complete technical specification details for M5Stack-Station
Display
Connectivity
Microcontroller
✨ Features & Pins
Quick Setup
Copy-paste configs for M5Stack-Station - auto‑generated from this board's exact hardware specs.
In Arduino IDE 2 select M5stack Station 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 Station" for the M5Stack-Station.
[env:m5stack-station]
platform = espressif32
board = esp32dev
framework = arduino
; Exact hardware config for M5Stack-Station
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-Station - 240 MHz ESP32
# Flash: 16MB | USB: N/APaste 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-Station
Pin Mappings
Complete pinout and GPIO mapping for M5Stack-Station
| Pin | Analog | Touch | PWM | Other |
|---|---|---|---|---|
| 1 | TX G1 | |||
| 3 | RX G3 | |||
| 4 | G4 | |||
| 5 | SS G5 | |||
| 13 | RXD1 G13 | |||
| 14 | TXD1 G14 | |||
| 16 | RXD2 G16 | |||
| 17 | TXD2 G17 | |||
| 18 | SCK G18 | |||
| 19 | G19 | |||
| 23 | MOSI G23 | |||
| 25 | G25 DAC1 | |||
| 26 | G26 DAC2 | |||
| 32 | SDA G32 | |||
| 33 | SCL G33 | |||
| 35 | G35 ADC1 | |||
| 36 | G36 ADC2 | |||
| 37 | G37 | |||
| 38 | G38 | |||
| 39 | G39 | |||
| -1 | MISO |
Default Tools & Configuration
Build and upload settings for M5Stack-Station
| 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 | 6400 KB (6553600 bytes) |
| Maximum data size | 4416 KB (4521984 bytes) |
The M5Stack-Station 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: 6400 KB | Max data size: 4416 KB
Similar Boards
Other development boards with ESP32 microcontroller

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

M5Stick-C
M5Stick-C development board is based on esp32 microcontroller and uses xtensa architecture.

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