We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5add4c9 commit f2faf72Copy full SHA for f2faf72
hw/bsp/stm32h7/boards/waveshare_openh743i/board.h
@@ -192,6 +192,14 @@ static inline void board_stm32h7_post_init(void)
192
// Init timer
193
TIM_HandleTypeDef tim2Handle;
194
TIM_ClockConfigTypeDef sClockSourceConfig = {0};
195
+ GPIO_InitTypeDef GPIO_InitStruct;
196
+
197
+ // ULPI_RST
198
+ GPIO_InitStruct.Pin = ULPI_RST_PIN;
199
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
200
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
201
+ GPIO_InitStruct.Speed = 0;
202
+ HAL_GPIO_Init(ULPI_RST_PORT, &GPIO_InitStruct);
203
204
__HAL_RCC_TIM2_CLK_ENABLE();
205
0 commit comments