我在使用 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];
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x8986 bytes in <[0x008000-0x00ffff]> (total uncommitted space 0x7f80).
Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x8986 bytes in <[0x008000-0x00ffff]> (total uncommitted space 0x7f80).
是不是没有**彻底。