Skip to content

Commit 20a1027

Browse files
committed
Updated stm32f3xx_hal_conf.h in variant
Follow STM32F3xx HAL Drivers to v1.5.2 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent a68d97d commit 20a1027

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

variants/NUCLEO_F302R8/stm32f3xx_hal_conf.h

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#define HAL_MODULE_ENABLED
5454
#define HAL_ADC_MODULE_ENABLED
5555
#define HAL_CAN_MODULE_ENABLED
56+
// #define HAL_CAN_LEGACY_MODULE_ENABLED
5657
// #define HAL_CEC_MODULE_ENABLED
5758
// #define HAL_COMP_MODULE_ENABLED
5859
#define HAL_CORTEX_MODULE_ENABLED
@@ -204,6 +205,10 @@
204205
#include "stm32f3xx_hal_can.h"
205206
#endif /* HAL_CAN_MODULE_ENABLED */
206207

208+
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
209+
#include "stm32f3xx_hal_can_legacy.h"
210+
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
211+
207212
#ifdef HAL_CEC_MODULE_ENABLED
208213
#include "stm32f3xx_hal_cec.h"
209214
#endif /* HAL_CEC_MODULE_ENABLED */

variants/NUCLEO_F303K8/stm32f3xx_hal_conf.h

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#define HAL_ADC_MODULE_ENABLED
5454
/*#define HAL_CRYP_MODULE_ENABLED */
5555
/*#define HAL_CAN_MODULE_ENABLED */
56+
/*#define HAL_CAN_LEGACY_MODULE_ENABLED */
5657
/*#define HAL_CEC_MODULE_ENABLED */
5758
/*#define HAL_NAND_MODULE_ENABLED */
5859
/*#define HAL_NOR_MODULE_ENABLED */
@@ -230,6 +231,10 @@
230231
#include "stm32f3xx_hal_can.h"
231232
#endif /* HAL_CAN_MODULE_ENABLED */
232233

234+
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
235+
#include "stm32f3xx_hal_can_legacy.h"
236+
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
237+
233238
#ifdef HAL_CEC_MODULE_ENABLED
234239
#include "stm32f3xx_hal_cec.h"
235240
#endif /* HAL_CEC_MODULE_ENABLED */

variants/NUCLEO_F303RE/stm32f3xx_hal_conf.h

+6-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
*/
5353
#define HAL_MODULE_ENABLED
5454
#define HAL_ADC_MODULE_ENABLED
55-
//#define HAL_CAN_MODULE_ENABLED
55+
// #define HAL_CAN_MODULE_ENABLED
56+
// #define HAL_CAN_LEGACY_MODULE_ENABLED
5657
// #define HAL_CEC_MODULE_ENABLED
5758
// #define HAL_COMP_MODULE_ENABLED
5859
#define HAL_CORTEX_MODULE_ENABLED
@@ -204,6 +205,10 @@
204205
#include "stm32f3xx_hal_can.h"
205206
#endif /* HAL_CAN_MODULE_ENABLED */
206207

208+
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
209+
#include "stm32f3xx_hal_can_legacy.h"
210+
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
211+
207212
#ifdef HAL_CEC_MODULE_ENABLED
208213
#include "stm32f3xx_hal_cec.h"
209214
#endif /* HAL_CEC_MODULE_ENABLED */

0 commit comments

Comments
 (0)