Kinetis Design Studio KSDK FRDM K64F undefined reference to 'SPI_DRV_MasterInit'

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

Kinetis Design Studio KSDK FRDM K64F undefined reference to 'SPI_DRV_MasterInit'

跳至解决方案
1,719 次查看
edwinchristiany
Contributor II

I am using KDS with KSDK, when included on my project spi, i have a error: 'undefined reference to  'SPI_DRV_MasterInit'', but i am including  #include "fsl_spi_master_driver.h".

what's is problem?

Screenshot from 2015-01-19 10_59_47.pngScreenshot from 2015-01-19 10_59_51.png

标签 (1)
标记 (4)
1 解答
1,246 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Edwin,

This is definitely a problem with paths, but I am not sure is compiler paths or linker paths. I assume linker.

Please take a look to the following document which indicates all the paths required for a full working KSDK application.

Writing my first KSDK Application in KDS - Hello World and Toggle LED with GPIO Interrupt

Best regards,

Carlos Musich

Technil Support Engineer

在原帖中查看解决方案

2 回复数
1,247 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Edwin,

This is definitely a problem with paths, but I am not sure is compiler paths or linker paths. I assume linker.

Please take a look to the following document which indicates all the paths required for a full working KSDK application.

Writing my first KSDK Application in KDS - Hello World and Toggle LED with GPIO Interrupt

Best regards,

Carlos Musich

Technil Support Engineer

1,246 次查看
edwinchristiany
Contributor II

thanks, Carlos.

0 项奖励
回复