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.

error: identifier "IOM_Fxns" is undefined

I'm trying to figure out how to use the BIOSPSP, specifically the UART.  I included uart.h and got the error.

I found  uartSampler.tci in the uartSample project in the examples folder.  Copied the code into my TCF file.  But it seems to just ignore all of the bios.UDEV statements.  None the bios.UDEV stuff appears in the .h file.

I'm really confused.  In the uartSample.c I do not see where it includes anything that defines IOM_Fxns found in uartSample.tci.  How does it know?

 

  • after reading more of the c6748 BIOS PSP User Guide I added "#include "ti\pspiom\platforms\evm6748\Uart_evmInit.h""

    that file includes <iom.h> which declares IOM_Fxns.  ok. progress.

    now the linker wants _Uart_IOMFXNS.  I searched inside all of the files in my project and cannot find where _Uart_IOMFXNS is ever declared.  The OBJ created from the TCF is the module that wants this symbol. But, again, it is not in the include or source.

    I cannot find where Uart_IOMFXNS in the sample, in any of the source, or anywhere online.  Is this a function that I write?  What does it do?  If not, where do I look to find it?

    Thanks for listening...

  • OK, I'm getting there.  Turns out my Windows search is defective.  I search strings that I know are in certain files and get no hits. Windows search has always been something of a POS.  Now mine is a complete POS!

    I found and fixed all of the errors except Uart_IOMFXNS.  Apparently this is some kind of RTDX or driver thing.  I found a reference to it in a wiki page but no explanation as to what it is or how to get it.  Maybe it is in one of the libraries included in the sample.  Regardless, I'll figure it out from here.

  • Kurt, based on your response I am assuming that you are OK for now.  Go ahead and post a new thread if you think you need help after all.

     

  • Yes, thank you.  Got sidetracked on other projects on other operating systems.  I finally found and copied all of the declarations and implementations.  They were all there in standard C.  It is all starting to make a bit of sense....