summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-07-03 13:48:11 +0700
committerhathach <[email protected]>2013-07-03 13:48:11 +0700
commit544b48183abea8c9cec94c93bc7080bd0e4cee8e (patch)
tree633a637ffa3f0303fd14294816fc466662d0a9cb
parent51e9a1817bf0539d818e07a25cb7eed9fcc1c9bf (diff)
opt out hardfault handler in board.c which causes problem in compiling with asm inline
-rw-r--r--demos/bsp/boards/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/bsp/boards/board.c b/demos/bsp/boards/board.c
index 069ceab3f..e3c336cde 100644
--- a/demos/bsp/boards/board.c
+++ b/demos/bsp/boards/board.c
@@ -54,6 +54,8 @@ void check_failed(uint8_t *file, uint32_t line)
(void) line;
}
+#if 0
+
/**
* HardFault_HandlerAsm:
* Alternative Hard Fault handler to help debug the reason for a fault.
@@ -144,3 +146,4 @@ void HardFault_HandlerC(unsigned long *hardfault_args){
hal_debugger_breakpoint();
}
+#endif