File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,10 @@ extern "C" {
5353/* Includes ------------------------------------------------------------------*/
5454#include <stdint.h>
5555
56+ /* Core compatibility --------------------------------------------------------*/
57+ #if defined(STM32_CORE_VERSION ) && (STM32_CORE_VERSION <= 0x020C0000 )
58+ #error "This library is not compatible with core version used. Please update the core."
59+ #endif
5660
5761/* Exported defines ----------------------------------------------------------*/
5862
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ extern "C" {
5454/* Includes ------------------------------------------------------------------*/
5555#include <stdint.h>
5656
57+ /* Core compatibility --------------------------------------------------------*/
58+ #if defined(STM32_CORE_VERSION ) && (STM32_CORE_VERSION <= 0x020C0000 )
59+ #error "This library is not compatible with core version used. Please update the core."
60+ #endif
5761
5862/* Exported defines ----------------------------------------------------------*/
5963/**
You can’t perform that action at this time.
0 commit comments