ardiuno ide esp32c3
arduino ide 环境搭建
IDE 下载地址
添加boards manager URLS:
STEP: FILE->Preference
Stable release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
esp32 选择这个地址
Development release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
esp32c3 需要选择这个地址
安装esp32 library
board manager:esp32 然后install
连接并配置下载选项
- 选择ESP32C3 DEV 开发板
- FLASH MODE DIO
- Flash Size 2M
- Partition Scheme minimal spiffs 最后一个选项
下载配置信息需要确认选择正确否则烧录后启动异常
下载验证
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("HelloWorld");
delay(500);
}
下载并运行
例子
https://github.com/espressif/arduino-esp32/tree/master/libraries
官方文档
https://docs.espressif.com/projects/arduino-esp32/en/latest/getting_started.html