Initial Kconfig implementation in CMake

Used fmuk66-v3 as test case
This commit is contained in:
Peter van der Perk
2021-03-11 19:39:01 +01:00
committed by Daniel Agar
parent 4b89ff29ce
commit 4044fbd4a0
9 changed files with 617 additions and 41 deletions

View File

@@ -149,6 +149,8 @@ include(${PX4_CONFIG_FILE})
message(STATUS "PX4 config: ${PX4_CONFIG}")
message(STATUS "PX4 platform: ${PX4_PLATFORM}")
include(kconfig)
if(${PX4_PLATFORM} STREQUAL "posix")
if(ENABLE_LOCKSTEP_SCHEDULER)
add_definitions(-DENABLE_LOCKSTEP_SCHEDULER)