build error : cmsis_lpspi

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

build error : cmsis_lpspi

758 次查看
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 ? 

标签 (1)
0 项奖励
回复
1 回复

714 次查看
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 项奖励
回复