2024年1月27日发(作者:)

1、syntax error 语法错误

2、MEMORY specification ignored RAMM1 不存在的内存说明

3、'./Debug/' not built 没有建立.out文件

4、can't open file '' for input: No such file or directory

5、 entry point other than _c_int00 specified 与_c_int00指定的输入点不同

6、MEMORY specification ignored 忽视了内存规范

7、symbol referencing errors 标签引用错误

1.如何为工程添加相应的include(.h)文件

对pjt点右键,选择“Scan All File Dependencies”.

2.编译错误

CCStudio_v3.3/C5500/csl/include/csl_chiphal.h", line 201:

fatal error: #error NO CHIP DEFINED 如何解决

解决办法:(摘自 这里)

Project --> Build Options --> Preprocessor --> Pre-define

Symbols 中加入CHIP_5502

g: entry point symbol _c_int00 undefined

error: symbol referencing errors - ./Debug/dc_ not built

解决办法:

是因为没有添加文件导致的。

对“library”点右键,添加C5500文件夹下的cgtool中的文件,即可。

4.错误类型 error: linking files for incompatible targets

解决办法:

出现这个错误是因为之前选择memory模式的时候和后来lib的设置不匹配,例如,如果之前在build option的complier的advance里设置的是large

memory模式的话,则在linker的设置里面就要设置为模式,而不能设置为。

build option 下 linker的libraries的ies的设置为“;”.

5.如何让新build过的程序自动load到目标板上

选择“Option”-》“Customize”-》“Program/Project/CIO”-》在“Load

Program After Build”上勾选即可。

1、Copies device specific calibration data into ADCREFSEL and ADCOFFTRIM registers

复制设备标定数据到ADCREFSEL 和ADCOFFTRIM寄存器中