Skip to content

Commit 0678add

Browse files
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.
1 parent 0f44a98 commit 0678add

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/drivers/dshot/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ px4_add_module(
4242
MAIN dshot
4343
COMPILE_FLAGS
4444
-DPARAM_PREFIX="${PARAM_PREFIX}"
45+
-fno-use-cxa-atexit
4546
# -DDEBUG_BUILD
4647
SRCS
4748
DShot.cpp

0 commit comments

Comments
 (0)