fix no clear bss with gcc and the wrong logic in SConscript
This commit is contained in:
parent
183eb0f399
commit
8ef1fa192a
|
@ -367,7 +367,6 @@ Reset_Handler:
|
|||
blt .LC4
|
||||
#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
|
||||
|
||||
#ifdef __STARTUP_CLEAR_BSS
|
||||
/* This part of work usually is done in C library startup code. Otherwise,
|
||||
* define this macro to enable it in this startup.
|
||||
*
|
||||
|
@ -385,7 +384,6 @@ Reset_Handler:
|
|||
itt lt
|
||||
strlt r0, [r1], #4
|
||||
blt .LC5
|
||||
#endif /* __STARTUP_CLEAR_BSS */
|
||||
|
||||
cpsie i /* Unmask interrupts */
|
||||
#ifndef __START
|
||||
|
|
|
@ -53,9 +53,6 @@ if GetDepend(['BSP_USING_SDRAM']):
|
|||
if GetDepend(['BSP_USING_LCD']):
|
||||
src += ['MIMXRT1052/drivers/fsl_elcdif.c']
|
||||
|
||||
if GetDepend(['RT_USING_USB_HOST']) or GetDepend(['RT_USING_USB_DEVICE']):
|
||||
src += ['MIMXRT1052/drivers/fsl_usdhc.c']
|
||||
|
||||
if GetDepend(['BSP_USING_CAN']):
|
||||
src += ['MIMXRT1052/drivers/fsl_flexcan.c']
|
||||
|
||||
|
|
|
@ -366,7 +366,6 @@ Reset_Handler:
|
|||
blt .LC4
|
||||
#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
|
||||
|
||||
#ifdef __STARTUP_CLEAR_BSS
|
||||
/* This part of work usually is done in C library startup code. Otherwise,
|
||||
* define this macro to enable it in this startup.
|
||||
*
|
||||
|
@ -384,7 +383,6 @@ Reset_Handler:
|
|||
itt lt
|
||||
strlt r0, [r1], #4
|
||||
blt .LC5
|
||||
#endif /* __STARTUP_CLEAR_BSS */
|
||||
|
||||
cpsie i /* Unmask interrupts */
|
||||
#ifndef __START
|
||||
|
|
|
@ -49,9 +49,6 @@ if GetDepend(['BSP_USING_ADC']):
|
|||
if GetDepend(['BSP_USING_SDRAM']):
|
||||
src += ['MIMXRT1064/drivers/fsl_semc.c']
|
||||
|
||||
if GetDepend(['RT_USING_USB_HOST']) or GetDepend(['RT_USING_USB_DEVICE']):
|
||||
src += ['MIMXRT1064/drivers/fsl_usdhc.c']
|
||||
|
||||
if GetDepend(['RT_USING_CAN']):
|
||||
src += ['MIMXRT1064/drivers/fsl_flexcan.c']
|
||||
|
||||
|
|
Loading…
Reference in New Issue