M5Stack GREY ESP32

Hardware

Platform Espressif 32: Espressif Systems is a privately held fabless semiconductor company. They provide wireless communications and Wi-Fi chips which are widely used in mobile devices and the Internet of Things applications.

Microcontroller

ESP32

Frequency

240MHz

Flash

16MB

RAM

520KB

Vendor

M5Stack

Configuration

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

[env:m5stack-grey]
platform = espressif32
board = m5stack-grey

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

[env:m5stack-grey]
platform = espressif32
board = m5stack-grey

; change microcontroller
board_build.mcu = esp32

; change MCU frequency
board_build.f_cpu = 240000000L

Uploading

M5Stack GREY ESP32 supports the next uploading protocols:

  • espota

  • esptool

Default protocol is esptool

You can change upload protocol using upload_protocol option:

[env:m5stack-grey]
platform = espressif32
board = m5stack-grey

upload_protocol = esptool

Debugging

PIO Unified Debugger currently does not support M5Stack GREY 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.

ESP-IDF

Espressif IoT Development Framework. Official development framework for ESP32.