Ubiquitous/RT-Thread_Fusion_XiUOS/: solve the problem that output bin bigger than 550MB

This commit is contained in:
chunyexixiaoyu 2022-04-25 17:59:07 +08:00
parent 279757406e
commit c271cd16ea
2 changed files with 4 additions and 1 deletions

View File

@ -226,7 +226,7 @@ SECTIONS
__noncachedata_init_end__ = .; /* create a global symbol at initialized ncache data end */
} > m_nocache
. = __noncachedata_init_end__;
.ncache :
.ncache(NOLOAD):
{
*(NonCacheable)
. = ALIGN(4);

View File

@ -53,6 +53,9 @@ if PLATFORM == 'gcc':
CPATH = ''
LPATH = ''
AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
AFLAGS += ' -D__STARTUP_CLEAR_BSS'
if BUILD == 'debug':
CFLAGS += ' -gdwarf-2'
AFLAGS += ' -gdwarf-2'