Fixed defmt on direct-boot mode
This commit is contained in:
parent
dd1f94f347
commit
c896e6c8d2
@ -110,6 +110,16 @@ SECTIONS
|
|||||||
_ebss = .;
|
_ebss = .;
|
||||||
} > REGION_BSS
|
} > REGION_BSS
|
||||||
|
|
||||||
|
/* ### .uninit */
|
||||||
|
.uninit (NOLOAD) : ALIGN(4)
|
||||||
|
{
|
||||||
|
. = ALIGN(4);
|
||||||
|
__suninit = .;
|
||||||
|
*(.uninit .uninit.*);
|
||||||
|
. = ALIGN(4);
|
||||||
|
__euninit = .;
|
||||||
|
} > REGION_BSS
|
||||||
|
|
||||||
/* fictitious region that represents the memory available for the heap */
|
/* fictitious region that represents the memory available for the heap */
|
||||||
.heap (NOLOAD) :
|
.heap (NOLOAD) :
|
||||||
{
|
{
|
||||||
@ -135,7 +145,7 @@ SECTIONS
|
|||||||
} > REGION_RTC_FAST
|
} > REGION_RTC_FAST
|
||||||
_fast_text_size = _ertc_fast_text - _srtc_fast_text + 8;
|
_fast_text_size = _ertc_fast_text - _srtc_fast_text + 8;
|
||||||
|
|
||||||
.rtc_fast.data : AT(_text_size + _rodata_size + _data_size + _rwtext_size + _fast_text_size)
|
.rtc_fast.data : AT(_text_size + _rodata_size + _data_size + _rwtext_size + _fast_text_size)
|
||||||
{
|
{
|
||||||
_rtc_fast_data_start = ABSOLUTE(.);
|
_rtc_fast_data_start = ABSOLUTE(.);
|
||||||
*(.rtc_fast.data .rtc_fast.data.*)
|
*(.rtc_fast.data .rtc_fast.data.*)
|
||||||
@ -144,7 +154,7 @@ SECTIONS
|
|||||||
} > REGION_RTC_FAST
|
} > REGION_RTC_FAST
|
||||||
_rtc_fast_data_size = _rtc_fast_data_end - _rtc_fast_data_start + 8;
|
_rtc_fast_data_size = _rtc_fast_data_end - _rtc_fast_data_start + 8;
|
||||||
|
|
||||||
.rtc_fast.bss (NOLOAD) : ALIGN(4)
|
.rtc_fast.bss (NOLOAD) : ALIGN(4)
|
||||||
{
|
{
|
||||||
_rtc_fast_bss_start = ABSOLUTE(.);
|
_rtc_fast_bss_start = ABSOLUTE(.);
|
||||||
*(.rtc_fast.bss .rtc_fast.bss.*)
|
*(.rtc_fast.bss .rtc_fast.bss.*)
|
||||||
@ -152,7 +162,7 @@ SECTIONS
|
|||||||
_rtc_fast_bss_end = ABSOLUTE(.);
|
_rtc_fast_bss_end = ABSOLUTE(.);
|
||||||
} > REGION_RTC_FAST
|
} > REGION_RTC_FAST
|
||||||
|
|
||||||
.rtc_fast.noinit (NOLOAD) : ALIGN(4)
|
.rtc_fast.noinit (NOLOAD) : ALIGN(4)
|
||||||
{
|
{
|
||||||
*(.rtc_fast.noinit .rtc_fast.noinit.*)
|
*(.rtc_fast.noinit .rtc_fast.noinit.*)
|
||||||
} > REGION_RTC_FAST
|
} > REGION_RTC_FAST
|
||||||
@ -224,4 +234,4 @@ then modify your build script to compile the C code _without_ the
|
|||||||
-fPIC flag. See the documentation of the `gcc::Config.fpic` method for
|
-fPIC flag. See the documentation of the `gcc::Config.fpic` method for
|
||||||
details.");
|
details.");
|
||||||
|
|
||||||
/* Do not exceed this mark in the error messages above | */
|
/* Do not exceed this mark in the error messages above | */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user