找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 4798|回復(fù): 4
打印 上一主題 下一主題
收起左側(cè)

stm32單片機(jī)空間受限制,如何解決

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
ID:375381 發(fā)表于 2018-7-23 09:35 來自手機(jī) | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
60黑幣
stm32F103ve芯片內(nèi)存不足,顯示..\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空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報

沙發(fā)
ID:246215 發(fā)表于 2018-7-23 15:55 | 只看該作者
使用外部sram,吧變量存到里面,沒有的花把數(shù)組數(shù)據(jù)保存到f'l'sh也可以
回復(fù)

使用道具 舉報

板凳
ID:246215 發(fā)表于 2018-7-23 15:55 | 只看該作者
或者直接換芯片
回復(fù)

使用道具 舉報

地板
ID:371727 發(fā)表于 2018-7-25 12:38 | 只看該作者
是不是全局變量用的太多。
回復(fù)

使用道具 舉報

5#
ID:378931 發(fā)表于 2018-7-25 13:32 | 只看該作者
整理一下定義的變量,或者使用外部SRAM。
回復(fù)

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

手機(jī)版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表