Skip to content

Commit 05edfa8

Browse files
committed
system: F0: update STM32F0xx hal default config
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 878e793 commit 05edfa8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/STM32F0xx/stm32f0xx_hal_conf_default.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ extern "C" {
3939
*/
4040
#define HAL_MODULE_ENABLED
4141
#define HAL_ADC_MODULE_ENABLED
42+
#define HAL_CAN_LEGACY_MODULE_ENABLED
4243
#define HAL_CAN_MODULE_ENABLED
4344
#define HAL_CEC_MODULE_ENABLED
4445
#define HAL_COMP_MODULE_ENABLED
@@ -231,6 +232,10 @@ in voltage and temperature. */
231232
#include "stm32f0xx_hal_can.h"
232233
#endif /* HAL_CAN_MODULE_ENABLED */
233234

235+
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
236+
#include "stm32f0xx_hal_can_legacy.h"
237+
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
238+
234239
#ifdef HAL_CEC_MODULE_ENABLED
235240
#include "stm32f0xx_hal_cec.h"
236241
#endif /* HAL_CEC_MODULE_ENABLED */

0 commit comments

Comments
 (0)