提交 f3016434 编写于 作者: B Bernard Xiong

[bsp] Fix compiling issue for LPC43xx

上级 925f7e2b
...@@ -73,7 +73,8 @@ WEAK void SysTick_Handler(void); ...@@ -73,7 +73,8 @@ WEAK void SysTick_Handler(void);
WEAK void IntDefaultHandler(void); WEAK void IntDefaultHandler(void);
#else #else
WEAK void M0S_NMI_Handler(void); WEAK void M0S_NMI_Handler(void);
WEAK void M0S_HardFault_Handler (void); WEAK void M0S_HardFault_Handler(void);
WEAK void M0S_DebugMon_Handler(void);
WEAK void M0S_SVC_Handler(void); WEAK void M0S_SVC_Handler(void);
WEAK void M0S_PendSV_Handler(void); WEAK void M0S_PendSV_Handler(void);
WEAK void M0S_SysTick_Handler(void); WEAK void M0S_SysTick_Handler(void);
......
...@@ -13,14 +13,14 @@ CPPDEFINES = [rtconfig.USE_CORE + ' USE_SPIFI'] ...@@ -13,14 +13,14 @@ CPPDEFINES = [rtconfig.USE_CORE + ' USE_SPIFI']
# add for startup script # add for startup script
if rtconfig.USE_CORE =='CORE_M4': if rtconfig.USE_CORE =='CORE_M4':
if rtconfig.CROSS_TOOL == 'gcc': if rtconfig.CROSS_TOOL == 'gcc':
src += ['NXP/LPC43xx/Source/Templates/GCC/startup_LPC43xx.s'] src += ['NXP/LPC43xx/Source/Templates/GCC/cr_startup_lpc43xx.c']
elif rtconfig.CROSS_TOOL == 'keil': elif rtconfig.CROSS_TOOL == 'keil':
src += ['NXP/LPC43xx/Source/Templates/ARM/startup_LPC43xx.s'] src += ['NXP/LPC43xx/Source/Templates/ARM/startup_LPC43xx.s']
elif rtconfig.CROSS_TOOL == 'iar': elif rtconfig.CROSS_TOOL == 'iar':
src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx.s'] src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx.s']
else: else:
if rtconfig.CROSS_TOOL == 'gcc': if rtconfig.CROSS_TOOL == 'gcc':
src += ['NXP/LPC43xx/Source/Templates/GCC/startup_LPC43xx_M0.s'] src += ['NXP/LPC43xx/Source/Templates/GCC/cr_startup_lpc43xx_m0sub.c']
elif rtconfig.CROSS_TOOL == 'keil': elif rtconfig.CROSS_TOOL == 'keil':
src += ['NXP/LPC43xx/Source/Templates/ARM/startup_LPC43xx_M0.s'] src += ['NXP/LPC43xx/Source/Templates/ARM/startup_LPC43xx_M0.s']
elif rtconfig.CROSS_TOOL == 'iar': elif rtconfig.CROSS_TOOL == 'iar':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册