ESP32接入腾讯云物联网编译详细过程
1、下载 ESP-IDF 的 release/v4.2 分支,这个资源在ESP网站可以找到
2、安装idf.py 工具
$ etc/profile 下面
3、进入 esp-idf 运行 install.sh直到全部安装完成
4、运行 . ./export.sh
5、 下载espressif/esp-qcloud
cd esp-idf/esp-qcloud/example/led_light //进入工程目录
idf.py set-target esp32 //选择esp32模组,如果选择esp32s2模组,则设置指令idf.py set-target esp32s2
idf.py menuconfig // 进入 menuconfig 配置界面
6、配置后烧写程序
idf.py build //编译
idf.py flash //下载
idf.py monitor //打开串口打印