Skip to content

Commit 2fcf8d8

Browse files
committed
STM32F4 : correct compilation warnings
1 parent a540a21 commit 2fcf8d8

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4/TARGET_ARCH_MAX/stm32f4_eth_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
7878
/* Disable the Ethernet global Interrupt */
7979
NVIC_DisableIRQ(ETH_IRQn);
8080
}
81-
}
81+
}

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4/TARGET_MTB_UBLOX_ODIN_W2/stm32f4_eth_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ uint8_t mbed_otp_mac_address(char *mac)
156156
memcpy(mac, _macAddr, 6);
157157

158158
return 1;
159-
}
159+
}

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F429ZI/stm32f4_eth_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
8484
/* Disable the Ethernet global Interrupt */
8585
NVIC_DisableIRQ(ETH_IRQn);
8686
}
87-
}
87+
}

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F439ZI/stm32f4_eth_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ void HAL_ETH_MspDeInit(ETH_HandleTypeDef* heth)
8484
/* Disable the Ethernet global Interrupt */
8585
NVIC_DisableIRQ(ETH_IRQn);
8686
}
87-
}
87+
}

targets/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_can_legacy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
#error 'The HAL CAN driver cannot be used with its legacy, Please ensure to enable only one HAL CAN module at once in stm32f4xx_hal_conf.h file'
137137
#endif /* HAL_CAN_MODULE_ENABLED */
138138

139-
#warning 'Legacy HAL CAN driver is enabled! It can be used with known limitations, refer to the release notes. However it is recommended to use rather the new HAL CAN driver'
139+
// #warning 'Legacy HAL CAN driver is enabled! It can be used with known limitations, refer to the release notes. However it is recommended to use rather the new HAL CAN driver'
140140

141141
/* Private typedef -----------------------------------------------------------*/
142142
/* Private define ------------------------------------------------------------*/

targets/TARGET_STM/TARGET_STM32F4/serial_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ UART_HandleTypeDef uart_handlers[UART_NUM];
5050
static uart_irq_handler irq_handler;
5151

5252
// Defined in serial_api.c
53-
inline int8_t get_uart_index(UARTName uart_name);
53+
extern int8_t get_uart_index(UARTName uart_name);
5454

5555
/******************************************************************************
5656
* INTERRUPTS HANDLING

0 commit comments

Comments
 (0)