Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cores/arduino/stm32/stm32_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
|(STM32_CORE_VERSION_PATCH << 8U )\
|(STM32_CORE_VERSION_EXTRA))

#define F_CPU SystemCoreClock
#define USE_HAL_DRIVER

#ifdef STM32F0xx
Expand Down Expand Up @@ -53,6 +52,10 @@
#error "STM32YYxx chip series is not defined in boards.txt."
#endif

#ifndef F_CPU
#define F_CPU SystemCoreClock
#endif

// Here define some compatibility
#ifndef CAN1
#define CAN1 CAN
Expand Down