Summary of Problems and Solutions in CCS6 Compilation[Copy link]
Error 1, error #7: unrecognized token..... Solution: Open CCS6 software, window—>preferences—>workspace—>"Text file encoding" change the default CP1252 encoding to UTF-8 or UC-ASCII in other. This modification can also solve the problem of garbled comments in the copied files. Error 2, error #10234-D: unresolved symbols remain Solution: In Properties->predefined symbols, add "CHIP_5509" (the chip model you are using) in the Pre-define NAME (--define, -D) box. The chip I use is 5509A, but if I add "CHIP_5509A" to compile, there will be an error. If I add "CHIP_5509" to compile, there will be no problem. It is not clear why this happens. There is a problem with the library selection. If you use the csl5509x.lib library, you need to write "CHIP_5509", and if you use the csl5509ax.lib library, you need to write "CHIP_5509A"