feat(dshot): fix protected kernel link error (__dso_handle)

Fix a protected kernel link failure caused by static initialization
of a shared uORB::Publication in AM32Settings. Which is problematic
for NuttX 12.12.0.

The NuttX 12.12 PX4 protected kernel does not provide __dso_handle.
This commit is contained in:
Peter van der Perk
2026-04-01 11:48:44 +02:00
parent 0f44a98291
commit 0678add062
+1
View File
@@ -42,6 +42,7 @@ px4_add_module(
MAIN dshot
COMPILE_FLAGS
-DPARAM_PREFIX="${PARAM_PREFIX}"
-fno-use-cxa-atexit
# -DDEBUG_BUILD
SRCS
DShot.cpp