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.

Resolving Stellarisware peripheral library functions with ROM_ and MAP_

Hi,

   When I create a project to build one of the provided examples that reference ROM_*() functions I'm not getting the symbols to resolved.  Based on my reading rom.h declares the ROM_ symbols and rom_map.h resolves the MAP_ symbols.  I assumed these symbols would be defined during linking by the driverlib ccs library.

What is the trick to get  these to resolve? 

Where can I find information on which functions are in LM4F120 rom?  In any case, it seems that use of MAP will adapt.

Thanks again!

My environment: Ubuntu 12.04, CCS 5.2.1, target:TI Stellaris Launchpad (LM4F120).

  • Tim,

    It is my understanding that rom_map.h is to call function in ROM, if not present, then use flash stored function (which is built and programmed into flash by compiler from DriverLib) if ROM not available.  This enables versatility for software developers.  For example, they can begin code development on a previous generation device that does not have ROM and transport code easily  to a new generation device that does.  Build as a ROM call or MAP (flash) function is handled by #ifdef's compiler directives.

    Lela