Error: L6406E: No space in execution regions with .ANY selector matching xxx.o(.xxx).

本文详细介绍了在使用STM32F4的FreeRTOS项目中遇到的内存不足错误L6406E和L6407E,分析了错误原因是因为malloc分配的内存超出了芯片RAM限制。通过调整内存管理参数,如将最大管理内存设为35K,成功解决了问题。同时提到,不同容量的STM32芯片之间的程序移植也可能导致类似错误。
摘要由CSDN通过智能技术生成

前言

我在使用STM32F4的FreeRTOS做项目实验过程中遇到报错:提示内存大小不足以存储当前代码,简单的说就是:芯片的存储空间不够


一、错误分析

linking…
…\OBJ\LED.axf: Error: L6406E: No space in execution regions with .ANY selector matching heap_4.o(.bss).
…\OBJ\LED.axf: Error: L6406E: No space in execution regions with .ANY selector matching spi.o(.bss).
…\OBJ\LED.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.bss).

。。。。。。

…\OBJ\LED.axf: Error: L6406E: No space in execution regions with .ANY selector matching spi.o(.data).
…\OBJ\LED.axf: Error: L6407E: Sections of aggregate size 0x12554 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.
Finished: 2 information, 0 warning and 31 error messages.
“…\OBJ\LED.axf” -

  • 0
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值