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.
All:
I am confused about some code that works, but has a confusing ? in front of the code. When I hover over the ?, I get "syntax error."
Code is below - it works fine! (In fact I am running the UART very well with the defines given.)
UART_DLL = C5505_UART_BAUD_LOW;
UART_DLH = C5505_UART_BAUD_HIGH;
In my header file, I define
#define C5505_UART_BAUD_LOW 0x0004
#define C5505_UART_BAUD_HIGH 0x0000
and
#define UART_DLL *(volatile ioport Uint16*)(0x1B10)
#define UART_DLH *(volatile ioport Uint16*)(0x1B12)
These ? do not even show up as compiler warnings, unless I need some other "level." Any idea why this is happening?
If you are seeing the "?" in the editor view, these are coming from the Eclipse indexer and not from the codegen tools. Especially if there are no CGT errors or warnings reported in the CCS build console. These are only syntax errors reported by the indexer and should not affect the project build itself.
Please see these related threads and tips for disabling indexer:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/145583/526566.aspx#526566
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/112689/400058.aspx#400058