编译没有问题,cmd文件如下: MEMORY { PAGE 0 : FLASH : origin = 0x3d8000, length = 0x7f4f RESET : origin = 0x0, length = 0x3f
PAGE 1 : DATA : origin = 0x008000, length = 0x001fff
}
SECTIONS { .reset : load = RESET, PAGE = 0 .text : load = FLASH, PAGE = 0 .cinit : load = FLASH, PAGE = 0 .vectors : load = FLASH, PAGE = 0 .stack : load = DATA, PAGE = 1 .data : load = DATA, PAGE = 1 .ebss : load = DATA, PAGE = 1 .bss : load = DATA, PAGE = 1 .econst : load = DATA, PAGE = 1 .const : load = DATA, PAGE = 1 .cio : load = DATA, PAGE = 1 }
|