mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
arm: print an error when a HardFault occurs
This is very useful for debugging. It differentiates between a stack overflow and other errors (because it's easy to see when a stack overflow occurs) and prints the old stack pointer and program counter if available.
This commit is contained in:
committed by
Ron Evans
parent
7b6ef65fe7
commit
ba85c82fbb
@@ -19,5 +19,8 @@
|
||||
"ldflags": [
|
||||
"--gc-sections"
|
||||
],
|
||||
"extra-files": [
|
||||
"src/device/arm/cortexm.s"
|
||||
],
|
||||
"gdb": "arm-none-eabi-gdb"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user