File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
libraries/SrcWrapper/src/stm32 Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ GPIO_TypeDef *set_GPIO_Port_Clock(uint32_t port_idx)
103
103
#endif
104
104
#if defined GPIOG_BASE
105
105
case PortG :
106
- #if defined(STM32L4xx ) && defined( PWR_CR2_IOSV )
106
+ #if defined(PWR_CR2_IOSV )
107
107
// Enable VDDIO2 supply for 14 I/Os (Port G[15:2])
108
108
HAL_PWREx_EnableVddIO2 ();
109
109
#endif
Original file line number Diff line number Diff line change @@ -98,12 +98,6 @@ void pin_function(PinName pin, int function)
98
98
/* Enable GPIO clock */
99
99
GPIO_TypeDef * gpio = set_GPIO_Port_Clock (port );
100
100
101
- #if defined (STM32L5xx )
102
- /* Validate the VDDIO2 supply for electrical and logical isolation purpose. */
103
- __HAL_RCC_PWR_CLK_ENABLE ();
104
- HAL_PWREx_EnableVddIO2 ();
105
- #endif /* STM32L5xx */
106
-
107
101
hsem_lock (CFG_HW_GPIO_SEMID , HSEM_LOCK_DEFAULT_RETRY );
108
102
109
103
/* Set default speed to high.
You can’t perform that action at this time.
0 commit comments