soc: arm: fix missing configs & defines

Some SoC have missing feature selections in their Kconfig.
Some others are missing includes of CMSIS-Core headers.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
This commit is contained in:
Wilfried Chauveau 2023-11-07 12:57:29 +00:00 committed by Fabio Baltieri
commit af3a19106a
41 changed files with 61 additions and 15 deletions

View file

@ -7,6 +7,8 @@
#ifndef TI_SIMPLELINK_CC13X2_CC26X2_SOC_H_
#define TI_SIMPLELINK_CC13X2_CC26X2_SOC_H_
#include <zephyr/arch/arm/cortex_m/nvic.h>
/* CMSIS required values */
typedef enum {
Reset_IRQn = -15,
@ -27,4 +29,6 @@ typedef enum {
#define __Vendor_SysTickConfig 0
#define __FPU_PRESENT 1
#include <core_cm4.h>
#endif /* TI_SIMPLELINK_CC13X2_CC26X2_SOC_H_ */

View file

@ -7,6 +7,8 @@
#ifndef TI_SIMPLELINK_CC32XX_SOC_H_
#define TI_SIMPLELINK_CC32XX_SOC_H_
#include <zephyr/arch/arm/cortex_m/nvic.h>
#include <inc/hw_types.h>
#include <driverlib/prcm.h>
@ -38,4 +40,6 @@ typedef enum {
#define __NVIC_PRIO_BITS NUM_IRQ_PRIO_BITS
#define __Vendor_SysTickConfig 0 /* Default to standard SysTick */
#include <core_cm4.h>
#endif /* TI_SIMPLELINK_CC32XX_SOC_H_ */

View file

@ -11,5 +11,6 @@ config SOC_SERIES_MSP432P4XX
select DYNAMIC_INTERRUPTS
select SOC_FAMILY_TISIMPLELINK
select CPU_HAS_FPU
select CPU_HAS_ARM_MPU
help
Enable support for TI SimpleLink MSP432P4XX.