当前位置:网站首页>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
边栏推荐
- 【无标题】
- Coscon'22 community convening order is coming! Open the world, invite all communities to embrace open source and open a new world~
- [learning notes] agc010
- OSI seven layer model
- Aosikang biological sprint scientific innovation board of Hillhouse Investment: annual revenue of 450million yuan, lost cooperation with kangxinuo
- 【无标题】
- 基于鲲鹏原生安全,打造安全可信的计算平台
- Shortcut key of Bash
- 迅为iTOP-IMX6ULL开发板Pinctrl和GPIO子系统实验-修改设备树文件
- 聊聊伪共享
猜你喜欢
随机推荐
【学习笔记】zkw 线段树
How did Guotai Junan Securities open an account? Is it safe to open an account?
JS function 返回多个值
Initialization script
COSCon'22 社区召集令来啦!Open the World,邀请所有社区一起拥抱开源,打开新世界~
详细介绍六种开源协议(程序员须知)
Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
Awk of three swordsmen in text processing
regular expression
记一次 .NET 某新能源系统 线程疯涨 分析
Mongodb command summary
服务器到服务器 (S2S) 事件 (Adjust)
Write it down once Net a new energy system thread surge analysis
单片机学习笔记之点亮led 灯
【无标题】
cmake 学习使用笔记(一)
Sequoia China completed the new phase of $9billion fund raising
抓细抓实抓好安全生产各项工作 全力确保人民群众生命财产安全
The difference between cache and buffer
[untitled]