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.
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.
Hi This is embarassing. I have now found out that the question that I asked earlier is reduntant because it now works. Dont ask me why it just does. the project target headers now affect the defines as I hoped they should.
Thanks! have a good weekend.