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 authored and Ramon Roche committed 2026-09-03 12:31:07 -07:00
1 parent cdf2ea47ce
commit 33010e6dea
1 file changed
+1
+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