“The “M5StickC” is a very compact ESP32 unit with inbuilt battery, screen, buttons, 6-Axis IMU etc. (Although note that the updated M5StickCplus has 3 useful improvements (IMO) over this original M5StickC, being: an internal-passive-buzzer, a bigger screen, and a larger internal-battery).
It can be programmed using the Arduino IDE with the standard ESP32 software from “github.com/espressif/arduino-esp32” together with the small library (“IncludeLibrary/Add.ZIPLibrary”) from “github.com/m5stack/M5StickC”. This small library has the “M5StickC.h” and “M5StickC.cpp” files, as well as the library-files necessary to use the integrated hardware, and usage examples. In the Arduino IDE 1.8.x you need to select the board “M5Stick-C” and then add the line “#include M5StickC.h” at the top of your sketch. (Currently it doesn't seem to work with Arduino IDE v2.0!)
(Note that you do NOT need to install the “Additional Board Manager/.json file” from “m5stack.oss-cn-shenzhen.aliyuncs.com”).
Rob S”