-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable
AVM_ABORT()
and use it for hard_fault_handler
on stm32
- Impliment newlib stubs to support `getpid()` and `kill()` needed for `AVM_ABORT()` to work properly. - Redefine weak linked `hard_fault_handler` defined in libopencm3/cm3/nvic.h to use `AVM_ABORT()` rather than get trapped in the default do nothing `while(1)` loop. Signed-off-by: Winford <[email protected]>
- Loading branch information
1 parent
8308b43
commit 448eab9
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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