Skip to content

Commit d2a7ad3

Browse files
committed
chore: remove some workaround definitions
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent c79cd7c commit d2a7ad3

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

‎libraries/SrcWrapper/inc/stm32_def.h‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
#endif
114114

115115
#if defined(STM32U0xx)
116-
#define RCC_CR_HSIDY_Pos RCC_CR_HSIRDY_Pos
117116
#include "stm32yyxx_ll_rtc.h"
118117
#if !defined(LL_RTC_BINARY_NONE)
119118
#define LL_RTC_BINARY_NONE RTC_BINARY_NONE
@@ -238,19 +237,6 @@ __STATIC_INLINE void LL_RTC_SetBinMixBCDU(RTC_TypeDef *RTCx, uint32_t BinMixBcdU
238237
#define GPIO_AF1_SPI1 STM_PIN_AFNUM_MASK
239238
#endif
240239

241-
#if defined(STM32C0xx)
242-
#if defined(USART3) && !defined(GPIO_AF7_USART3)
243-
#define GPIO_AF7_USART3 ((uint8_t)0x07)
244-
#endif /* USART3 & !GPIO_AF7_USART3*/
245-
#if defined(STM32C051xx) && !defined(GPIO_AF0_USART2)
246-
#define GPIO_AF0_USART2 ((uint8_t)0x00)
247-
#endif
248-
#endif // STM32C0xx
249-
250-
#if defined(STM32WBAxx) && defined(USB_OTG_HS) && !defined(GPIO_AF4_USB_OTG_HS)
251-
#define GPIO_AF4_USB_OTG_HS GPIO_AF4_OTG_HS
252-
#endif // STM32WBAxx && defined(USB_OTG_HS) && !defined(GPIO_AF4_USB_OTG_HS)
253-
254240
/**
255241
* Libc porting layers
256242
*/

0 commit comments

Comments
 (0)