We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello to all, For my project, I use a my own asm file STARTUP.A51. After having linked all the files of the project, a warning message appears 'UNCALLED SEGMENT ?C_INITSEG'. Or I do not integrate any modules which contain this code segment. Apparently, it is incorporated by the linker itself at the linking run-time. I look for hints to remove this message ? Best regards. Jean-Luc.
This segment is included automatically by the C51 compiler when you create initialized global variables. These variables must be initialized before the program runs. If you link your program and the initialization code is not used, your global variables will not have the specified values. The easiest way to NOT get this error message is to NOT initialize any global variables. Jon