DevMgr: Add DeviceReattacher daemon plumbing

This is the plumbing for a periodic polling thread that tries
to reattach DA specs that failed to attach in the startup phase.
This commit is contained in:
2025-09-28 23:07:39 -04:00
parent 2be78401b5
commit 93103aa8d4
5 changed files with 124 additions and 0 deletions
+8
View File
@@ -24,6 +24,14 @@ if(NOT MIND_VOSCILLATOR_PERIOD_MS GREATER 0)
endif()
math(EXPR MIND_VOSCILLATOR_FREQ_MS "1000 / ${MIND_VOSCILLATOR_PERIOD_MS}")
# Device manager reattacher configuration
set(MRNTT_DEVMGR_REATTACHER_PERIOD_MS 1500
CACHE STRING "Device manager reattacher period (ms)")
if(NOT MRNTT_DEVMGR_REATTACHER_PERIOD_MS GREATER 0)
message(FATAL_ERROR
"MRNTT_DEVMGR_REATTACHER_PERIOD_MS must be a positive integer > 0")
endif()
# World thread configuration
option(WORLD_USE_BODY_THREAD
"Use body thread for world component instead of separate world thread" OFF)