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