define memory mem with size = 4G;
define region FLASH = mem:[from 0x00000000 to 0x0003ffff];
define region SRAM = mem:[from 0x20000000 to 0x2000ffff];
define block HEAP with alignment = 8, size = 0x00000000 { };
initialize by copy { readwrite };
do not initialize { section .noinit };
place at address mem:0x20000000 { readonly section .intvec};
place in mem:[from 0x20000000 to 0x20008000] {readonly};
place in mem:[from 0x20008001 to 0x2000ffff] { readwrite, block HEAP };
define memory mem with size = 4G;
define region FLASH = mem:[from 0x00000000 to 0x0003ffff];
define region SRAM = mem:[from 0x20000000 to 0x2000ffff];
define block HEAP with alignment = 8, size = 0x00000000 { };
initialize by copy { readwrite };
do not initialize { section .noinit };
place at address mem:0x20000000 { readonly section .intvec};
place in mem:[from 0x20000000 to 0x20008000] {readonly};
place in mem:[from 0x20008001 to 0x2000ffff] { readwrite, block HEAP };
一周热门 更多>