M5Stack Core ESP32

Hardware

Platform Espressif 32: ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and Bluetooth. ESP32 integrates an antenna switch, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules.

Microcontroller

ESP32

Frequency

240MHz

Flash

4MB

RAM

320KB

Vendor

M5Stack

Configuration

Please use m5stack-core-esp32 ID for board option in “platformio.ini” (Project Configuration File):

[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32

You can override default M5Stack Core ESP32 settings per build environment using board_*** option, where *** is a JSON object path from board manifest m5stack-core-esp32.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32

; change microcontroller
board_build.mcu = esp32

; change MCU frequency
board_build.f_cpu = 240000000L

Uploading

M5Stack Core ESP32 supports the following uploading protocols:

  • espota

  • esptool

Default protocol is esptool

You can change upload protocol using upload_protocol option:

[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32

upload_protocol = esptool

Debugging

Debugging currently does not support M5Stack Core ESP32 board.

Frameworks

Name

Description

Arduino

Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.

Espressif IoT Development Framework

Espressif IoT Development Framework. Official development framework for ESP32 chip