VSCode配置esp-idf-v4.4

由于最近项目使用esp32-S3的模组,需要将环境升级到esp-idf-v4.4

esp-idf-v4.4文档地址:

ESP-IDF 编程指南 - ESP32 - — ESP-IDF 编程指南 v4.4 文档

esp-idf-v4.4下载地址:

Releases · espressif/esp-idf · GitHub

https://github.com/espressif/esp-idf/releases/download/v4.4/esp-idf-v4.4.zip

https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v4.4/esp-idf-v4.4.zip

esp-idf-tools下载地址:

https://dl.espressif.com/dl/esp-idf/

下载第二个Espressif-IDF 2.4.0 with ESP-IDF v4.4的安装包,离线安装,并且同时自动安装了esp-idf v4.4和一个Espressif-IDE

配置VSCode

打开VSCode,安装乐鑫插件Espressif IDF v1.4.0 

按F1键,输入Configure ESP-IDF extension,选择配置ESP-IDF插件 

选择ADVANCED方式配置


音频库

esp-adf文档

https://docs.espressif.com/projects/esp-adf/en/latest/?badge=latest?badge=latest

esp-adf下载地址:

https://github.com/espressif/esp-adf/releases

https://codeload.github.com/espressif/esp-adf/zip/refs/tags/v2.3

实际下载的包没有包含子模块,如下是通过git克隆,并获取子模块

# 克隆esp-adf到esp-adf-v2.3目录(不包含子目录)
git clone https://github.com/espressif/esp-adf.git esp-adf-v2.3
# 进入esp-adf-v2.3目录
cd esp-adf-v2.3/
# 切换到v2.3
git checkout v2.3
# 获取子模块
git submodule update --init --recursive

不是很完成,先这样吧

参考:

VS Code 配置ESP-IDF_坤仔的专栏-优快云博客_esp idf vscode在扩展搜索idf,即可看到Espressif IDF,点击安装按F1键,输入ESP-IDF:Configure ESP-IDF extension,打开配置页面,安装后似乎也会自动弹出配置页面点击STARTPython要求版本3.7及以上继续Configure ESP-IDF我下载了ESP-IDF包,所以这里选择Find ESP-IDF in your system下载路径:https://github.com/espressif/esp-idf/releaseshttps://blog.youkuaiyun.com/chenjk10/article/details/106166744ESP32 ADF windows开发环境搭建 适配ADF到ESP32A1S_杀手的博客-优快云博客_adf esp32https://blog.youkuaiyun.com/weixin_44821644/article/details/107893487

esp32-freertos-sdk 工具包 See the Getting Started guide links above for a detailed setup guide. This is a quick reference for common commands when working with ESP-IDF projects: Setup Build Environment (See Getting Started guide for a full list of required steps with details.) Install host build dependencies mentioned in Getting Started guide. Add tools/ directory to the PATH Run python -m pip install -r requirements.txt to install Python dependencies Configuring the Project idf.py menuconfig Opens a text-based configuration menu for the project. Use up & down arrow keys to navigate the menu. Use Enter key to go into a submenu, Escape key to go out or to exit. Type ? to see a help screen. Enter key exits the help screen. Use Space key, or Y and N keys to enable (Yes) and disable (No) configuration items with checkboxes "[*]" Pressing ? while highlighting a configuration item displays help about that item. Type / to search the configuration items. Once done configuring, press Escape multiple times to exit and say "Yes" to save the new configuration when prompted. Compiling the Project idf.py build ... will compile app, bootloader and generate a partition table based on the config. Flashing the Project When the build finishes, it will print a command line to use esptool.py to flash the chip. However you can also do this automatically by running: idf.py -p PORT flash Replace PORT with the name of your serial port (like COM3 on Windows, /dev/ttyUSB0 on Linux, or /dev/cu.usbserial-X on MacOS. If the -p option is left out, idf.py flash will try to flash the first available serial port. This will flash the entire project (app, bootloader and partition table) to a new chip. The settings for serial port flashing can be configured with idf.py menuconfig. You don't need to run idf.py build before running idf.py flash, idf.py flash will automatically rebuild anything which needs it. Viewing Serial Output The idf.py monitor target uses the idf_monitor tool to display se
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值