Hi
Which KSDK software version you are using?
Could you try to download the latest KSDK V2.0 for TWR-K21F120M board from here? After downloaded and check if there still with compile issue.
Wish it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------