M5StickC Program Compilation and Flashing

1. Preparation

2. USB Driver Installation

Connect the device to the PC, open the device manager to install the FTDI driver for the device. For Windows 10, download the driver file matching your operating system, unzip it, and install it through the device manager. (Note: In some system environments, it may be necessary to install the driver twice for it to take effect. The unrecognized device name is usually M5Stack or USB Serial. It is recommended to use the driver file for direct installation through the device manager in Windows (custom update), as the executable file installation method may not work properly). Click here to download the FTDI driver

For MacOS users, please check System Preferences -> Security & Privacy -> General -> Allow apps downloaded from: -> App Store and identified developers before installing.

3. Port Selection

  1. Connect the device to the computer via USB cable. After completing the driver installation, you can select the corresponding device port in the Arduino IDE.

4. Program Compilation & Flashing

  1. Open the example program from the driver library, click the upload button, and the program will automatically compile and flash.
On This Page