当前位置:网站首页>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
边栏推荐
- Cinnamon 任务栏网速
- Scripy tutorial classic practice [New Concept English]
- Storage principle inside mongodb
- Lingyunguang of Dachen and Xiaomi investment is listed: the market value is 15.3 billion, and the machine is implanted into the eyes and brain
- error LNK2019: 无法解析的外部符号
- 国泰君安证券开户怎么开的?开户安全吗?
- Simple and easy-to-use code specification
- 测试下摘要
- 我那“不好惹”的00后下属:不差钱,怼领导,抵制加班
- MySQL入门尝鲜
猜你喜欢
Awk of three swordsmen in text processing
QQ的药,腾讯的票
leecode3. 无重复字符的最长子串
Vscade editor esp32 header file wavy line does not jump completely solved
OSI seven layer model
将数学公式在el-table里面展示出来
Sed of three swordsmen in text processing
Digital IC Design SPI
About the problem of APP flash back after appium starts the app - (solved)
Differences between MySQL storage engine MyISAM and InnoDB
随机推荐
Grep of three swordsmen in text processing
将数学公式在el-table里面展示出来
Japanese government and enterprise employees got drunk and lost 460000 information USB flash drives. They publicly apologized and disclosed password rules
简单好用的代码规范
How to reset Google browser? Google Chrome restore default settings?
日本政企员工喝醉丢失46万信息U盘,公开道歉又透露密码规则
[untitled]
File operation command
Write it down once Net a new energy system thread surge analysis
基于鲲鹏原生安全,打造安全可信的计算平台
Cmake learning and use notes (1)
Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
测试下摘要
API query interface for free mobile phone number ownership
Digital IC Design SPI
DETR介绍
Ogre入门尝鲜
[untitled]
centso7 openssl 报错Verify return code: 20 (unable to get local issuer certificate)
PACP学习笔记一:使用 PCAP 编程