当前位置: 代码迷 >> 综合 >> keil编译错误: No space in execution regions with .ANY selector matching main.
  详细解决方案

keil编译错误: No space in execution regions with .ANY selector matching main.

热度:97   发布时间:2024-01-21 04:27:32.0

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\ov2640.axf: Error: L6406E: No space in execution regions with .ANY selector matching stdout.o(.data).
.\Objects\ov2640.axf: Error: L6407E: Sections of aggregate size 0x10000 bytes could not fit into .ANY selector(s).

啥玩楞 内存不足,又在debug中左改又改,甚至将Target中lelvel0 调到level3都没解决,最后检查将代码中的数组//uint8_t image_buffer[64480]; 太大了,改一下数组大小,运行成功

·

  相关解决方案