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

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

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

Jump to solution
1,717 Views
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

Labels (1)
Tags (4)
1 Solution
1,244 Views
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

View solution in original post

2 Replies
1,245 Views
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,244 Views
edwinchristiany
Contributor II

thanks, Carlos.

0 Kudos
Reply