IAR编译报错 Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x215e bytes (max align 0x1) in <[0x008000-0x009fff]> (total uncommitted space 0x1f80).
IAR编译报错 Error[Lp011]: section placement failed
报错如下图:

解决办法如下:
选择Project->Options->C/C++ Compiler->Optimizations,将Level从Low修改为High,点OK,再次编译。


错误消失:

本文解决IAR编译时遇到的Error[Lp011]错误,通过调整编译器优化级别,成功解决了sectionplacementfailed的问题。
2173

被折叠的 条评论
为什么被折叠?



