Skip to content
Permalink
Browse files

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 <vincent.wan@linaro.org>
  • Loading branch information...
vanti authored and andrewboie committed Jul 16, 2019
1 parent 629bd85 commit 119714f366da9eb16507fa013e99dc5e4da6b565
Showing with 6 additions and 0 deletions.
  1. +6 −0 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 <inc/hw_types.h>
#include <driverlib/prcm.h>

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

0 comments on commit 119714f

Please sign in to comment.
You can’t perform that action at this time.