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.

CCS/TM4C123GH6PM: When using tivaware, what is the difference between ROM_functioncall, MAP_functioncall, and functioncall

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

Hello,

What is the difference between ROM_ and MAP_ and just a function call?

Can we use these inter-exhangebly?

Best regards,

C.

  • If an error is found in one of the routines that was coded in the ROM, it is deprecated in the next version of TivaWare. The linker will not find the "ROM_" version of that function defined. However, the fixed version of that function will be available in the library without any prefix. Header files define the "MAP_" version of the functions to use the "ROM_" version if it is still valid, or the version without a prefix from the library if the "ROM_" version has been deprecated.

    So the real difference is if you want to get an error when you build with a new version of TivaWare and were using a ROM based function that has been deprecated. Use "ROM_" if you want to get error notifications. If you use "MAP_" instead, the linker will just use the library version of the new function without generating an error.

    They can be used interchangeably.
  • thank you for your illustrious answer.