9 changed files with 60 additions and 0 deletions
@ -0,0 +1,9 @@
@@ -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 |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
CONFIG_BOARD_NOLOCKSTEP=y |
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
CONFIG_BOARD_COMPILE_DEFINITIONS="-DORB_USE_PUBLISHER_RULES" |
||||
CONFIG_BOARD_LOCKSTEP=y |
@ -0,0 +1,18 @@
@@ -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 +1,2 @@
@@ -1 +1,2 @@
|
||||
CONFIG_BOARD_NOLOCKSTEP=y |
||||
CONFIG_MODULES_CONTROL_ALLOCATOR=y |
||||
|
Loading…
Reference in new issue