소스 검색

[bsp][nxp] 增加drv_spi_sample_rw007驱动

Abner 1 년 전
부모
커밋
2685b0465e
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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']