Looking through the forums, I found a similar problem (but in Chinese, which is why I didn't see it before!). Interestingly, the guy had the problem the day before me!
Anyway, here is the link to it: https://community.nxp.com/thread/496544
Lukas Heczko provided the solution (if you are reading this lukash, thank you!):
Hi Jon,
I was able to reproduce your issue. It's caused by missing #include "fsl_gpio.h" in the generated pin_mux.c file when GPIO pin direction is configured in the Pins tool.
Attached you can find patch with hot fix of the issue. To apply the patch, please copy the content of the archive into the tool's data folder:
- Windows: c:\ProgramData\NXP\mcu_data_v5
- Linux/Mac: /home/<USER>/.nxp/mcu_data_v5
This issue will be fixed in the next MCUXpresso Configuration Tools release.
Thank you for reporting this issue and we are sorry for the inconvenience!
Regards,
Lukas
If you go to the linked post, you can download the hotfix (I can't see how to add attachments).
As an aside, to the moderators, is every post moderated, or after a few do my posts come through straight away?