Hi madoyon,
I am sorry to tell you that the pmsm_enc and pmsm_safe are not support for FRDM-KV31F board right now.
You can find the hardware platforms supported by this release are listed in the following table:

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------