| 我在使用 STM8L152R8 做的一个项目,这颗芯片FLASH应该是 64KB,IAR查看 lnkstm8l152r8.icf 文件,有如下定义:
 define region NearFuncCode = [from 0x8000 to 0xFFFF];
 define region FarFuncCode = [from 0x8000 to 0xFFFF]
 | [from 0x10000 to 0x17FFF];
 define region HugeFuncCode = [from 0x8000 to 0x17FFF];
 
 但是,我在程序中,如果编译代码超过 32KB,则编译出错
 |