[bsp/at32] 1.add support for AT-START-F407 board, 2.add eth and rtc driver

This commit is contained in:
sheltonyu
2020-05-26 14:49:09 +08:00
parent 130550d5a6
commit e2086dcd3b
40 changed files with 17624 additions and 2 deletions
+4 -1
View File
@@ -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']):