Hi Andy,
I am not familiar with the ceedling, and never use it before.
But, about the SIM_SOPT2_USBSRC and SIM_SOPT2_PLLFLLSEL error, actually, from IAR, MDK, MCUXPresso IDE, you also can find it is defined in the MK64F12.h.
So, the code should not have the problem, I think it should still in the ceedling side, maybe you can contact with ceedling engineer, let them help you whether you have lost some configuration in that tool. From the nxp side, we highly recommend you to use the official recommended IDE:IAR , MDK, MCUXPresso IDE.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------