[bsp][nxp] fix link error when enabling SPI
/usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.o: in function `spixfer': rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c:150:(.text.spixfer+0x102): undefined reference to `LPSPI_MasterTransferEDMA' /usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c:160:(.text.spixfer+0x16c): undefined reference to `LPSPI_MasterTransferEDMA' /usr/lib/gcc/arm-none-eabi/13.2.1/../../../arm-none-eabi/bin/ld: rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.o: in function `rt_hw_spi_init': rt-thread/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c:211:(.text.rt_hw_spi_init+0x22e): undefined reference to `LPSPI_MasterTransferCreateHandleEDMA'
This commit is contained in:
parent
ea63dd6c57
commit
15190b5972
|
@ -52,6 +52,7 @@ src += ['MCXN947/drivers/fsl_lpflexcomm.c']
|
|||
src += ['MCXN947/drivers/fsl_lpi2c.c']
|
||||
src += ['MCXN947/drivers/fsl_lpi2c_edma.c']
|
||||
src += ['MCXN947/drivers/fsl_lpspi.c']
|
||||
src += ['MCXN947/drivers/fsl_lpspi_edma.c']
|
||||
src += ['MCXN947/drivers/fsl_lptmr.c']
|
||||
src += ['MCXN947/drivers/fsl_lpuart.c']
|
||||
src += ['MCXN947/drivers/fsl_mrt.c']
|
||||
|
|
Loading…
Reference in New Issue