targets: move target-specific files to this directory

This commit is contained in:
Ayke van Laethem
2018-09-13 00:59:39 +02:00
parent e389d38dec
commit 76e77917d8
5 changed files with 2 additions and 2 deletions
+43
View File
@@ -0,0 +1,43 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0, LENGTH = 32256
RAM (xrw) : ORIGIN = 0, LENGTH = 2K
}
_stack_size = 512;
SECTIONS
{
.text :
{
KEEP(*(.isr))
KEEP(*(.reset))
KEEP(*(.text.main)) /* main must follow the reset handler */
*(.text.*)
*(.rodata)
*(.rodata.*)
}
.stack :
{
. += _stack_size;
_stack_top = .;
} >RAM
.data :
{
*(.data)
*(.data*)
} >RAM AT>FLASH_TEXT
.bss :
{
_sbss = .;
*(.bss)
*(.bss*)
*(COMMON)
_ebss = .;
_heap_start = .;
} >RAM
}