打印
[复制链接]
743|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
xxlnbzj|  楼主 | 2016-3-10 18:02 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用的芯片PIC32MX795F512L,编译出现bss段报错,
build/C32_PIC32MX795F512L/production/GM_FSFB2_Data.o: Link Error: Could not allocate section .bss, size = 34300 bytes, attributes = bss
build/C32_PIC32MX795F512L/production/GM_FSFB2.o: Link Error: Could not allocate section .bss, size = 904 bytes, attributes = bss
build/C32_PIC32MX795F512L/production/GM_FSFB2_Data.o: Link Error: Could not allocate section .data, size = 400 bytes, attributes = data
_iob.o: Link Error: Could not allocate section .data, size = 160 bytes, attributes = data
_iob.o: Link Error: Could not allocate section .bss, size = 64 bytes, attributes = bss
build/C32_PIC32MX795F512L/production/GM_FSFB2_VSN.o: Link Error: Could not allocate section .bss, size = 52 bytes, attributes = bss
sbrk.o: Link Error: Could not allocate section .bss, size = 28 bytes, attributes = bss
build/C32_PIC32MX795F512L/production/GM_FSFB2_PD.o: Link Error: Could not allocate section .bss, size = 24 bytes, attributes = bss
malloc.o: Link Error: Could not allocate section .bss, size = 16 bytes, attributes = bss
buf.o: Link Error: Could not allocate section .bss, size = 4 bytes, attributes = bss
Link Error: Could not allocate data memory
collect2: ld returned 1 exit status
make[2]: *** [dist/C32_PIC32MX795F512L/production/TWU0309.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
查了一下帖子说是使用large memory model,我使用的是MPLA x IDE V3.05
折腾半天也没找到在哪,请求高手出现指点
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

44

主题

56

帖子

0

粉丝