Przeglądaj źródła

[bsp][nxp] 增加drv_spi_sample_rw007驱动

Abner 1 rok temu
rodzic
commit
2685b0465e
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      bsp/nxp/mcx/mcxn/frdm-mcxn947/board/SConscript

+ 3 - 0
bsp/nxp/mcx/mcxn/frdm-mcxn947/board/SConscript

@@ -12,6 +12,9 @@ MCUX_Config/board/pin_mux.c
 if GetDepend(['BSP_USING_SPI6_SAMPLE']):
     src += Glob('ports/spi_sample.c')
 
+if GetDepend(['BSP_USING_RW007']):
+    src += Glob('ports/drv_spi_sample_rw007.c')
+
 CPPPATH = [cwd, cwd + '/MCUX_Config/board']
 CPPDEFINES = ['DEBUG', 'CPU_MCXN947VDF_cm33_core0']