[bsp][pico]add: drv_spi and drv_i2c

This commit is contained in:
Shicheng Chu
2023-07-30 08:36:47 -04:00
committed by GitHub
parent 9f88f10e82
commit 5c4b44f81e
6 changed files with 456 additions and 0 deletions
+6
View File
@@ -22,6 +22,12 @@ if GetDepend('BSP_USING_ADC'):
if GetDepend('BSP_USING_WDT'):
src += ['drv_wdt.c']
if GetDepend('BSP_USING_SPI'):
src += ['drv_spi.c']
if GetDepend('BSP_USING_I2C'):
src += ['drv_i2c.c']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')