打印

pic18f26k20编译问题

[复制链接]
2106|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
zhouyuxin1977|  楼主 | 2014-7-23 15:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
编译后出现以下错误,请高手指点:
Make: The target "D:\Source code\FE2 PIC26K20 QP9D111 PTZ\export\26k20_sample_code.cof" is out of date.
Executing: "C:\Program Files (x86)\Microchip\MPLABC18\v3.43\bin\mplink.exe" /p18F26K20 /l"C:\Program Files\Microchip\mplabc18\v3.42\lib" /k"D:\Source code\FE2 PIC26K20 QP9D111 PTZ" "mt9d131.o" "sensor.o" "uart.o" "eep.o" "i2c.o" "pic.o" "mdin240.o" "delay.o" "mid_i2c.o" "mid_uart.o" "uart2i2c.o" "avs7201.o" "avs7201_1ch_cctv_out.o" "avs7201_cctv_out.o" "avs7201_sensor_out.o" "main_flow_uart2i2c.o" "main.o" "main_flow_cctv_sample.o" "main_flow_sensor_sample.o" /u_CRUNTIME /z__MPLAB_BUILD=1 /m"26k20_sample_code.map" /w /o"26k20_sample_code.cof"
MPLINK 4.44, Linker
Device Database Version 1.9
Copyright (c) 1998-2011 Microchip Technology Inc.
Error - section '.idata_avs7201.o' can not fit the section. Section '.idata_avs7201.o' length=0x00000120
Errors    : 1

Link step failed.
----------------------------------------------------------------------
Release build of project `D:\picdemo\mytest1\project\sample\26k20_sample_code.mcp' failed.
Language tool versions: mpasmwin.exe v5.46, mplink.exe v4.44, mcc18.exe v3.43, mplib.exe v4.44
Wed Jul 23 15:22:09 2014
----------------------------------------------------------------------
BUILD FAILED


我查了一下,好像是数据空间的问题,不知如何解。
沙发
Rain_King| | 2014-7-23 18:02 | 只看该作者
是一直移植实时系统,出现的问题吧....貌似变量空间不够,或者说是你的数组太大导致的....

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

1

粉丝