Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).

时间:2024-03-30 08:35:51

编译程序出现多个类似报错报错:.\Flash\LPC17xx-uCos-II-Mould.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).

这个问题其中原因可能是 芯片的IRAM空间不足。解决方法是 在KEIL 的Target中选择 IRAM2前的框打勾。

Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
打勾后,编译正常

Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).