找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 4318|回复: 4
收起左侧

stm32单片机空间受限制,如何解决

[复制链接]
ID:375381 发表于 2018-7-23 09:35 来自手机 | 显示全部楼层 |阅读模式
60黑币
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).

回复

使用道具 举报

ID:246215 发表于 2018-7-23 15:55 | 显示全部楼层
使用外部sram,吧变量存到里面,没有的花把数组数据保存到f'l'sh也可以
回复

使用道具 举报

ID:246215 发表于 2018-7-23 15:55 | 显示全部楼层
或者直接换芯片
回复

使用道具 举报

ID:371727 发表于 2018-7-25 12:38 | 显示全部楼层
是不是全局变量用的太多。
回复

使用道具 举报

ID:378931 发表于 2018-7-25 13:32 | 显示全部楼层
整理一下定义的变量,或者使用外部SRAM。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表