This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Concerto uart_echo_m3 example

Other Parts Discussed in Thread: CONTROLSUITE

So I've been struggling with modifying the basic examples provided with code composer/control suite for the concerto evm board (library v1.5). In the main program, driverlib/uart.h is included and fns such as UARTIntClear() are used in the interrupt handler.

When I try moving this function to a new file and include the above, I get linker errors because I have only included the header file and not the .c implementation of the function. It seems that the main file knows where the driverlib .c file is, but not from the above include alone. Is there some hidden place where code composer is being specified where to look? Of course, I can just include the driver file directly in my project, but I'm trying to work "within the system" to keep my code portable.

Further, it seems that I need to #include "inc/hw_types.h" in the uart.h file to help the system recognize the boolean typedef -is this a bug? I'd ideally not be modifying the driver lib if I can help it, again to maintain portability.

Thanks,

Rik

Oh just to add a note that

-mv7M3 --code_state=16 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/tms470_4.9.5/include" --include_path="C:/ti/controlSUITE/device_support/f28m35x/v150/MWare" --gcc --diag_warning=225 --ual

are the options on the file properties and these are the same for both files - they both seem to include the same libraries