pdf-icon

M5NanoC6 Programming Compilation and Flashing

1. Preparation

2. Configuring the Arduino IDE

  1. Open the Arduino IDE.
  2. Go to File > Preferences (or Arduino > Preferences on Mac).

3. Adding the URL for ESP32-C6 Support

In the Preferences window, find the "Additional Board Manager URLs" field, and add the following URL:

https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json

If there are other URLs already there, just separate them with a comma.

Click “OK” to save your changes.

4. Installing Support for ESP32 Development Board

  1. Go to Tools > Board > Boards Manager.
  2. In the Boards Manager, search for ESP32.
  3. Find ESP32 by Espressif Systems in the search results and click install.

After installation, you will have support for the ESP32-C6 development board.

5. Selecting Your Development Board

  1. Go to Tools > Board and find the specific model of the ESP32-C6 development board in the ESP32 section.
  2. Select the board that fits your project.

6. Configuring Board Settings

Configure the board settings (e.g., port and upload rate) according to the needs of your project. These settings can be adjusted in the Tools menu.

7. Start Developing

Now that your Arduino IDE is set up for ESP32-C6 development, you can begin your project development.

#define LED_PIN    7
void setup() {
  pinMode(LED_PIN , OUTPUT);
  digitalWrite(LED_PIN, HIGH); 
}
void loop() {

}

Upload the code to see the blue led light on the M5NanoC6 device

On This Page