Skip to content

Commit fab435a

Browse files
authored
Merge pull request #4739 from xfwangqiang/imxrt1064
[BSP][IMXRT]modify kconfig for i2c, uart, LCD, and fixed i2c read bug in drv_i2c.c
2 parents 08fe2ee + fefaac8 commit fab435a

File tree

3 files changed

+489
-7
lines changed

3 files changed

+489
-7
lines changed

bsp/imxrt/imxrt1064-nxp-evk/board/Kconfig

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,81 @@ menu "On-chip Peripheral Drivers"
3232
config BSP_USING_LPUART1
3333
bool "Enable LPUART1"
3434
default y
35+
config BSP_USING_LPUART2
36+
bool "Enable LPUART2"
37+
default n
38+
config BSP_USING_LPUART3
39+
bool "Enable LPUART3"
40+
default n
41+
config BSP_USING_LPUART4
42+
bool "Enable LPUART4"
43+
default n
44+
config BSP_USING_LPUART5
45+
bool "Enable LPUART5"
46+
default n
47+
config BSP_USING_LPUART6
48+
bool "Enable LPUART6"
49+
default n
50+
config BSP_USING_LPUART7
51+
bool "Enable LPUART7"
52+
default n
53+
config BSP_USING_LPUART8
54+
bool "Enable LPUART8"
55+
default n
56+
endif
57+
58+
menuconfig BSP_USING_I2C
59+
bool "Enable I2C"
60+
select RT_USING_I2C
61+
default n
62+
if BSP_USING_I2C
63+
config BSP_USING_I2C1
64+
bool "Enable LPI2C1"
65+
default n
66+
config BSP_USING_I2C3
67+
bool "Enable LPI2C3"
68+
default n
69+
config BSP_USING_I2C4
70+
bool "Enable LPI2C4"
71+
default n
72+
endif
73+
74+
menuconfig BSP_USING_LCD
75+
bool "Enable LCD"
76+
default n
77+
if BSP_USING_LCD
78+
config LCD_WIDTH
79+
int "width"
80+
default 480
81+
82+
config LCD_HEIGHT
83+
int "height"
84+
default 272
85+
86+
config LCD_HFP
87+
int "HFP"
88+
default 4
89+
config LCD_VFP
90+
int "VFP"
91+
default 4
92+
config LCD_HBP
93+
int "HBP"
94+
default 8
95+
config LCD_VBP
96+
int "VBP"
97+
default 2
98+
config LCD_HSW
99+
int "HSW"
100+
default 40
101+
config LCD_VSW
102+
int "VSW"
103+
default 10
104+
config LCD_BL_PIN
105+
int "Backlight ctrl pin"
106+
default 63
107+
config LCD_RST_PIN
108+
int "Reset pin"
109+
default 2
35110
endif
36111

37112
endmenu

0 commit comments

Comments
 (0)