fa57ee971b
This commit uses the REGION_ALIAS GNU linker command to simplify the linker snippets and consolidate the duplication. Signed-off-by: Damien George <damien@micropython.org>
25 lines
446 B
Plaintext
25 lines
446 B
Plaintext
/* Memory layout for basic configuration:
|
|
|
|
FLASH .isr_vector
|
|
FLASH .text
|
|
FLASH .data
|
|
|
|
RAM .data
|
|
RAM .bss
|
|
RAM .heap
|
|
RAM .stack
|
|
*/
|
|
|
|
ENTRY(Reset_Handler)
|
|
|
|
REGION_ALIAS("FLASH_COMMON", FLASH);
|
|
|
|
/* define output sections */
|
|
SECTIONS
|
|
{
|
|
INCLUDE common_isr.ld
|
|
INCLUDE common_text.ld
|
|
INCLUDE common_extratext_data_in_flash.ld
|
|
INCLUDE common_bss_heap_stack.ld
|
|
}
|