[...]
It doesn't seem to be an issue?
No, not really.
The TI Driver library is burned in internal MSP432 ROM, and the rom_map.h file is used to remap routines that were buggy in the ROM to the ones provided by the source code.
If the user includes the rom_map.h header file and uses the MAP_ prefix in front of the API, the header file will automatically use
preprocessor macros to decide whether to use a ROM or flash version of the API.
So, if you use MAP_xxxx you always get the (supposedly) correct xxxx.
The rom_map.h file you linked, though, is not mapping anything to the ROM, the one I use instead has:
#ifdef ROM_SysTick_setPeriod
#define MAP_SysTick_setPeriod \
ROM_SysTick_setPeriod
#else
#define MAP_SysTick_setPeriod \
SysTick_setPeriod
And
ROM_SysTick_setPeriod is defined in rom.h:
#if defined(TARGET_IS_MSP432P4XX)
#define ROM_SysTick_setPeriod \
((void (*)(uint32_t period))ROM_SYSTICKTABLE[4])
#endif
Both rom.h and rom_map.h are included by driverlib.h .
So the actual routine called is the one in ROM (at least for my version of DriverLib).
Nah, I was just being persnickety.
I love learning new words! Persnickety is now officially in my vocabulary. Thanks!
Back to the soldering iron, before sleep takes its toll.