arch: arm: fix "template with C linkage" in cmsis.h
The error manifests itself when including cmsis.h from C++ code Signed-off-by: Anton Gerasimov <agerasimov@twilio.com>
This commit is contained in:
parent
46da745ed8
commit
ac4eb32293
@ -14,12 +14,12 @@
|
||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_CMSIS_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_CMSIS_H_
|
||||
|
||||
#include <soc.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <soc.h>
|
||||
|
||||
/* CP10 Access Bits */
|
||||
#define CPACR_CP10_Pos 20U
|
||||
#define CPACR_CP10_Msk (3UL << CPACR_CP10_Pos)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user