https://m5stack.readthedocs.io/en/master/index.html
C言語API
https://github.com/m5stack/M5Stack/blob/master/src/M5Stack.h#L19
https://docs.platformio.org/en/latest/
参考
https://qiita.com/zakkied/items/cbbccdc1be4e4da9f7f9
デバイスアクセスツール
参考
https://github.com/espressif/esptool
pip install esptool
esptool.py --chip esp32 elf2image my_esp32_app.elf
esptool.py --chip esp32 --port /dev/ttyUSB0 -b 1500000 erase_flash
esptool.py --chip esp32 --port /dev/ttyUSB0 -b 1500000 write_flash --flash_mode dio -z 0x1000 firmware.bin