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
looks like one thing Keil can work on the warning message or the use of function pointers? I certainly think there's loads of room for improvement in the Errors helpfile; it's a brilliant idea with the description, then Symptoms, Cause, and Example - but often poorly implemented or just left blank. A missed opportunity so far, I think. It's certainly high time they got the F1 message help to work properly!