From 119714f366da9eb16507fa013e99dc5e4da6b565 Mon Sep 17 00:00:00 2001 From: Vincent Wan Date: Tue, 16 Jul 2019 15:59:35 -0700 Subject: [PATCH] soc: ti_simplelink: add macro to prevent double inclusion of soc.h soc.h needs to use a macro to guard against it being included multiple times. Fixes #17557 Signed-off-by: Vincent Wan --- soc/arm/ti_simplelink/cc32xx/soc.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/soc/arm/ti_simplelink/cc32xx/soc.h b/soc/arm/ti_simplelink/cc32xx/soc.h index 22a93ecb931..f648ea5463a 100644 --- a/soc/arm/ti_simplelink/cc32xx/soc.h +++ b/soc/arm/ti_simplelink/cc32xx/soc.h @@ -4,6 +4,9 @@ * SPDX-License-Identifier: Apache-2.0 */ +#ifndef TI_SIMPLELINK_CC32XX_SOC_H_ +#define TI_SIMPLELINK_CC32XX_SOC_H_ + #include #include @@ -34,3 +37,6 @@ typedef enum { #define __MPU_PRESENT 0 /* Zephyr has no MPU support */ #define __NVIC_PRIO_BITS DT_NUM_IRQ_PRIO_BITS #define __Vendor_SysTickConfig 0 /* Default to standard SysTick */ + +#endif /* TI_SIMPLELINK_CC32XX_SOC_H_ */ +