我用的是STM8S208,在COSMIC编译器下设置如下:
project setting -> linker -> input栏
usercode 0x8080 0x9fff
.const -it
.text
.UPDATE_CODE
freemem 0xA000 0x27fff
...
然后编译,报错了。
#error clnk Debug\project.lkf:1 segment .const size overflow (10106)
#error clnk Debug\project.lkf:1 segment .text size overflow (17500)
#error clnk Debug\project.lkf:1 segment .UPDATE_CODE size overflow (727)
#error clnk Debug\project.lkf:1 segment .init size overflow (564)
请问,这个是怎么设置的? |