This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEFINE's

Sorry to bug this forum, but I have no one else to ask..

In one program sample file there is this definition

#ifndef MCB2130 #include <lpc21xx.h>
#else #include <lpc213x.h> #define ADCR AD0CR #define ADDR AD0DR
#endif

In Components,environments and books - Project Targets. The supplied project titles are Simulator, MCB2100 and MCB2130.
I was expecting that using Title MCB2130 would cause <lpc213x.h> to be used and the other two to use <lpc21xx.h>. But in fact which ever Project target name is used <lpc21xx.h> is always used. If the Project name Title isn't what causes the selection what is? I can't find anything else.

0