Merge pull request #1352 from balanceTWK/master

[BSP][imxrt1052] update rtconfig.h Kconfig
This commit is contained in:
ZYH 2018-04-10 10:45:43 +08:00 committed by GitHub
commit c7183603e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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