From b407bbd0157361aa37eb761b3e6a6a8cefd8d427 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 2 Sep 2026 14:28:03 +1200 Subject: [PATCH] fix(nuttx): bump submodule for kthread group crash and CAN ioctl symbol NuttX 12.12.0 shares one statically allocated g_kthread_group between all kernel threads, but group_leave() guards the group_release() call behind HAVE_GROUP_MEMBERS, which is only defined when pthreads are enabled. Every bootloader config sets CONFIG_DEFAULT_SMALL=y, so DISABLE_PTHREAD defaults to y, and the first kernel thread to exit tears down the shared group and calls kmm_free() on a .bss static. The bootloader died before USB enumeration. Around 64 configs in the tree share that combination. The submodule now carries the upstream fix, apache/nuttx f20f9ff19e. The bump also picks up the backport that recombines the per-command CAN ioctl Kconfig options back into NETDEV_CAN_IOCTL. Defconfigs on this branch already reference CONFIG_NETDEV_CAN_IOCTL, which does not exist at the previously pinned commit, so SocketCAN bitrate, filter and state ioctls were silently disabled on ark/fmu-v6xrt, px4/fmu-v6xrt, nxp/mr-canhubk3, nxp/tropic-community and nxp/mr-tropic. Assisted-by: Claude:claude-opus-5 Signed-off-by: Julian Oes --- platforms/nuttx/NuttX/nuttx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/nuttx/NuttX/nuttx b/platforms/nuttx/NuttX/nuttx index 1ccf39484cd..0e3489fcbac 160000 --- a/platforms/nuttx/NuttX/nuttx +++ b/platforms/nuttx/NuttX/nuttx @@ -1 +1 @@ -Subproject commit 1ccf39484cdd06057ce815fbb778b935c8aec3dc +Subproject commit 0e3489fcbac433092a9561b92bab72749cb755c1