当前位置:网站首页>ESP32学习-向工程项目添加文件夹
ESP32学习-向工程项目添加文件夹
2022-04-23 06:19:00 【什么时候才能像大佬一样厉害】
方法一 通过命令行的形式
项目工程的文件夹下,执行在命令行:
idf.py -C components create-component my_component
方法二 修改项目文件的CMakeLists
修改前:
# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
# The following five lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(TestenvPro)
修改后:
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS "./components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(TestenvPro)
版权声明
本文为[什么时候才能像大佬一样厉害]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_36016038/article/details/124334142
边栏推荐
- PyTorch 18. torch. backends. cudnn
- 可视化常见问题解决方案(八)共享绘图区域问题解决方案
- 江宁医院DMR系统解决方案
- 在项目中的定时作用
- PyTorch 14. Module class
- SQL练习第一题
- Solution of emergency communication system for major security incidents
- Emergency air space integrated communication system scheme of Guangxi Power Grid
- [8] Assertion failed: dims. nbDims == 4 || dims. nbDims == 5
- remote: Support for password authentication was removed on August 13, 2021.
猜你喜欢
Solution of self Networking Wireless Communication intercom system in Beifeng oil and gas field
后台管理系统框架,总有你想要的
利用mysql-binlog恢复数据
How to improve the service efficiency of the hotel without blind spots and long endurance | public and Private Integrated walkie talkie?
关于短视频平台框架搭建与技术选型探讨
Urban emergency management - urban emergency communication command and dispatching system
自组网灵活补盲|北峰油气田勘测解决方案
Meishe technology launches professional video editing solution for desktop -- Meiying PC version
江宁医院DMR系统解决方案
Source Insight 4.0常见问题
随机推荐
enforce fail at inline_ container. cc:222
Gather, unsqueeze and other operators when PTH is converted to onnx
Swin transformer to onnx
HuggingFace
南方投资大厦SDC智能通信巡更管理系统
Machine vision series (02) -- tensorflow2 3 + win10 + GPU installation
自组网灵活补盲|北峰油气田勘测解决方案
Jupyter Notebook 安装
免费开源智能充电桩物联网SAAS云平台
Systrace parsing
Statement of American photography technology suing Tianmu media for using volcanic engine infringement code
可视化常见绘图(五)散点图
PyTorch 10. Learning rate
关于短视频技术轮廓探讨
字节数仓实习生面试sql题
go语言映射操作
Solution of wireless intercom system in Commercial Plaza
数据分析学习(一)数据分析和Numpy基础
记录阿里云服务器挖矿程序处理
重大安保事件应急通信系统解决方案