Skip to content

基础使用

配置芯片

image-20240523222949596

这一个是USB转串口

具体的配置

image-20240523224143065

image-20240523223926210

image-20240523224129882

命令行的使用

image-20240523224659338

image-20240523224846186

bash
PS E:\alearn\EDP-IDF-5.2\Espressif\frameworks\esp-idf-v5.2.1> cd E:\JHY\esp32\hello_world\
PS E:\JHY\esp32\hello_world> idf.py set-target esp32  # 设置芯片
PS E:\JHY\esp32\hello_world> idf.py menuconfig  # 设置flash

image-20240523225133788

image-20240523225212889

q: 退出

bash
idf.py build  # 编译
idf.py -p COM7 flash  #下载
idf.py -p COM7 monitor # 打开终端

可以使用Ctrl + ] 退出终端