MCUXpressoIDE building fatal error?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpressoIDE building fatal error?

566 Views
liuqimin
Contributor IV

有一个用MCUXpressoIDE建立的MKV46F256xxx16项目,在building是产生错误,提示丢失fsl_smc.h文件,如附图:

pastedImage_1.png

根据提示,这是一个与时钟配置有关的文件,按照我的理解,时钟配置好后这个文件应该自动加载,而我的时钟配置并没有提示错误,:

pastedImage_2.png

pastedImage_3.png想手动加载这个fsl_smc.h文件,但是在MCUXpresso IDE和SDK的安装目录中,没有找到这个文件, 哪位碰到同样的问题能不能帮帮我?        多谢!

 Qimin Liu

Labels (1)
0 Kudos
2 Replies

472 Views
BlackNight
NXP Employee
NXP Employee

click on that icon in the toolbar, then add the smc driver to your project:

pastedImage_1.png

I hope this helps,

Erich

0 Kudos

472 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello qimin liu ,

In default , the file "fsl_smc.h" is under drivers folder when create a new SDK project.

pastedImage_1.png

Please re-create  a new project to check whether you delete it by accident.

If still have issue , please use the latest SDK version 2.5 to have a try.

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos