Hi, I need to configure the SDK, for example for debug using console UART, I define the following constants:
SERIAL_PORT_TYPE_UART=1
SDK_DEBUGCONSOLE=DEBUGCONSOLE_REDIRECT_TO_SDK
SDK_DEBUGCONSOLE_UART=1
So, are there any global header file to do this?.
I known that I can pass theses constants using the "-D" option with GCC in my Makefile, like -D'SERIAL_PORT_TYPE_UART=1', but is hard to read in project.
Now I'm using a global file like "sdklib.h" and include to all SDK by default using the GCC option "-include sdklib.h", because I can touch this file more easily and add comments.
Any suggest?
Thanks!
Hi, I'm using the LPC51U68 (JBD48). Thanks.