[BSP][imxrt1052] update rtconfig.h Kconfig

This commit is contained in:
balanceTWK 2018-04-09 18:51:19 +08:00
parent 6d63451e38
commit 4b086cfff9
2 changed files with 6 additions and 1 deletions

View File

@ -235,7 +235,7 @@ menu "Select iic drivers"
config RT_USING_I2C1
bool "USING I2C1"
select RT_USING_I2C
default n
default y
if RT_USING_I2C1
config RT_USING_I2C1_BITOPS
select RT_USING_I2C_BITOPS

View File

@ -209,6 +209,11 @@
#define LPSPI4_SCK_GPIO_1
#define LPSPI4_SDO_GPIO_1
#define LPSPI4_SDI_GPIO_1
/* Select iic drivers */
#define LPI2C_CLOCK_SOURCE_DIVIDER 4
#define RT_USING_I2C1
#define RT_USING_SDRAM
#define RT_USING_RTC_HP