Browse Source

cortexm: CMSIS: Add extern "C" to CMSIS headers

dev/timer
Joakim Gebart 8 years ago
parent
commit
fc92ec98bf
  1. 7
      cpu/cortexm_common/include/core_cmFunc.h
  2. 7
      cpu/cortexm_common/include/core_cmInstr.h

7
cpu/cortexm_common/include/core_cmFunc.h

@ -38,6 +38,9 @@
#ifndef __CORE_CMFUNC_H
#define __CORE_CMFUNC_H
#ifdef __cplusplus
extern "C" {
#endif
/* ########################### Core Function Access ########################### */
/** \ingroup CMSIS_Core_FunctionInterface
@ -668,4 +671,8 @@ __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_FPSCR(uint32_t fps
/*@} end of CMSIS_Core_RegAccFunctions */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CMFUNC_H */

7
cpu/cortexm_common/include/core_cmInstr.h

@ -38,6 +38,9 @@
#ifndef __CORE_CMINSTR_H
#define __CORE_CMINSTR_H
#ifdef __cplusplus
extern "C" {
#endif
/* ########################## Core Instruction Access ######################### */
/** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
@ -913,4 +916,8 @@ __attribute__((always_inline)) __STATIC_INLINE void __STRT(uint32_t value, volat
/*@}*/ /* end of group CMSIS_Core_InstructionInterface */
#ifdef __cplusplus
}
#endif
#endif /* __CORE_CMINSTR_H */

Loading…
Cancel
Save