apache / apache/nuttx

Hard fault in STM32H7 protected mode

Open
#1,409 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

Configuration: `stm32h747i-disco:nsh`. The system hard-faults on boot, and I haven't been able to track down the cause. It seems to occur after a supervisor call for a `boardctl` but I can't see any obvious reason why. I suspect stack corruption but can't tell where it is happening. My `.config` is below, that should be enough to reproduce, I have no extra applications or code in this build.

[My .config and the stack dump is here](https://gist.github.com/hexaglow/cb085ab2b1fe55e2ca02035bbe98e57a)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.