当前位置:网站首页>Esp32 construction engineering add components
Esp32 construction engineering add components
2022-07-07 13:19:00 【Lee1989 Qi】
One 、 Top level documents CMakeList.txt
# The following 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(3_4_lcd) The project name here is to copy other people's components , Except that the project name is modified by itself, the others remain unchanged
- Component files CMakeList.txt
- Whether it's app_main.c Or do other components need CMakeList.txt
Two 、 Component files CMakeList.txt
idf_component_register(SRCS "Lcd.c"
// Under components .c File name
INCLUDE_DIRS "."
// Under the current file directory
REQUIRES driver)
// Refer to the esp-idf The component of is equal to stm32 Library function


3、 ... and 、 Component files reference other components
- At other points c Introduce other points under the file c The file only needs to be in CmakeList Import the corresponding header file under the file, such as


边栏推荐
- Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders
- How to reset Firefox browser
- 靠卖概念上市,认养一头牛能走多远?
- File operation command
- ORACLE进阶(五)SCHEMA解惑
- [untitled]
- DrawerLayout禁止侧滑显示
- regular expression
- Mongodb command summary
- How to make the new window opened by electorn on the window taskbar
猜你喜欢
![[Presto profile series] timeline use](/img/c6/83c4fdc5f001dab34ecf18c022d710.png)
[Presto profile series] timeline use
![[learning notes] zkw segment tree](/img/18/21f455a06e8629243fc5cf4df0044c.png)
[learning notes] zkw segment tree

QQ的药,腾讯的票

滑轨步进电机调试(全国海洋航行器大赛)(STM32主控)

“新红旗杯”桌面应用创意大赛2022

Sed of three swordsmen in text processing

Awk of three swordsmen in text processing

centso7 openssl 报错Verify return code: 20 (unable to get local issuer certificate)

【无标题】

ESP32构解工程添加组件
随机推荐
Write it down once Net a new energy system thread surge analysis
聊聊伪共享
数字ic设计——SPI
Pcap learning notes II: pcap4j source code Notes
MongoDB的导入导出、备份恢复总结
JS determines whether an object is empty
Practical example of propeller easydl: automatic scratch recognition of industrial parts
【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
Scrapy教程经典实战【新概念英语】
滑轨步进电机调试(全国海洋航行器大赛)(STM32主控)
学习突围2 - 关于高效学习的方法
User management summary of mongodb
Vscode编辑器ESP32头文件波浪线不跳转彻底解决
JS缓动动画原理教学(超细节)
飞桨EasyDL实操范例:工业零件划痕自动识别
Practical case: using MYCAT to realize read-write separation of MySQL
Go语言学习笔记-结构体(Struct)
JNA学习笔记一:概念
飞桨EasyDL实操范例:工业零件划痕自动识别
[dark horse morning post] Huawei refutes rumors about "military master" Chen Chunhua; Hengchi 5 has a pre-sale price of 179000 yuan; Jay Chou's new album MV has played more than 100 million in 3 hours