Skip to content

Commit

Permalink
add SWD pin definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
joeycastillo committed Jul 10, 2024
1 parent 577ebae commit 98cd63d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/hal_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
} \
\

#define SWCLK GPIO(GPIO_PORTA, 30)
#define SWDIO GPIO(GPIO_PORTA, 31)

#ifdef APP_USES_TINYUSB
HAL_GPIO_PIN(USB_N, A, 24)
HAL_GPIO_PIN(USB_P, A, 25)
Expand Down

0 comments on commit 98cd63d

Please sign in to comment.