feat add i2c driver for hc32f4a0 board

This commit is contained in:
Liu_Weichao
2022-12-05 11:01:47 +08:00
parent e5bf0cee41
commit d0902ca37f
16 changed files with 587 additions and 12 deletions
@@ -14,6 +14,14 @@ menuconfig BSP_USING_SPI
source "$BSP_DIR/third_party_driver/spi/Kconfig"
endif
menuconfig BSP_USING_I2C
bool "Using I2C device"
default n
select RESOURCES_I2C
if BSP_USING_I2C
source "$BSP_DIR/third_party_driver/i2c/Kconfig"
endif
menuconfig BSP_USING_SDIO
bool "Using SD CARD device"
default n