This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BUG: Project build - assembler not factoring the .H file updates

Hello

If a project is rebuilt after making a correction in the .H file, the assembler is not assembling the .asm file where the #define constant from the .H file is used. Note that the .H file is properly included in the .asm file. This results in a stale output. Once you give a build, you assume all the files where the correction done .H file is included wil get compiled/ assembled. If the project file list is long, it is tedious to check if build is proper. 

Please suggest a remedy.

Thanks

Sayee

  • Assuming you are using .cdecls to include header files into .asm source, this is a known limitation. The compiler currently does not generate dependency information for files included with .cdecls directive in assembly source files, hence CCS does not rebuild those files. We have a enhancement request for the compiler to add this support, but I'm not sure when this will be implemented.