[Kconfig] CI fixes and SITL fix

This commit is contained in:
Peter van der Perk
2021-10-07 10:09:01 -04:00
committed by Daniel Agar
parent 6d0829c251
commit 5542402ca0
9 changed files with 60 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ CONFIG_DRIVERS_BOOTLOADERS=y
CONFIG_DRIVERS_GPS=y
CONFIG_DRIVERS_LIGHTS_RGBLED_PWM=y
CONFIG_DRIVERS_PWM_OUT=y
CONFIG_DRIVERS_UAVCANNODE_GPS_DEMO=y
CONFIG_SYSTEMCMDS_I2CDETECT=y
CONFIG_SYSTEMCMDS_LED_CONTROL=y
CONFIG_SYSTEMCMDS_MFT=y
+9
View File
@@ -0,0 +1,9 @@
config BOARD_LOCKSTEP
bool "Force enable lockstep"
help
forces lockstep behaviour, despite REPLAY env variable
config BOARD_NOLOCKSTEP
bool "Force disable lockstep"
help
forces nolockstep behaviour, despite REPLAY env variable
+1
View File
@@ -0,0 +1 @@
CONFIG_BOARD_NOLOCKSTEP=y
+2
View File
@@ -0,0 +1,2 @@
CONFIG_BOARD_COMPILE_DEFINITIONS="-DORB_USE_PUBLISHER_RULES"
CONFIG_BOARD_LOCKSTEP=y
+18
View File
@@ -0,0 +1,18 @@
set(config_sitl_viewer jmavsim CACHE STRING "viewer for sitl")
set_property(CACHE config_sitl_viewer PROPERTY STRINGS "jmavsim;none")
set(config_sitl_debugger disable CACHE STRING "debugger for sitl")
set_property(CACHE config_sitl_debugger PROPERTY STRINGS "disable;gdb;lldb")
# If the environment variable 'replay' is defined, we are building with replay
# support. In this case, we enable the orb publisher rules.
set(REPLAY_FILE "$ENV{replay}")
if(REPLAY_FILE)
message(STATUS "Building with uorb publisher rules support")
add_definitions(-DORB_USE_PUBLISHER_RULES)
message(STATUS "Building without lockstep for replay")
set(ENABLE_LOCKSTEP_SCHEDULER no)
else()
set(ENABLE_LOCKSTEP_SCHEDULER yes)
endif()
+1
View File
@@ -1 +1,2 @@
CONFIG_BOARD_NOLOCKSTEP=y
CONFIG_MODULES_CONTROL_ALLOCATOR=y