fix encode err

This commit is contained in:
2024-09-22 15:37:04 +08:00
parent f3228690bf
commit 58a0bcc42c
+5 -5
View File
@@ -34,7 +34,7 @@ SECTIONS
KEEP (*(.fini))
. = ALIGN(4);
/* the symbol _etext will be defined at the end of code section */
/* the symbol '_etext' will be defined at the end of code section */
_etext = .;
} >FLASH
@@ -87,26 +87,26 @@ SECTIONS
.data :
{
. = ALIGN(4);
/* the symbol _sdata will be defined at the data section end start */
/* the symbol '_sdata' will be defined at the data section end start */
_sdata = .;
*(.data)
*(.data*)
. = ALIGN(4);
/* the symbol _edata will be defined at the data section end */
/* the symbol '_edata' will be defined at the data section end */
_edata = .;
} >RAM AT> FLASH
. = ALIGN(4);
.bss :
{
/* the symbol _sbss will be defined at the bss section start */
/* the symbol '_sbss' will be defined at the bss section start */
_sbss = .;
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
/* the symbol _ebss will be defined at the bss section end */
/* the symbol '_ebss' will be defined at the bss section end */
_ebss = .;
__bss_end__ = _ebss;
} >RAM