build error : cmsis_lpspi

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

build error : cmsis_lpspi

515 Views
hamatron
Contributor I

Hi 

I tried to build by importing lpspi_cmsis but failed with the following error:

undefined reference to `LPSPI1_DeinitPins'

undefined reference to `LPSPI1_InitPins'

Should i define these in my code ? 

Labels (1)
0 Kudos
1 Reply

471 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello,


You need to have these two functions in the files pin_mux.c and pin_mux.h. Within the SDK for the RT1020-EVK, we provide an example that uses the lpspi_cmsis drivers, I highly recommend you to check this project to see the functions that you are missing.


Have a great day,
TIC

-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

0 Kudos