当前位置:网站首页>Esp-idf adds its own components
Esp-idf adds its own components
2022-06-12 17:58:00 【xiaoqi976633690】
stay main Create your own... In the folder app Folder , To store your own components .

app Internal documents are as follows :

modify 2 It's a place cmakelist.txt
main In the folder cmakelist.txt as follows :
idf_component_register( SRCS "main.c"
SRCS "APP/GPIOX.C"
INCLUDE_DIRS "."
INCLUDE_DIRS "app"
)
SRCS Namely .c file .
INCLUDE_DIRS Namely .h Folder
APP In the folder cmakelist.txt as follows :
idf_component_register(
SRCS "gpiox.c"
INCLUDE_DIRS "."
)
INCLUDE_DIRS “.” Represents the current directory
Add multiple source files
main In the folder cmakelist.txt as follows :
idf_component_register( SRCS "main.c"
SRCS "APP/GPIOX.C"
SRCS "APP/1.C"
SRCS "APP/2.C"
SRCS "APP/3.C"
SRCS "APP/4.C"
INCLUDE_DIRS "."
INCLUDE_DIRS "app"
)
app In the folder cmakelist.txt as follows :
idf_component_register(
SRCS "gpiox.c"
SRCS "1.C"
SRCS "2.C"
SRCS "3.C"
SRCS "4.C"
INCLUDE_DIRS "."
)
边栏推荐
- 認識函數原創
- 118. Yanghui triangle (dynamic planning)
- Authorization in Golang ProjectUseing Casbin
- 小程序+App,低成本获客及活跃的一种技术组合思路
- 徽商期货公司开户可靠,交易安全吗?
- 数组按指定顺序排序
- Graphical data model for system design
- An easy-to-use IDE for small programs
- Two ways of tensorflow2 training data sets
- vant3+ts+pinia tab选项卡列表页面点击进详情,详情页返回tab高亮在原位置,刷新高亮默认在第一项
猜你喜欢

赛程更新| 2022微软与英特尔黑客松大赛火热报名中
![[csp]202012-2 optimal threshold for period end forecast](/img/40/9b59bd692bcfe05d16614cc6d55d1f.png)
[csp]202012-2 optimal threshold for period end forecast

vant3+ts+pinia tab选项卡列表页面点击进详情,详情页返回tab高亮在原位置,刷新高亮默认在第一项

Vant3+ts dropdownmenu drop-down menu, multi data can be scrolled

DRM driven MMAP detailed explanation: (I) preliminary knowledge

vant3+ts DropdownMenu 下拉菜单,数据多能滚动加载

Vant3 +ts packaged simple step advancer component

App中快速复用微信登录授权的一种方法

轻量、便捷的小程序转App技术方案,实现与微信/流量App互联互通

An easy-to-use IDE for small programs
随机推荐
String s = null ; String s = new String(); String s = "; what is the difference between string s?
566. reshaping the matrix
es7不使用父子和嵌套关系来实现一对多功能
Tutoriel de démarrage rapide JDBC
error接口原创
错误记录:IllegalStateException: Optional int parameter ‘xxxx‘ is
grpc-swift入门
MySQL学习笔记
Second week of electric control learning
使用MongoDB官方go库操作MongoDB原创
Evolution and thinking of Taobao native R & D mode | DX R & D mode
Research results of low code platform
Arm64棧回溯
TensorFlow从网络读取数据
bug记录:更新数据库时报错:Data truncation: Incorrect datetime value:
Stream流注意点
Detailed description of SQL cursor and example of internal recycling
Schedule update | 2022 Microsoft and Intel hacker song competition is in hot registration
Tensorflow reads data from the network
Bug record: data truncation: incorrect datetime value: