Error: L6218E: Undefined symbol Driver_SPI0

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

Error: L6218E: Undefined symbol Driver_SPI0

1,156 次查看
kevinyuthermo
Contributor III

In my K64 MCU project, I need to use the cmsis dspi edma driver.

So I ported the code from example "cmsis_dspi_edma_transfer".

But I always got a link error:

.\Objects\hello.axf: Error: L6218E: Undefined symbol Driver_SPI0 (referred from main.o).

.\Objects\hello.axf: Error: L6218E: Undefined symbol Driver_SPI1 (referred from main.o).

I have already included proper header files, and also added fsl_dspi_cmsis.c into project.

But still link error like this.

I am blocked here, any suggestions?

0 项奖励
回复
1 回复

842 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Kevin:

I would suggest you refer to the below demo, it shows how to use DSPI driver in edma way:

SDK_2.4.0_FRDM-K64F\boards\frdmk64f\driver_examples\dspi\edma_b2b_transfer

Regards

Daniel