標題: 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。