1 /*
2  * Copyright (c) 2019 Brett Witherspoon
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef TI_SIMPLELINK_CC13X2_CC26X2_SOC_H_
8 #define TI_SIMPLELINK_CC13X2_CC26X2_SOC_H_
9 
10 #include <zephyr/arch/arm/cortex_m/nvic.h>
11 
12 /* CMSIS required values */
13 typedef enum {
14 	Reset_IRQn            = -15,
15 	NonMaskableInt_IRQn   = -14,
16 	HardFault_IRQn        = -13,
17 	MemoryManagement_IRQn = -12,
18 	BusFault_IRQn         = -11,
19 	UsageFault_IRQn       = -10,
20 	SVCall_IRQn           =  -5,
21 	DebugMonitor_IRQn     =  -4,
22 	PendSV_IRQn           =  -2,
23 	SysTick_IRQn          =  -1,
24 } IRQn_Type;
25 
26 #define __CM4_REV              0
27 #define __MPU_PRESENT          1
28 #define __NVIC_PRIO_BITS       NUM_IRQ_PRIO_BITS
29 #define __Vendor_SysTickConfig 0
30 #define __FPU_PRESENT          1
31 
32 #include <core_cm4.h>
33 
34 #endif /* TI_SIMPLELINK_CC13X2_CC26X2_SOC_H_ */
35