source: ecs_cellMon/firmware/STM32G071C8Tx_FLASH.icf @ 3

Last change on this file since 3 was 3, checked in by f.jahn, 20 months ago

fw hinzugfügt-->zed

File size: 1.3 KB
Line 
1define memory with size = 4G;
2
3define symbol _estack = 0x20009000;
4define region RAM = [0x20000000 size 0x9000];
5define region FLASH = [0x8000000 size 0x10000];
6define block ctors { section .ctors, section .ctors.*, block with alphabetical order { init_array } };
7define block dtors { section .dtors, section .dtors.*, block with reverse alphabetical order { fini_array } };
8define block exidx { section .ARM.exidx, section .ARM.exidx.* };
9define block tbss  { section .tbss,  section .tbss.*  };
10define block tdata { section .tdata, section .tdata.* };
11define block tls   { block tbss, block tdata };
12define block heap  with size = __HEAPSIZE__, alignment = 8, readwrite access { };
13define block stack with size = __STACKSIZE__, alignment = 8, readwrite access { };
14do not initialize  { section .non_init };
15initialize by copy { section .fast };
16
17place in FLASH { section .isr_vector };
18keep { section .isr_vector };
19place in FLASH { section .init, section .init.*, section .text, section .text.*, section .rodata, section .rodata.*, section .segger.*, block exidx, block ctors, block dtors };
20place in RAM { section .data, section .data.*, section .RamFunc* };
21place in RAM { section .bss, section .bss.* };
22place in RAM { block heap, block tls, section .non_init, section .fast };
23define symbol __stack_end__ = _estack;
Note: See TracBrowser for help on using the repository browser.