Where is the driver selection in Config Tools v4?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Where is the driver selection in Config Tools v4?

5,164 次查看
benjaminnoack
Contributor I

If I choose to create a new configuration based on the Hello World example, and then try to configure the SPI1 peripheral it show an error saying the driver is not found. Ok, well, why doesn't it let me import it? The config tools know which SDK I am using, it should be able to import the necessary driver files.

标记 (1)
0 项奖励
回复
4 回复数

4,758 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Benjamin Noack ,

When using the MCUXpresso Config tool to config peripherals, it generate two files "peripherals.c" and "peripherals.h",

it only includes the initialize information code, the drivers are in driver  files, when you create project, you need choose

peripherals driver that you need. Please ignore the error , in fact, the initialize code has generate in the peripherals .c file,

just export them , then add them into your project 。

pastedImage_1.png

Also if you need MCUXpresso IDE, you can refer to Marek's said righting  click the error

reminder, then choose Add component .

Hope it helps,

Alice

4,758 次查看
benjaminnoack
Contributor I

Ok, so it seems the config tools no longer support the automatic inclusion of drivers during project creation. That is disappointing. The screenshot I attached is from v3 and it was a nice feature. Thank you for the reply.

0 项奖励
回复

4,758 次查看
marek-trmac
NXP Employee
NXP Employee

Hi,

error "XXX Driver is missing" means, that the driver is not included in the toolchain project. This does not cause any problem for Config Tools, e.g. you can ignore the error continue working in Config Tools, but when you switch back to IDE (MDK, IAR or MCUXpresso IDE), the project will not be compilable until you add the SDK driver.

Regards

Marek

Regards,
Marek


NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button
0 项奖励
回复

4,758 次查看
marek-trmac
NXP Employee
NXP Employee

Hi Benjamin,

if you are using MCUXpresso IDE, just click on the problem in Problems view and select "Add component". Several problems allows to be fixed this way.

Regards

Marek

Regards,
Marek


NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button
0 项奖励
回复