arm-none-eabi/bin/ld: build/com.zubax.gnss.elf section `.text' will not fit in region `flash'
来源:互联网 发布:js顶部滑动菜单栏 编辑:程序博客网 时间:2024/06/05 07:15
出现如下错误:
/arm-none-eabi/bin/ld: build/com.zubax.gnss.elf section `.text' will not fit in region `flash'/arm-none-eabi/bin/ld: region `flash' overflowed by 5869 bytes
bootloader编译,.text已经超过预设大小。修改方案有两个:
精简代码
修改MEMORY预设值
ChibiOS
以ChibiOS为例,修改ld.ld文件和Makefile文件
# vi ld.ldMEMORY{MEMORY{ flash : org = 0x08000000, len = 32512/*增大此值*/ /* 32K for the bootloader minus 256 for the signature */ ram : org = 0x20000100, len = 65280 /* First 256 bytes are reserved for bootloader/app communication */}}
# vi MakefileAPPLICATION_OFFSET = 32512 //与ld.ld中修改值对应,代码中会用到
阅读全文
1 0
- arm-none-eabi/bin/ld: build/com.zubax.gnss.elf section `.text' will not fit in region `flash'
- 编译时提示`.text' will not fit in region `iram1_0_seg' 解决方式
- arm-elf/arm-eabi/arm-none-eabi
- `.bss' will not fit in region `m_data' 内存越界
- arm-none-eabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N arm-none-eabi
- arm-none-eabi-gcc
- arm-none-eabi && arm-none-linux-gnueabi
- 在Ubuntu 10.4环境下安装arm-2010q1-188-arm-none-eabi.bin文件
- arm-none-linux-gnueabi-ld: libgcc.a(_udivdi3.o) has EABI version 5, but target u-boot has EABI versi
- arm-none-eabi-g++ -Xlinker -T "../LF3Kmonitor.ld" -Xlinker -Map="Bogota_ICT_V.map"-ram-hosted.ld -mc
- windows7 下 TQ2440开发板 + OpenOCD + OpenJTAG + Eclipse + arm-elf-gdb/arm-none-eabi-gdb调试窗口图例
- arm-elf和arm-eabi的区别
- arm-elf和arm-eabi的区别
- arm-linux-eabi 和arm-none-eabi的区别
- opt/FriendlyARM/toolschain/4.4.3/bin/.arm-none-linux-gnueabi-ld: cannot find -lc
- arm-none-eabi-gdb+J-Link 使用说明
- debian jessie 安装 arm-none-eabi-gcc
- linux安装gcc-arm-none-eabi
- 求某一天是星期几
- 二分查找STL初体验
- 【NOIP2017提高A组冲刺11.1】荒诞
- CSS实现元素垂直居中的方法小结
- 算法-Java实现归并排序
- arm-none-eabi/bin/ld: build/com.zubax.gnss.elf section `.text' will not fit in region `flash'
- 8球胜负(eight)
- 冒泡排序
- 对C语言的小总结
- jQuery 效果
- hive 使用方法-建表及导入导出数据(一)
- python备忘录
- 1056. 组合数的和(15)——C语言
- 0001