ESP32-C2芯片怎么配置?

hscxg888
Posts: 6
Joined: Mon May 18, 2020 2:13 am

ESP32-C2芯片怎么配置?

Postby hscxg888 » Fri Oct 14, 2022 4:03 am

我下载了最新的ESP-IDF版本:esp-idf-v4.4.2, 开发板是:ESP8684-DevKitM-1, 这应该是配置为ESP32-C2目标芯片,

我首先测试ESP-IDF里面的hello_world项目,按官网上说明:输入:idf.py set-target esp32c2,配置ESP32-C2目标芯片

结果报告以下错误信息:

D:\ESP8684\Soft\examples\get-started\hello_world>idf.py set-target esp32c2

Usage: idf.py set-target [OPTIONS] {esp32|esp32s2|esp32c3|esp32s3|linux|esp32h2}

Try 'idf.py set-target --help' for help.

Error: Invalid value for '{esp32|esp32s2|esp32c3|esp32s3|linux|esp32h2}': 'esp32c2' is not one of 'esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'linux', 'esp32h2'.

好像是不支持 esp32c2 这个型号?

请问这个问题怎么解决,谢谢!

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

Re: ESP32-C2芯片怎么配置?

Postby ESP_morris » Fri Oct 14, 2022 10:16 am

C2 是在IDF 5.0开始的支持的, 请看这个表格:https://github.com/espressif/esp-idf#es ... patibility

hscxg888
Posts: 6
Joined: Mon May 18, 2020 2:13 am

Re: ESP32-C2芯片怎么配置?

Postby hscxg888 » Sat Oct 15, 2022 1:01 am

哦,官网 https://dl.espressif.cn/dl/esp-idf/?idf=4.4 提供的ESP-IDF下载版本最高也就是 V4.4.2, 没有5.0版本的。

我在github下载了esp-idf-release-v5.0.zip, 但是不知道怎么安装啊,有没有esp-idf-release-v5.0安装说明啊?

请指点,谢谢!

Who is online

Users browsing this forum: Google [Bot] and 101 guests