Merge pull request #4714 from bulislaw/expose_systemcoreclock

Expose SystemCoreClock via cmsis.h to support new CMSIS/RTX
pull/4803/head
Jimmy Brisson 2017-07-24 10:59:47 -05:00 committed by GitHub
commit d5108e5a7a
3 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,7 @@
#include "hal_efuse.h" #include "hal_efuse.h"
#include "hal_soc_ps_monitor.h" #include "hal_soc_ps_monitor.h"
#include "diag.h" #include "diag.h"
#include "system_8195a.h"
// from RDC team // from RDC team
#ifdef CONFIG_MBED_ENABLED #ifdef CONFIG_MBED_ENABLED

View File

@ -21,6 +21,8 @@
extern "C" { extern "C" {
#endif #endif
#include "system_hi2110.h"
/******************************************************************************/ /******************************************************************************/
/* Processor and Core Peripherals */ /* Processor and Core Peripherals */
/******************************************************************************/ /******************************************************************************/

View File

@ -22,6 +22,7 @@ extern "C" {
#endif #endif
#include <stdint.h> #include <stdint.h>
#include <stdbool.h>
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */