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.
I decided to start a new thread since this problem is different than the original one. When I compile the attached code, I get four L13: Recursive Call to Segment Warnings. One of the functions called out in the warnings is this one:
BYTE process_Help(char xdata *cmdBuf) { printf("\r\nP2_CMDHELP\r\n"); printf(cmdBuf); cmdBuf[0] = '\0'; printf( "\r\nHelp Message\r\n" return TRUE; }
// First two lines of corrected reg530.h #ifndef _REG530_H #define _REG530_H . . . #endif // Last line of corrected reg530.h
It's a while since I looked at this stuff, and it wasn't quite applicable in my case, but I seem to remember something about it making it easier for the compiler/linker to make correct "guesses" about the pointers?
That's it exactly. But, since this is explained pretty well in the app note, I shall not preach! :-) Jon