in a file measure.ini: PE_SWD = 0 /* Disable Watchdog with pin PE_SWD */ but the compiler says "PE_SWD undefined identifier". is there anyone who can tell me what i should do,thanks a lot!
I presume you're talking about the measure.ini in the 'Measure' C51 example Project? It looks like Keil have introduced the error somewhere between v6.14 and v6.23! PE_SWD is not defined in any of the v6.23 Keil standard header files, and is not mentioned in the documentation of the example Project :-( The only difference between the v6.14 and v6.23 Projects seems to be that the following lines have been added at the top of measure.ini:
PE_SWD = 0 /* Disable Watchdog with pin PE_SWD */ reset /* perform CPU reset: uses value at PE_SWD */ G,MAIN