Hi, I have a C program to compile and load on a M16C processor. The program is ready and working, but I have to modify some lines. There are some AA.c and AA.h files, the ncrt0.a30 (the startup file) and the sect30.inc (the inclusion file). The compiler I have to use is NC30, which consists of:
- as30 which gives me ncrt0.r30 from ncrt0.a30 and sect30.inc
- nc30 - the compiler. It gives me AA.r30 from AA.c
- ln30 - the linker. It should give me my AA.x30 file
- lmc30.exe. It changes the AA.r30 file into AA.mot
As30 and nc30 don't give any problem, but when I run the linker it gives me the following errors:
sect30.inc 151 Error (ln30): ncrt0.r30 : '_VoutAltaSoglia1' value is undefined sect30.inc 156 Error (ln30): ncrt0.r30 : '_VinAlta' value is undefined sect30.inc 158 Error (ln30): ncrt0.r30 : '_VoutAltaSoglia2' value is undefined sect30.inc 161 Error (ln30): ncrt0.r30 : '_Dma0Interrupt' value is undefined sect30.inc 171 Error (ln30): ncrt0.r30 : '_Serial1RxInterrupt' value is undefined
And so on... The parameters of the programs should be ok, as I use some batch files made by the programmer who did it all. Any idea? Thank you very much