当前位置:网站首页>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
边栏推荐
- 《开源圆桌派》第十一期“冰与火之歌”——如何平衡开源与安全间的天然矛盾?
- Write it down once Net a new energy system thread surge analysis
- [Presto profile series] timeline use
- 飞桨EasyDL实操范例:工业零件划痕自动识别
- The difference between cache and buffer
- Cmake learning and use notes (1)
- 【黑马早报】华为辟谣“军师”陈春花;恒驰5预售价17.9万元;周杰伦新专辑MV 3小时播放量破亿;法华寺回应万元月薪招人...
- Scrapy教程经典实战【新概念英语】
- 抓细抓实抓好安全生产各项工作 全力确保人民群众生命财产安全
- [etc.] what are the security objectives and implementation methods that cloud computing security expansion requires to focus on?
猜你喜欢
TPG x AIDU|AI领军人才招募计划进行中!
【Presto Profile系列】Timeline使用
存储过程的介绍与基本使用
MySQL入门尝鲜
详细介绍六种开源协议(程序员须知)
【无标题】
Practical example of propeller easydl: automatic scratch recognition of industrial parts
Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders
Introduce six open source protocols in detail (instructions for programmers)
基于鲲鹏原生安全,打造安全可信的计算平台
随机推荐
一文读懂数仓中的pg_stat
【无标题】
QQ的药,腾讯的票
为租客提供帮助
MongoDB优化的几点原则
JS function 返回多个值
【Presto Profile系列】Timeline使用
Test next summary
JS缓动动画原理教学(超细节)
How to reset Firefox browser
error LNK2019: 无法解析的外部符号
Initialization script
Day26 IP query items
ESP32 ① 编译环境
cmake 学习使用笔记(一)
【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
MongoDB的导入导出、备份恢复总结
[learning notes] zkw segment tree
[untitled]
Mongodb replication (replica set) summary