generated from sirlilpanda/kicad-project-template-actionless
Added exmaple code of lsm6do to quickly test imu
This commit is contained in:
22
software/lsm6dso_example/CMakeLists.txt
Normal file
22
software/lsm6dso_example/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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.20)
|
||||
|
||||
set(ENV{IDF_COMPONENT_MANAGER} "0")
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
|
||||
# add the component directories that we want to use
|
||||
set(EXTRA_COMPONENT_DIRS
|
||||
"components/"
|
||||
)
|
||||
|
||||
set(
|
||||
COMPONENTS
|
||||
"main esptool_py i2c lsm6dso filters"
|
||||
CACHE STRING
|
||||
"List of components to include"
|
||||
)
|
||||
|
||||
project(lsm6dso_example)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
Reference in New Issue
Block a user