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

This commit is contained in:
Joakim Gebart 2015-01-29 10:14:49 +01:00
parent 1cfb11bcde
commit fc92ec98bf
2 changed files with 14 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */