初级会员

- 积分
- 54
- 金钱
- 54
- 注册时间
- 2019-5-4
- 在线时间
- 56 小时
|
3金钱
程序编译之后出现多条关于内存空间不够的报错,主芯片是STM32F103C8T6,MDK->Target里的默认设置IROM1 size: 0x10000, IRAM1 size: 0x5000
把IROM1/IRAM1 size分别改成0x40000/0x10000(显然与实际不符)后编译通过,请问不做这项改动的情况下有什么办法通过编译吗?
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.bss).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching flash.o(.bss).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_md.o(STACK).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching exfuns.o(.data).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.bss).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.data).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.data).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtc.o(.bss).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.data).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching rtc.o(.data).
.\Objects\TM.axf: Error: L6406E: No space in execution regions with .ANY selector matching mmc_sd.o(.data).
.\Objects\TM.axf: Error: L6407E: Sections of aggregate size 0xaae4 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
|
|