Logo
M5Stack Core2 Display
Model reference: K010
M5Stack Core2

Available from:
Banggood.com
Aliexpress.com
Amazon.com


Manufacturer:
M5stack.com


Template for ESP32 device
{"NAME":"M5Stack Core2","GPIO":[1,1,1,1,6720,6368,0,0,0,1,1,6400,0,0,736,1,0,0,0,704,0,1,1,1,0,0,0,0,640,608,1,1,1,0,672,0],"FLAG":0,"BASE":7}
Download a tasmota32 binary to flash. Flashing instructions.

Use tasmota32-core2.bin binary!

Compiling

Use latest Tasmota development release and set in user_config_override.h

#define USE_M5STACK_CORE2  
#define USE_SCRIPT_FATFS 4  
#define FAT_SCRIPT_SIZE 8192  
#define USE_SCRIPT  
#define USE_I2C  
#define USE_BMA423  
#define SAY_TIME  
#define USE_WEBRADIO  
#define USE_DISPLAY  
#define USE_SPI  

#define USE_DISPLAY_ILI9342  
#define USE_TOUCH_BUTTONS  
#define MAXBUTTONS 16
#define JPEG_PICTS  
#define USE_FT5206  
#define USE_MPU6886  

add this in platformio.ini to build_flags:

-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue

Fully supported with all sensors and SD card.

Special commands

core2shutdown <seconds> - shut down hardware and wake up after N seconds (>=30) core2shutdown <HH:MM> - shut down hardware and wake up on HH:MM time