今天做DMA的实验,串口发送太快,于是把串口速率调慢,然后为了看到发送过程,就把发送的缓冲区也调大了一点,想着看看过程,于是问题出现了,
提示“linking...
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(HEAP).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.bss).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.bss).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.data).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.data).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.data).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching dma.o(.data).
..OBJ模板工程.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.data).
..OBJ模板工程.axf: Error: L6407E: Sections of aggregate size 0x764 bytes could not fit into .ANY selector(s).”
这是咋回事,突然出现,查了一下,说是芯片的存储太小,换一个大点的。可是刚才还好着呢,这不胡扯吗。
然后我 看啊看啊,找了半天,发现了问题,看图
手贱,把缓冲区定义的太大了,我定义了64K,后来改小之后,就好了。
以后大家注意。
最后,这个图片怎么弄大点呢,这么小,看的难受!
一周热门 更多>