1. How to add the corresponding include (. h) file for the project
Right-click pjt and select "scan all file dependencies ".
2. Compilation Error
Ccstudio_v3.3/c5500/CSL/include/csl_chiphal.h ", line 201:
Fatal error: # error no chip defined
Solution: (from here)
Project --> build options --> Preprocessor --> pre-define symbols add chip_5502
3. Warning: Entry Point Symbol _ c_int00 undefined
Error: Symbol referencing errors-./debug/dc_motor.out not built
Solution:
This error is caused by the absence of the RTS. Lib file.
Right-click "library" and add the rts55.lib file in cgtool in the c5500 folder.
4. Error Type: Linking files for incompatible targets
Solution:
This error occurs because the selected memory mode does not match the later lib settings. For example, if large memory mode is set in the advance of the complier of build option, set it to rts55x in linker settings. lib mode, rather than rts55.lib.
Set incl. Libraries of linker Libraries under build option to "csl5502.lib; rts55.lib ".
5. How to make the new buildProgramAutomatically load to the target board
Select "option"-"customize"-"Program/project/CIO"-"load program after build.