Hi,
I am converting a project using the new TM4C processor that was formerly compiled with StellarisWare into the new TivaWare, and following the migration guide.
In section 3-5-2-5 of the guide it is said to change the GPIO interrupt functions removing the "Pin" part.
E.g. GPIOPinIntClear into GPIOIntClear
Since all the TM4C parts have ROM functions I changed:
MAP_GPIOPinIntClear into MAP_GPIOIntClear
but the compiler complains it is not defined
This looks strange because using the same project on the same board, and compiling with StellarisWare, not only the MAP_GPIOPinIntClear is defined, but it works too.
This means that the function is indeed present into the ROM map.
Looking at the old includes I found it is defined as ROM_GPIOTABLE[10].
While on the new headers the entry is missing (it skips from ROM_GPIOTABLE[6] to ROM_GPIOTABLE[11])
So also the entries for GPIOIntEnable, GPIOIntDisable, GPIOIntStatus are missing in the ROM table definitions.
What happens?
Should we link the library versions, because the ROM versions are buggy?
I looked at the Errata, but didn't find anything regarding this issue.
Should you map back those missing entries, in a library update?
Regards.
Mau.