
P a g e
9 | 13
10.
From the Options dialog, select the C/C++ tab. At this point, you will add a new define to the project call
_ULINK_PRINT
. This is added to the end of the
Preprocessor Symbols
Define
filed as shown:
Updating the Project Files
Because debug/information output is sent to the
Debug
(printf) viewer
when using the ULINK, you need to include
2
new files into the project that will accomplish this.
These files redefine two macros, PRINTF and PUTS, which
are implemented differently for either OpenSDA or ULINK.
To add these two files go to the
Project
window, right click
the
Source Files
selection, and select
Add Existing File to
Group.
From within the dialog box that opens, select
itm_output.cpp