This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
so it matches the exception name (`#[exception] fn HardFault(..`)
- Loading branch information
Showing
8 changed files
with
20 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# LLD requires that the section flags are explicitly set here | ||
.section .HardFault, "ax" | ||
.global HardFault | ||
.section .HardFaultTrampoline, "ax" | ||
.global HardFaultTrampoline | ||
# .type and .thumb_func are both required; otherwise its Thumb bit does not | ||
# get set and an invalid vector table is generated | ||
.type HardFault,%function | ||
.type HardFaultTrampoline,%function | ||
.thumb_func | ||
HardFault: | ||
HardFaultTrampoline: | ||
mrs r0, MSP | ||
b UserHardFault | ||
b HardFault |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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