add usarts to 303

This commit is contained in:
Edward Emelianov
2021-07-15 22:21:37 +03:00
parent 5715444e1e
commit 813549e0f2
18 changed files with 983 additions and 2 deletions

View File

@@ -49,6 +49,10 @@ SECTIONS {
_stext = .;
*(.text*)
*(.rodata*)
*(.glue_7) /* glue arm to thumb code */
*(.glue_7t) /* glue thumb to arm code */
KEEP (*(.init))
KEEP (*(.fini))
. = ALIGN(4);
_etext = .;
} >rom
@@ -61,7 +65,7 @@ SECTIONS {
.ARM : {
*(.ARM.exidx*)
} >rom
.data :
{
. = ALIGN(4);
@@ -74,11 +78,22 @@ SECTIONS {
.myvars :
{
. = ALIGN(2048);
__varsstart = ABSOLUTE(.);
KEEP(*(.myvars))
} > rom
_ldata = LOADADDR(.data);
.ccmram :
{
. = ALIGN(4);
_sccmram = .;
*(.ccmram)
*(.ccmram*)
. = ALIGN(4);
_eccmram = .;
} >ccmram AT> rom
.bss :
{
. = ALIGN(4);