STM8程序在IAR中报错 unable to allocate space for sections

时间:2023-03-08 20:03:01

Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size of 0x2298 bytes in <[0x008000-0x009fff]> (total  
uncommitted space 0x1f80). 
Error while running Linker

虽然不知道是为什么超过了,但是解决了;

我把Option--C/C++ compile--Optimizations中的Level选为High就好了