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
515 B
Plaintext
25 lines
515 B
Plaintext
/* Memory layout for bootloader and internal filesystem configuration (this here describes the app part):
|
|
|
|
FLASH_TEXT .isr_vector
|
|
FLASH_TEXT .text
|
|
FLASH_TEXT .data
|
|
|
|
RAM .data
|
|
RAM .bss
|
|
RAM .heap
|
|
RAM .stack
|
|
*/
|
|
|
|
ENTRY(Reset_Handler)
|
|
|
|
REGION_ALIAS("FLASH_COMMON", FLASH_TEXT);
|
|
|
|
/* 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
|
|
}
|