mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-07 13:44:34 +08:00
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
|
blt .LC4
|
||||||
#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
|
#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
|
||||||
|
|
||||||
#ifdef __STARTUP_CLEAR_BSS
|
|
||||||
/* This part of work usually is done in C library startup code. Otherwise,
|
/* This part of work usually is done in C library startup code. Otherwise,
|
||||||
* define this macro to enable it in this startup.
|
* define this macro to enable it in this startup.
|
||||||
*
|
*
|
||||||
@ -385,7 +384,6 @@ Reset_Handler:
|
|||||||
itt lt
|
itt lt
|
||||||
strlt r0, [r1], #4
|
strlt r0, [r1], #4
|
||||||
blt .LC5
|
blt .LC5
|
||||||
#endif /* __STARTUP_CLEAR_BSS */
|
|
||||||
|
|
||||||
cpsie i /* Unmask interrupts */
|
cpsie i /* Unmask interrupts */
|
||||||
#ifndef __START
|
#ifndef __START
|
||||||
|
@ -53,9 +53,6 @@ if GetDepend(['BSP_USING_SDRAM']):
|
|||||||
if GetDepend(['BSP_USING_LCD']):
|
if GetDepend(['BSP_USING_LCD']):
|
||||||
src += ['MIMXRT1052/drivers/fsl_elcdif.c']
|
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']):
|
if GetDepend(['BSP_USING_CAN']):
|
||||||
src += ['MIMXRT1052/drivers/fsl_flexcan.c']
|
src += ['MIMXRT1052/drivers/fsl_flexcan.c']
|
||||||
|
|
||||||
|
@ -366,7 +366,6 @@ Reset_Handler:
|
|||||||
blt .LC4
|
blt .LC4
|
||||||
#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
|
#endif /* __STARTUP_INITIALIZE_NONCACHEDATA */
|
||||||
|
|
||||||
#ifdef __STARTUP_CLEAR_BSS
|
|
||||||
/* This part of work usually is done in C library startup code. Otherwise,
|
/* This part of work usually is done in C library startup code. Otherwise,
|
||||||
* define this macro to enable it in this startup.
|
* define this macro to enable it in this startup.
|
||||||
*
|
*
|
||||||
@ -384,7 +383,6 @@ Reset_Handler:
|
|||||||
itt lt
|
itt lt
|
||||||
strlt r0, [r1], #4
|
strlt r0, [r1], #4
|
||||||
blt .LC5
|
blt .LC5
|
||||||
#endif /* __STARTUP_CLEAR_BSS */
|
|
||||||
|
|
||||||
cpsie i /* Unmask interrupts */
|
cpsie i /* Unmask interrupts */
|
||||||
#ifndef __START
|
#ifndef __START
|
||||||
|
@ -49,9 +49,6 @@ if GetDepend(['BSP_USING_ADC']):
|
|||||||
if GetDepend(['BSP_USING_SDRAM']):
|
if GetDepend(['BSP_USING_SDRAM']):
|
||||||
src += ['MIMXRT1064/drivers/fsl_semc.c']
|
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']):
|
if GetDepend(['RT_USING_CAN']):
|
||||||
src += ['MIMXRT1064/drivers/fsl_flexcan.c']
|
src += ['MIMXRT1064/drivers/fsl_flexcan.c']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user