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 72bba98 commit d851814Copy full SHA for d851814
boards/arduino/opta/board_gpio_init.c
@@ -7,6 +7,7 @@
7
#include <zephyr/init.h>
8
#include <stm32h7xx_ll_bus.h>
9
#include <stm32h7xx_ll_gpio.h>
10
+#include "../../../drivers/dp/swdp_ll_pin.h"
11
12
static int board_gpio_init(void)
13
{
@@ -37,6 +38,8 @@ static int board_gpio_init(void)
37
38
LL_GPIO_SetPinSpeed(GPIOJ, LL_GPIO_PIN_15, LL_GPIO_SPEED_FREQ_LOW);
39
LL_GPIO_SetPinOutputType(GPIOJ, LL_GPIO_PIN_15, LL_GPIO_OUTPUT_PUSHPULL);
40
LL_GPIO_SetPinPull(GPIOJ, LL_GPIO_PIN_15, LL_GPIO_PULL_UP);
41
+ LL_GPIO_ResetOutputPin(GPIOJ, LL_GPIO_PIN_15);
42
+ pin_delay_asm(100);
43
LL_GPIO_SetOutputPin(GPIOJ, LL_GPIO_PIN_15);
44
#endif
45
0 commit comments