vscode ESP32配置

一、自定义文件组件使用xxxx.c xxxx.h

1: 控制端工程目录创建组件文件夹

idf.py -C components create-component User_led

2: 定义组件如果引用指定外部依赖库,当前文件的cmakelists.txt 添加 REQUIRES driver

c 复制代码
idf_component_register(SRCS "uesr_led.c"
                    INCLUDE_DIRS "include" "."#)
                    REQUIRES driver)#           指定外部依赖库     main文件夹默认指定
                    #PRIV_REQUIRES gpio)
相关推荐
电饭叔41 分钟前
Jupyter学习中的问题--FileNotFoundError
ide·学习·jupyter
noBt1 小时前
Windows IDEA 卡顿严重
java·ide·intellij-idea
小疙瘩5 小时前
去掉 IDEA 中 mybatis配置文件的局部背景颜色(图解)
java·ide·intellij-idea
zhanglianzhao6 小时前
Win 11 WSL 配置Claude code 并在VsCode中使用
ide·vscode·编辑器·claude·cladue code
Keying,,,,6 小时前
VScode中终端闪退问题
ide·vscode·编辑器
热爱生活的五柒6 小时前
如何在vscode中使用Claude code以及插件中配置setting.json无效的解决方法
ide·vscode·编辑器
ONLYOFFICE7 小时前
ONLYOFFICE 自动化工具:宏和 AI 函数如何选择?
运维·自动化·编辑器·onlyoffice
dzj20218 小时前
Visual Studio2022中好用的AI编码工具介绍——Windsurf(Codeium)
ide·ai·visual studio·code
浩瀚之水_csdn8 小时前
vscode中运行html语言
ide·vscode·html
未来之窗软件服务8 小时前
工作自动化(1)用户引导自动化教程开发——仙盟创梦IDE
运维·ide·自动化·仙盟创梦ide·东方仙盟