Skip to content

Commit 15da5f2

Browse files
committed
chore(wba): workaround for missing GPIO_AF4_USB_OTG_HS
Ref: STMicroelectronics/stm32wbaxx-hal-driver#2 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent a5651c5 commit 15da5f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/SrcWrapper/inc/stm32_def.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ __STATIC_INLINE void LL_RTC_SetBinMixBCDU(RTC_TypeDef *RTCx, uint32_t BinMixBcdU
224224
#define GPIO_AF7_USART3 ((uint8_t)0x07)
225225
#endif // STM32C0xx && !defined(USART3)
226226

227+
#if defined(STM32WBAxx) && defined(USB_OTG_HS) && !defined(GPIO_AF4_USB_OTG_HS)
228+
#define GPIO_AF4_USB_OTG_HS GPIO_AF4_OTG_HS
229+
#endif // STM32WBAxx && defined(USB_OTG_HS) && !defined(GPIO_AF4_USB_OTG_HS)
227230

228231
/**
229232
* Libc porting layers

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy