提交 64c9eaa7 编写于 作者: wuhanstudio's avatar wuhanstudio

Add I2C1 in Kconfig

上级 52fa0189
config BSP_USING_I2C
bool "Enable I2C1 (PB6/7)"
default n
select RT_USING_I2C
select RT_USING_I2C_BITOPS
config RT_USING_UART1
bool "Enable UART1 (PA9/10)"
default y
......
......@@ -15,7 +15,7 @@ usart.c
if GetDepend(['RT_USING_PIN']):
src += ['gpio.c']
if GetDepend(['RT_USING_I2C_BITOPS']):
if GetDepend(['BSP_USING_I2C']):
src += ['i2c.c']
# add canbus driver.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册