From 693a3a8837a358a327dd806c1dc658e169e625fe Mon Sep 17 00:00:00 2001 From: Bartek Szatkowski Date: Wed, 5 Jul 2017 16:39:18 +0100 Subject: [PATCH] sara_nbiot_evk: Expose SystemCoreClock via cmsis.h This change is necessary as updated CMSIS/RTX require the SystemCoreClock symbol. --- targets/TARGET_ublox/TARGET_HI2110/device/hi2110.h | 2 ++ targets/TARGET_ublox/TARGET_HI2110/device/system_hi2110.h | 1 + 2 files changed, 3 insertions(+) diff --git a/targets/TARGET_ublox/TARGET_HI2110/device/hi2110.h b/targets/TARGET_ublox/TARGET_HI2110/device/hi2110.h index bbc1a08c35..8303702454 100644 --- a/targets/TARGET_ublox/TARGET_HI2110/device/hi2110.h +++ b/targets/TARGET_ublox/TARGET_HI2110/device/hi2110.h @@ -21,6 +21,8 @@ extern "C" { #endif +#include "system_hi2110.h" + /******************************************************************************/ /* Processor and Core Peripherals */ /******************************************************************************/ diff --git a/targets/TARGET_ublox/TARGET_HI2110/device/system_hi2110.h b/targets/TARGET_ublox/TARGET_HI2110/device/system_hi2110.h index 0f8b78aee5..a09702bf82 100644 --- a/targets/TARGET_ublox/TARGET_HI2110/device/system_hi2110.h +++ b/targets/TARGET_ublox/TARGET_HI2110/device/system_hi2110.h @@ -22,6 +22,7 @@ extern "C" { #endif #include +#include extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */