For Arduino IDE installation, please refer to https://docs.m5stack.com/en/arduino/arduino_ide.
Install the following dependent libraries:
Install ESP32 LittleFS Uploader
Arduino IDE 1.8.x: Install ESP32 LittleFS Uploader
Arduino IDE 2.x: Install ESP32 LittleFS Uploader
Click upload
, Wait for compilation and writing to complete.
Then, upload the files to the ESP32 board. Press [Ctrl] + [Shift] + [P] on Windows or [⌘] + [Shift] + [P] on MacOS to open the command palette. Search for the Upload LittleFS to Pico/ESP8266/ESP32 command and click on it.
Install Visual Studio Code and Python
Search for the PlatformIO
plugin in the VisualStudioCode
extension and install it.
After the installation is complete, you need to restart VisualStudioCode
After restarting VisualStudioCode
, select File
in the upper left corner of VisualStudioCode
-> Open Folder
-> select the AirQUserDemo
directory
Wait for the installation of third-party dependent libraries to complete
Click (→) to upload firmware
Click (Upload Filesystem Image) to upload firmware