File tree 3 files changed +32
-5
lines changed 3 files changed +32
-5
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ endchoice
31
31
config REGULATOR
32
32
default y
33
33
34
+ config INPUT
35
+ default y if LVGL
36
+
37
+ config I2C_STM32_V2_TIMING
38
+ default y if INPUT
39
+
34
40
endif # DISPLAY
35
41
36
42
endif # BOARD_STM32H573I_DK
Original file line number Diff line number Diff line change @@ -180,14 +180,14 @@ Serial Port
180
180
STM32H573I-DK Discovery board has 3 U(S)ARTs. The Zephyr console output is
181
181
assigned to USART1. Default settings are 115200 8N1.
182
182
183
- TFT LCD screen
184
- --------------
183
+ TFT LCD screen and touch panel
184
+ ------------------------------
185
185
186
- The TFT LCD screen is supported for the STM32H573I-DK Discovery board.
187
- It can be tested using :zephyr:code-sample: `display ` sample:
186
+ The TFT LCD screen and touch panel are supported for the STM32H573I-DK Discovery board.
187
+ They can be tested using :zephyr:code-sample: `lvgl ` sample:
188
188
189
189
.. zephyr-app-commands ::
190
- :zephyr-app: samples/drivers /display
190
+ :zephyr-app: samples/subsys /display/lvgl
191
191
:board: stm32h573i_dk
192
192
:goals: build
193
193
Original file line number Diff line number Diff line change 80
80
/* The ATTR_MPU_EXTMEM attribut causing a MPU FAULT */
81
81
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
82
82
};
83
+
84
+ lvgl_pointer {
85
+ compatible = "zephyr,lvgl-pointer-input";
86
+ input = <&ft3267>;
87
+ display = <&st7789v>;
88
+ invert-y;
89
+ };
83
90
};
84
91
85
92
&fmc {
200
207
status = "okay";
201
208
};
202
209
210
+ &i2c4 {
211
+ pinctrl-0 = <&i2c4_scl_pb8 &i2c4_sda_pb9>;
212
+ pinctrl-names = "default";
213
+ clock-frequency = <I2C_BITRATE_FAST>;
214
+ status = "okay";
215
+
216
+ ft3267: ft3267@38 {
217
+ compatible = "focaltech,ft5336";
218
+ reg = <0x38>;
219
+ int-gpios = <&gpiog 7 GPIO_ACTIVE_LOW>;
220
+ reset-gpios = <&gpiog 3 GPIO_ACTIVE_LOW>;
221
+ };
222
+ };
223
+
203
224
&usart1 {
204
225
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
205
226
pinctrl-names = "default";
You can’t perform that action at this time.
0 commit comments