mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-24 13:58:36 +08:00
[bsp/at32] 1.add support for AT-START-F407 board, 2.add eth and rtc driver
This commit is contained in:
@@ -27,6 +27,9 @@ if GetDepend(['BSP_USING_HWTIMER']):
|
||||
if GetDepend(['BSP_USING_SPI']):
|
||||
src += ['drv_spi.c']
|
||||
|
||||
if GetDepend(['BSP_USING_ETH', 'RT_USING_LWIP']):
|
||||
src += ['drv_eth.c']
|
||||
|
||||
if GetDepend(['RT_USING_I2C', 'RT_USING_I2C_BITOPS']):
|
||||
if GetDepend('BSP_USING_I2C1') or GetDepend('BSP_USING_I2C2') or GetDepend('BSP_USING_I2C3') or GetDepend('BSP_USING_I2C4'):
|
||||
src += ['drv_soft_i2c.c']
|
||||
@@ -37,7 +40,7 @@ if GetDepend(['BSP_USING_ADC']):
|
||||
if GetDepend('BSP_USING_SRAM'):
|
||||
src += ['drv_sram.c']
|
||||
|
||||
if GetDepend('BSP_USING_ONCHIP_RTC'):
|
||||
if GetDepend('BSP_USING_RTC'):
|
||||
src += ['drv_rtc.c']
|
||||
|
||||
if GetDepend(['BSP_USING_WDT']):
|
||||
|
||||
Reference in New Issue
Block a user