mydzxx 发表于 2018-8-1 14:44:01

IAR编译错误,有32K限制?

源程序正常,加了一段程序后编译错误Building configuration: CCJSTM8S207 - Debug Updating build tree...
main.c
Linking
Error: section placement failed
          unable to allocate space for sections/blocks with a total estimated
minimum size of 0x803e bytes (max align 0x1) in <> (total
uncommitted space 0x7f80).
Error while running Linker

Total number of errors: 1
Total number of warnings: 0
然后查了一下发现:32 030 bytes of readonlycode memory
原来:31 379 bytes of readonlycode memory
第一次用IAR,是不是IAR有32K限制,请知道的大师解惑,谢谢!


mydzxx 发表于 2018-8-1 14:55:33

WIN7/64

toofree 发表于 2018-8-1 15:43:39

本帖最后由 toofree 于 2018-8-1 16:35 编辑

试过了,非常有可能是32K限制。





mydzxx 发表于 2018-8-1 20:18:09

谢谢toofree大师指点,知道问题方向了,谢谢!顺便问一下,谁有破解32K限制的IAR,因为现在程序工作才到三分之一,不是简化压缩能搞定的。

feixiang20 发表于 2018-8-2 01:42:18

代码容量限制,一般限制在32k或者64K,具体的限制条件,官网上会有说明,看看官网有没有破解介绍呢

强仔-346393 发表于 2019-3-27 16:39:00

您好!请问没有32k限制的IAR软件找到了吗?谢谢

ccfengfw 发表于 2019-3-29 12:28:59

这个确实是容量限制,找破解工具吧!
页: [1]
查看完整版本: IAR编译错误,有32K限制?