-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not use spi in v3 by default, use it only with mpu9250
- Loading branch information
1 parent
cea7821
commit 45f12a5
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# Copyright (C) 2023 Dmitry Ponomarev <[email protected]> | ||
# Distributed under the terms of the GPL v3 license, available in the file LICENSE. | ||
|
||
# Include guard | ||
if(SRC_DRIVERS_MPU9250_DIR) | ||
return() | ||
endif() | ||
set(SRC_DRIVERS_MPU9250_DIR ${CMAKE_CURRENT_LIST_DIR}) | ||
|
||
list(APPEND APPLICATION_SOURCES | ||
${CMAKE_CURRENT_LIST_DIR}/mpu9250.cpp | ||
) | ||
|
||
include(${ROOT_DIR}/Src/peripheral/spi/CMakeLists.txt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters