Hi Harry Koukoutos,
I highly recommend you to refer to the nxp official code, it will have the according startup file, and the according project.
Please download it from this link:
https://mcuxpresso.nxp.com/en/select
Select the processors as your K10D100M chip, then generate the MCUXpresso IDE project, and try it again.
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------