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>
This commit is contained in:
parent
629bd85612
commit
119714f366
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef TI_SIMPLELINK_CC32XX_SOC_H_
|
||||||
|
#define TI_SIMPLELINK_CC32XX_SOC_H_
|
||||||
|
|
||||||
#include <inc/hw_types.h>
|
#include <inc/hw_types.h>
|
||||||
#include <driverlib/prcm.h>
|
#include <driverlib/prcm.h>
|
||||||
|
|
||||||
|
@ -34,3 +37,6 @@ typedef enum {
|
||||||
#define __MPU_PRESENT 0 /* Zephyr has no MPU support */
|
#define __MPU_PRESENT 0 /* Zephyr has no MPU support */
|
||||||
#define __NVIC_PRIO_BITS DT_NUM_IRQ_PRIO_BITS
|
#define __NVIC_PRIO_BITS DT_NUM_IRQ_PRIO_BITS
|
||||||
#define __Vendor_SysTickConfig 0 /* Default to standard SysTick */
|
#define __Vendor_SysTickConfig 0 /* Default to standard SysTick */
|
||||||
|
|
||||||
|
#endif /* TI_SIMPLELINK_CC32XX_SOC_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue