找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 4011|回复: 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).

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
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 | 只看该作者
是不是全局变量用的太多。
回复

使用道具 举报

5#
ID:378931 发表于 2018-7-25 13:32 | 只看该作者
整理一下定义的变量,或者使用外部SRAM。
回复

使用道具 举报

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

本版积分规则

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

Powered by 单片机教程网

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