I amd trying to use SET_CODE_SECTION pragma directive in a C project to allocate a C file to specific section. This directive is mentioned in the spnu151g manual that it can be used for C or C++. However, when I build my project with CC4 ver 4.2.4, I get a warning "unrecognized #pragma". If I use CODE_SECTION directive instead, it will work, but the problem is that I need to add it for each function, instead of having two pragmas for each file.
Does anyone know what the issue is with SET_CODE_SECTION pragma directive?