M5Stack Core2
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 | 16MB | 
| RAM | 4.31MB | 
| Vendor | 
Configuration
Please use m5stack-core2 ID for board option in “platformio.ini” (Project Configuration File):
[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
You can override default M5Stack Core2 settings per build environment using
board_*** option, where *** is a JSON object path from
board manifest m5stack-core2.json. For example,
board_build.mcu, board_build.f_cpu, etc.
[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
; change microcontroller
board_build.mcu = esp32
; change MCU frequency
board_build.f_cpu = 240000000L
Uploading
M5Stack Core2 supports the following uploading protocols:
- espota
- esptool
Default protocol is esptool
You can change upload protocol using upload_protocol option:
[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
upload_protocol = esptool
Debugging
Debugging currently does not support M5Stack Core2 board.
Frameworks
| Name | Description | 
|---|---|
| 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. Official development framework for ESP32 chip |