当前位置:网站首页>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
边栏推荐
- 自定义线程池拒绝策略
- [etc.] what are the security objectives and implementation methods that cloud computing security expansion requires to focus on?
- Cmake learning and use notes (1)
- 靠卖概念上市,认养一头牛能走多远?
- . Net ultimate productivity of efcore sub table sub database fully automated migration codefirst
- Digital IC Design SPI
- LIS 最长上升子序列问题(动态规划、贪心+二分)
- 测试下摘要
- Realbasicvsr test pictures and videos
- Summary of import, export, backup and recovery of mongodb
猜你喜欢
随机推荐
Cinnamon 任务栏网速
Conversion from non partitioned table to partitioned table and precautions
Cloud detection 2020: self attention generation countermeasure network for cloud detection in high-resolution remote sensing images
php——laravel缓存cache
Some principles of mongodb optimization
【等保】云计算安全扩展要求关注的安全目标和实现方式区分原则有哪些?
How to make the new window opened by electorn on the window taskbar
Shortcut key of Bash
服务器到服务器 (S2S) 事件 (Adjust)
Cmake learning and use notes (1)
MATLAB中polarscatter函数使用
[learning notes] zkw segment tree
[untitled]
DHCP 动态主机设置协议 分析
自定义线程池拒绝策略
shell 批量文件名(不含扩展名)小写改大写
JS缓动动画原理教学(超细节)
[etc.] what are the security objectives and implementation methods that cloud computing security expansion requires to focus on?
File operation command
Sequoia China completed the new phase of $9billion fund raising