build error : cmsis_lpspi

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

build error : cmsis_lpspi

762件の閲覧回数
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 返信

718件の閲覧回数
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 件の賞賛
返信