aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f/src/Core/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f/src/Core/common.c')
-rw-r--r--src/stm32f/src/Core/common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stm32f/src/Core/common.c b/src/stm32f/src/Core/common.c
new file mode 100644
index 0000000..a647d26
--- /dev/null
+++ b/src/stm32f/src/Core/common.c
@@ -0,0 +1,7 @@
+#include <stm32f4xx.h>
+
+#include "../../../common/src/Core/common.c"
+
+void hard_fault_handler_extra() {
+ usart_debug("SCB_SHCSR = %x\n", SCB->SHCSR);
+}