I added a couple features to M5StickC-IDF, the ESP-IDF component for M5StickC.
M5StickC-IDF now supports the main button on the device and identifies «click» and «hold» events. The component creates a custom event loop called
m5_event_loop the user program can subscribe to and listen to the events. Using FreeRTOS functions and completely interrupt-driving.
Until now, to include external embedded fonts you had to edit several files of Loboris’ TFT library. I modified it so
TFT_setFont() function call accepts external embedded fonts without editing a single line of the component’s code.
Take a look at the project: https://github.com/pablobacho/m5stickc-idf