chore(nuttx): bump NuttX for the USB resume interrupt fix - #28383
Merged
Conversation
Brings in PX4/NuttX#393 (backport of apache/nuttx#19936). The DWC2-derived USB device drivers masked off the WKUP interrupt, so CLASS_RESUME was never delivered. cdcacm_suspend() marks the serial device disconnected and the matching resume never runs, leaving the CDC/ACM port returning -ENOTCONN for the rest of the boot after the first host autosuspend. Assisted-by: Claude:claude-opus-5[1m] Signed-off-by: Jacob Dahl <dahl.jakejacob@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fixes #28340
Bumps the NuttX submodule for PX4/NuttX#393.
Problem
The DWC2-derived USB device drivers never unmasked the WKUP interrupt, so
CLASS_RESUMEwas never delivered.cdcacm_suspend()marks the serial device disconnected; without the matching resume the CDC/ACM port returns-ENOTCONNto every open and write for the rest of the boot. Linux autosuspends the port on close by default, so any CLI tool that opens and closes it kills USB MAVLink until reboot. Affects all 152 in-tree configs withCONFIG_CDCACM=y.Solution
Unmask WKUP so the existing resume handler runs. Verified on an ARK FMU v6X over forced runtime-suspend cycles.