TI中文支持网
TI专业的中文技术问题搜集分享网站

刚学DSP用ccs5.2编译ccs3.3的例程时出现问题如下,纠结好久了,不知怎么改,在线等

**** Build of configuration Debug for project RTC ****

C:\ti\ccsv5\utils\bin\gmake -k all'Building file: ../rtc.c'
'Invoking: C5500 Compiler'
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5509A –memory_model=large -g –include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" –include_path="C:/Program Files/C55xxCSL/include" –include_path="C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" –define=c5509a –define="_DEBUG" –define="_CSL5509X_LIB_" –define="CHIP_5509" –display_error_number –diag_warning=225 –ptrdiff_size=32 –preproc_with_compile –preproc_dependency="rtc.pp" "../rtc.c"
'Finished building: ../rtc.c'
' '
'Building target: RTC.out'
'Invoking: C5500 Linker'
"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/bin/cl55" -v5509A –memory_model=large -g –define=c5509a –define="_DEBUG" –define="_CSL5509X_LIB_" –define="CHIP_5509" –display_error_number –diag_warning=225 –ptrdiff_size=32 -z -m"RTC.map" –stack_size=0x200 –heap_size=0x400 -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/Program Files/C55xxCSL/include" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" –reread_libs –display_error_number –warn_sections –rom_model –sys_stacksize=0x200 -o "RTC.out" "./rtc.obj" -l"C:\Program Files\C55xxCSL\lib\csl5509.lib" -l"libc.a" "../csl5509x.lib" "../rtc.cmd" "../rts55x.lib"<Linking>
fatal error #16019: file "C:\Program
Files\C55xxCSL\lib\csl5509.lib<_csl_init.obj>" specifies small memory model,
which is not compatible with large memory model specified in a previous file
or on the command line

>> Compilation failure
gmake: *** [RTC.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

jiehai zhou:

noaming:

回复 jiehai zhou:

根据提示修改一下memory model

"C5500 Compiler" 下面选择 "Runtime Model Options"

jiehai zhou:

回复 noaming:

 不知道你的意思是不是这个,选则了这一项后,编译结果如下,

noaming:

回复 jiehai zhou:

不好意思,刚看到你的问题,不是这里的设置。不是在advanced选项中,在c5500 compliler下面的processor 选项中设置内存类型。

noaming:

回复 jiehai zhou:

赞(0)
未经允许不得转载:TI中文支持网 » 刚学DSP用ccs5.2编译ccs3.3的例程时出现问题如下,纠结好久了,不知怎么改,在线等
分享到: 更多 (0)