|
发表于 2008-4-18 20:11:10
|
显示全部楼层
我 在自己做的板子上移植了ucosii v2.80。mcu是atmega64,测试没什么问题,移植本身跑的很稳定,可是今天发现一个奇怪问题,前几天移植成功后做测试的时候,我把最大任务数设为3(不 包括空闲任务),把MBOX,MUTEX等事件全禁止了,这样编译没问题,今天想在上面跑个复杂的例子,于是把最大任务数设为12,打开MBOX,MUTEX等,可是编译的时候出现古怪问日,google了很长时间未找到有用的信息,特在此请教大家:错误信息如下:
os_cpu_a.o:os_cpu_a.S:339: relocation truncated to fit: R_AVR_13_PCREL against symbol `OSIntEnter' defined in .text section in os_core.o
os_cpu_a.o:os_cpu_a.S:343: relocation truncated to fit: R_AVR_13_PCREL against symbol `OSTimeTick' defined in .text section in os_core.o
os_cpu_a.o:os_cpu_a.S:345: relocation truncated to fit: R_AVR_13_PCREL against symbol `OSIntExit' defined in .text section in os_core.o
make: *** [ucosgcc.elf] Error 1
Build succeeded with 0 Warnings...
不知道可有人知道怎么搞?到底出什么问题了 ?
编译器:winavr-20070525
thanks |
|