标题: stm32单片机空间受限制,如何解决 [打印本页]

作者: 天涯明月刀    时间: 2018-7-23 09:35
标题: stm32单片机空间受限制,如何解决
stm32F103ve芯片内存不足,显示..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching oled.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(HEAP).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.bss).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.bss).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.bss).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f10x.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching oled.o(.bss).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching fdc2214.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6407E: Sections of aggregate size 0x16cec bytes could not fit into .ANY selector(s)...\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching oled.o(.data).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK).
..\OBJ\STM32F103RCT6.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(HEAP).
作者: Anger    时间: 2018-7-23 15:55
使用外部sram,吧变量存到里面,没有的花把数组数据保存到f'l'sh也可以
作者: Anger    时间: 2018-7-23 15:55
或者直接换芯片
作者: srweee    时间: 2018-7-25 12:38
是不是全局变量用的太多。
作者: BLACK-硕    时间: 2018-7-25 13:32
整理一下定义的变量,或者使用外部SRAM。




欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1