M5Stick-C¶
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 | 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 next 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¶
PIO Unified Debugger 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. |
ESP-IDF | Espressif IoT Development Framework. Official development framework for ESP32. |