当前位置:网站首页>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


边栏推荐
- Star Enterprise Purdue technology layoffs: Tencent Sequoia was a shareholder who raised more than 1billion
- MongoDB的导入导出、备份恢复总结
- 高端了8年,雅迪如今怎么样?
- php——laravel缓存cache
- 飞桨EasyDL实操范例:工业零件划痕自动识别
- Cinnamon Applet 入门
- Clion mingw64 Chinese garbled code
- 【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
- ESP32 ① 编译环境
- Vscade editor esp32 header file wavy line does not jump completely solved
猜你喜欢
随机推荐
Sed of three swordsmen in text processing
共创软硬件协同生态:Graphcore IPU与百度飞桨的“联合提交”亮相MLPerf
基于鲲鹏原生安全,打造安全可信的计算平台
API query interface for free mobile phone number ownership
DrawerLayout禁止侧滑显示
Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
TPG x AIDU|AI领军人才招募计划进行中!
Unity build error: the name "editorutility" does not exist in the current context
Storage principle inside mongodb
PACP学习笔记一:使用 PCAP 编程
[learning notes] agc010
Per capita Swiss number series, Swiss number 4 generation JS reverse analysis
LIS 最长上升子序列问题(动态规划、贪心+二分)
JS determines whether an object is empty
DETR介绍
Digital IC Design SPI
RealBasicVSR测试图片、视频
Clion mingw64 Chinese garbled code
. Net ultimate productivity of efcore sub table sub database fully automated migration codefirst
User management summary of mongodb
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)








