M5Stick-C

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 m5stick-c ID for board option in “platformio.ini” (Project Configuration File):

[env:m5stick-c]
platform = espressif32
board = m5stick-c

You can override default M5Stick-C settings per build environment using board_*** option, where *** is a JSON object path from board manifest m5stick-c.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:m5stick-c]
platform = espressif32
board = m5stick-c

; change microcontroller
board_build.mcu = esp32

; change MCU frequency
board_build.f_cpu = 240000000L

Uploading

M5Stick-C supports the following uploading protocols:

  • espota

  • esptool

Default protocol is esptool

You can change upload protocol using upload_protocol option:

[env:m5stick-c]
platform = espressif32
board = m5stick-c

upload_protocol = esptool

Debugging

Debugging currently does not support M5Stick-C 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