summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-08-03 16:17:48 +0800
committerBernard Xiong <[email protected]>2015-08-03 16:17:48 +0800
commitdb5fc259a28fbcff0a7be79fd8903b1907b332ec (patch)
treea305b6ff7b3e951a6a57ee25ce38b22181947cde
parent3e310522e056c611c887e6ed845c846f67f754df (diff)
[BSP] remove the asssert_failed function in lpc176x.
-rw-r--r--bsp/lpc176x/applications/startup.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/bsp/lpc176x/applications/startup.c b/bsp/lpc176x/applications/startup.c
index 9c08294569..abc08f1852 100644
--- a/bsp/lpc176x/applications/startup.c
+++ b/bsp/lpc176x/applications/startup.c
@@ -32,26 +32,6 @@ extern int Image$$RW_IRAM1$$ZI$$Limit;
extern int __bss_end;
#endif
-#ifdef DEBUG
-/*******************************************************************************
-* Function Name : assert_failed
-* Description : Reports the name of the source file and the source line number
-* where the assert error has occurred.
-* Input : - file: pointer to the source file name
-* - line: assert error line source number
-* Output : None
-* Return : None
-*******************************************************************************/
-void assert_failed(u8* file, u32 line)
-{
- rt_kprintf("\n\r Wrong parameter value detected on\r\n");
- rt_kprintf(" file %s\r\n", file);
- rt_kprintf(" line %d\r\n", line);
-
- while (1) ;
-}
-#endif
-
/**
* This function will startup RT-Thread RTOS.
*/