keil编译错误
小编在编译程序时出现如下图错误:

| .\Objects\ov2640.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss). |
| .\Objects\ov2640.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.data). |
| .\Objects\ov2640.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data). |
| .\Objects\o |

在尝试编译Keil项目时遇到了L6406E和L6407E错误,提示内存空间不足。经过一系列调试,包括调整编译级别,问题仍未解决。最终发现是由于定义的数组过大导致的内存溢出。通过缩小数组大小,成功解决了编译问题,程序得以正常运行。
最低0.47元/天 解锁文章
2万+

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



