Skip to content

arm: handle Cortex-M exception stacking faults - #2

Merged
tridge merged 1 commit into
ArduPilot:pr-arudpilot-am32-perffrom
tridge:fix-cortexm-stacking-fault
Oct 16, 2026
Merged

tridge merged 1 commit into
ArduPilot:pr-arudpilot-am32-perffrom
tridge:fix-cortexm-stacking-fault

Conversation

@tridge

@tridge tridge commented Oct 16, 2026

Copy link
Copy Markdown

Update tlib so derived stacking faults preserve EXC_RETURN and pending exception state. Add focused Cortex-M7 tests for synchronous and external exception priority cases.

@tridge
tridge force-pushed the fix-cortexm-stacking-fault branch from d779c4b to 4eb7df2 Compare October 16, 2026 21:08
Preserve EXC_RETURN and pending exception state when a non-TrustZone Cortex-M exception entry faults while stacking. Carry the tlib change in the existing patch stack, and add focused Cortex-M7 tests for synchronous and external exception priority cases.
@tridge
tridge force-pushed the fix-cortexm-stacking-fault branch from 4eb7df2 to aa06372 Compare October 16, 2026 22:02
@tridge
tridge merged commit fbea4f4 into ArduPilot:pr-arudpilot-am32-perf Oct 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant