ICF文件在\IAR Systems\Embedded Workbench 6.0\stm8\config\lnkstm8s103f3.icf
建议copy一份放在工程的文件夹里
即改成这样:
define region NearFuncCode = [from 0x9000 to 0x9FFF];
define region FarFuncCode = [from 0x9000 to 0x9FFF];
define region HugeFuncCode = [from 0x9000 to 0x9FFF];