From 544b48183abea8c9cec94c93bc7080bd0e4cee8e Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 3 Jul 2013 13:48:11 +0700 Subject: [PATCH] opt out hardfault handler in board.c which causes problem in compiling with asm inline --- demos/bsp/boards/board.c | 3 +++ 1 file changed, 3 insertions(+) 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