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.

Creating all the proper linkages in a CCS V4 New Project using USD serial as a starting point

I started a NEN project with CCS V4.2.4.33.  That project is on my laptop on the D drive.

The StellarisWare is installed on the C drive C:/StellarisWare

I'm attempting to use the USB serial demo project as a starting point for my new project.

I've  got most of the errors out of the code by adding include variables to the compiler.
Several errors are hanging on this one issue.


In one of the standard USB files, you find this code:


          ROM_UARTCharPutNonBlocking(ulBase, ucChar);    (this is just one example)

And I get a warning that the function is declared implicitly and an Error at linkage time that the function is not known.


In the same file as the code I find   #include "rom.h"  at the top and no error is generated So.....I conclude that it could find the header file.

In rom.h I see.............( and this is just one example)

#if defined(TARGET_IS_DUSTDEVIL_RA0) || \
    defined(TARGET_IS_TEMPEST_RB1) || \
    defined(TARGET_IS_TEMPEST_RC1) || \
    defined(TARGET_IS_TEMPEST_RC3) || \
    defined(TARGET_IS_TEMPEST_RC5) || \
    defined(TARGET_IS_FIRESTORM_RA2)
#define ROM_UARTCharGetNonBlocking                                            \
        ((long (*)(unsigned long ulBase))ROM_UARTTABLE[13])
#endif

SO I'm assuming one of the constants is not defined.  Hummmmmmmmm

Is all my deduction correct and where are these constants defined.

 

Thank You in advance.

George

  • The constants are actually defined as "pre-defined symbols" in the project settings...

     

    Here is the relevant page for the usb_dev_keyboard app for the new EK-LM4F232.  You will want to modify the items listed here based on your project and part.  UART_BUFFERED is an option used by our uartstdio.c in utils directory as far as I know so may not be needed for your application.  The other settings should be modified/set for your environment and target.

     

    Project Properties -> C/C++ Build -> Tool Settings -> Predefined symbols