ESP-IDF and ESP-ADF on M5Core2
Rop last edited by
I've created some components that might be useful for those that like programming M5Core2 using Espressif's Integrated Development Framework (ESP-IDF). It's a bit more complex to wrap your head around than Arduino, but then compiling is blazingly fast and you end up with more powerful tools at your disposal. And with the components I built at least some of the pain out of getting something working on the M5Core2.
m5core2_esp-idf_demo is a demo program that uses the lvgl display/touch interface library and also showcases both my i2c_manager thread-safe library as well as the m5core2_axp192 library to set up and control the power management in the M5Core2.
m5core2_adf is a component that will let you use the M5Core2 as an audio board for Espressif's Audio Development Framework (ESP-ADF). Anything from playing and recording sound to streaming MP3s and even voice recognition.