soc: arm: select CPU_HAS_SYSTICK in ARCH Kconfig
ARM SysTick timer is implemented by default in ARMv7-M and Mainline ARMv8-M processors, so we include the corresponding Kconfig symbol in arch/arm/core/cortex-M/Kconfig and remove the selections from the Cortex-M SOCs. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
ce0dcea4b1
commit
ccf90fd9c2
30 changed files with 1 additions and 29 deletions
|
@ -207,6 +207,7 @@ config ARMV7_M_ARMV8_M_MAINLINE
|
||||||
select CPU_CORTEX_M_HAS_BASEPRI
|
select CPU_CORTEX_M_HAS_BASEPRI
|
||||||
select CPU_CORTEX_M_HAS_VTOR
|
select CPU_CORTEX_M_HAS_VTOR
|
||||||
select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
|
select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
|
||||||
|
select CPU_HAS_SYSTICK
|
||||||
help
|
help
|
||||||
This option signifies the use of an ARMv7-M processor
|
This option signifies the use of an ARMv7-M processor
|
||||||
implementation, or the use of a backwards-compatible
|
implementation, or the use of a backwards-compatible
|
||||||
|
|
|
@ -11,7 +11,6 @@ config SOC_SERIES_BEETLE
|
||||||
depends on ARM
|
depends on ARM
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select SOC_FAMILY_ARM
|
select SOC_FAMILY_ARM
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
help
|
help
|
||||||
Enable support for Beetle MCU Series
|
Enable support for Beetle MCU Series
|
||||||
|
|
|
@ -8,7 +8,6 @@ config SOC_SERIES_MPS2
|
||||||
bool "ARM MPS2 MCU Series"
|
bool "ARM MPS2 MCU Series"
|
||||||
depends on ARM
|
depends on ARM
|
||||||
select SOC_FAMILY_ARM
|
select SOC_FAMILY_ARM
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select GPIO_MMIO32 if GPIO
|
select GPIO_MMIO32 if GPIO
|
||||||
help
|
help
|
||||||
Enable support for ARM MPS2 MCU Series
|
Enable support for ARM MPS2 MCU Series
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
config SOC_SERIES_MUSCA
|
config SOC_SERIES_MUSCA
|
||||||
bool "ARM v2m MUSCA MCU Series"
|
bool "ARM v2m MUSCA MCU Series"
|
||||||
select SOC_FAMILY_ARM
|
select SOC_FAMILY_ARM
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select BUILD_OUTPUT_HEX
|
select BUILD_OUTPUT_HEX
|
||||||
help
|
help
|
||||||
Enable support for ARM MPS2 MCU Series
|
Enable support for ARM MPS2 MCU Series
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
config SOC_SERIES_MUSCA_B1
|
config SOC_SERIES_MUSCA_B1
|
||||||
bool "arm v2m MUSCA B1 MCU Series"
|
bool "arm v2m MUSCA B1 MCU Series"
|
||||||
select SOC_FAMILY_ARM
|
select SOC_FAMILY_ARM
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select BUILD_OUTPUT_HEX
|
select BUILD_OUTPUT_HEX
|
||||||
help
|
help
|
||||||
Enable support for arm V2M Musca B1 MCU Series
|
Enable support for arm V2M Musca B1 MCU Series
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_SAM3X
|
||||||
bool "Atmel SAM3X MCU"
|
bool "Atmel SAM3X MCU"
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select SOC_FAMILY_SAM
|
select SOC_FAMILY_SAM
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select ASF
|
select ASF
|
||||||
help
|
help
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_SAM4S
|
||||||
bool "Atmel SAM4S MCU"
|
bool "Atmel SAM4S MCU"
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_SAM
|
select SOC_FAMILY_SAM
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select ASF
|
select ASF
|
||||||
help
|
help
|
||||||
Enable support for Atmel SAM4S Cortex-M4 microcontrollers.
|
Enable support for Atmel SAM4S Cortex-M4 microcontrollers.
|
||||||
|
|
|
@ -9,7 +9,6 @@ config SOC_SERIES_SAME70
|
||||||
select CPU_CORTEX_M7
|
select CPU_CORTEX_M7
|
||||||
select SOC_FAMILY_SAM
|
select SOC_FAMILY_SAM
|
||||||
select CPU_HAS_FPU_DOUBLE_PRECISION
|
select CPU_HAS_FPU_DOUBLE_PRECISION
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select ASF
|
select ASF
|
||||||
select XIP
|
select XIP
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
|
|
|
@ -9,7 +9,6 @@ config SOC_SERIES_MEC1701X
|
||||||
bool "Microchip MEC1701X Series"
|
bool "Microchip MEC1701X Series"
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_MEC
|
select SOC_FAMILY_MEC
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
help
|
help
|
||||||
Enable support for Microchip MEC Cortex-M4 MCU series
|
Enable support for Microchip MEC Cortex-M4 MCU series
|
||||||
|
|
|
@ -11,7 +11,6 @@ config SOC_SERIES_IMX_6X_M4
|
||||||
select HAS_IMX_HAL
|
select HAS_IMX_HAL
|
||||||
select SOC_FAMILY_IMX
|
select SOC_FAMILY_IMX
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL
|
select CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for M4 core of i.MX 6SoloX MCU series
|
Enable support for M4 core of i.MX 6SoloX MCU series
|
||||||
|
|
|
@ -9,7 +9,6 @@ config SOC_SERIES_IMX7_M4
|
||||||
bool "i.MX7 M4 Core Series"
|
bool "i.MX7 M4 Core Series"
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_IMX
|
select SOC_FAMILY_IMX
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL
|
select CLOCK_CONTROL
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
help
|
help
|
||||||
|
|
|
@ -9,7 +9,6 @@ config SOC_SERIES_IMX_RT
|
||||||
bool "i.MX RT Series"
|
bool "i.MX RT Series"
|
||||||
select CPU_CORTEX_M7
|
select CPU_CORTEX_M7
|
||||||
select SOC_FAMILY_IMX
|
select SOC_FAMILY_IMX
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL
|
select CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for i.MX RT MCU series
|
Enable support for i.MX RT MCU series
|
||||||
|
|
|
@ -9,7 +9,6 @@ config SOC_SERIES_KINETIS_K6X
|
||||||
bool "Kinetis K6x Series MCU"
|
bool "Kinetis K6x Series MCU"
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_KINETIS
|
select SOC_FAMILY_KINETIS
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CPU_HAS_NXP_MPU
|
select CPU_HAS_NXP_MPU
|
||||||
select CLOCK_CONTROL
|
select CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
|
|
|
@ -12,7 +12,6 @@ config SOC_SERIES_EFM32PG12B
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select SOC_FAMILY_EXX32
|
select SOC_FAMILY_EXX32
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_1
|
select HAS_SYS_POWER_STATE_SLEEP_1
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_2
|
select HAS_SYS_POWER_STATE_SLEEP_2
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_3
|
select HAS_SYS_POWER_STATE_SLEEP_3
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_EFM32WG
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select SOC_FAMILY_EXX32
|
select SOC_FAMILY_EXX32
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select HAS_SILABS_GECKO
|
select HAS_SILABS_GECKO
|
||||||
select SOC_GECKO_CMU
|
select SOC_GECKO_CMU
|
||||||
select SOC_GECKO_GPIO
|
select SOC_GECKO_GPIO
|
||||||
|
|
|
@ -12,7 +12,6 @@ config SOC_SERIES_EFR32FG1P
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select SOC_FAMILY_EXX32
|
select SOC_FAMILY_EXX32
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_1
|
select HAS_SYS_POWER_STATE_SLEEP_1
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_2
|
select HAS_SYS_POWER_STATE_SLEEP_2
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_3
|
select HAS_SYS_POWER_STATE_SLEEP_3
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_EFR32MG12P
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select SOC_FAMILY_EXX32
|
select SOC_FAMILY_EXX32
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select HAS_SILABS_GECKO
|
select HAS_SILABS_GECKO
|
||||||
select HAS_SWO
|
select HAS_SWO
|
||||||
select HAS_SYS_POWER_STATE_SLEEP_1
|
select HAS_SYS_POWER_STATE_SLEEP_1
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_STM32F1X
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for STM32F1 MCU series
|
Enable support for STM32F1 MCU series
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_STM32F2X
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for stm32f2 MCU series
|
Enable support for stm32f2 MCU series
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_STM32F3X
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
|
|
|
@ -12,7 +12,6 @@ config SOC_SERIES_STM32F4X
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for STM32F4 MCU series
|
Enable support for STM32F4 MCU series
|
||||||
|
|
|
@ -12,7 +12,6 @@ config SOC_SERIES_STM32F7X
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for STM32F7 MCU series
|
Enable support for STM32F7 MCU series
|
||||||
|
|
|
@ -10,7 +10,6 @@ config SOC_SERIES_STM32L1X
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for STM32L1 MCU series
|
Enable support for STM32L1 MCU series
|
||||||
|
|
|
@ -13,7 +13,6 @@ config SOC_SERIES_STM32L4X
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for STM32L4 MCU series
|
Enable support for STM32L4 MCU series
|
||||||
|
|
|
@ -11,6 +11,5 @@ config SOC_SERIES_STM32MP1X
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
help
|
help
|
||||||
Enable support for STM32MP1 MPU series
|
Enable support for STM32MP1 MPU series
|
||||||
|
|
|
@ -12,7 +12,6 @@ config SOC_SERIES_STM32WBX
|
||||||
select SOC_FAMILY_STM32
|
select SOC_FAMILY_STM32
|
||||||
select HAS_STM32CUBE
|
select HAS_STM32CUBE
|
||||||
select CPU_HAS_ARM_MPU
|
select CPU_HAS_ARM_MPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
|
||||||
help
|
help
|
||||||
Enable support for STM32WB MCU series
|
Enable support for STM32WB MCU series
|
||||||
|
|
|
@ -3,4 +3,3 @@
|
||||||
config SOC_TI_LM3S6965
|
config SOC_TI_LM3S6965
|
||||||
bool "TI LM3S6965"
|
bool "TI LM3S6965"
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
|
|
|
@ -7,6 +7,5 @@ config SOC_SERIES_CC2650
|
||||||
bool "TI SimpleLink Family CC2650"
|
bool "TI SimpleLink Family CC2650"
|
||||||
select CPU_CORTEX_M3
|
select CPU_CORTEX_M3
|
||||||
select SOC_FAMILY_TISIMPLELINK
|
select SOC_FAMILY_TISIMPLELINK
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
help
|
help
|
||||||
Enable support for TI SimpleLink CC2650.
|
Enable support for TI SimpleLink CC2650.
|
||||||
|
|
|
@ -7,6 +7,5 @@ config SOC_SERIES_CC32XX
|
||||||
bool "TI SimpleLink Family"
|
bool "TI SimpleLink Family"
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_TISIMPLELINK
|
select SOC_FAMILY_TISIMPLELINK
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
help
|
help
|
||||||
Enable support for TI SimpleLink CC32xx
|
Enable support for TI SimpleLink CC32xx
|
||||||
|
|
|
@ -10,6 +10,5 @@ config SOC_SERIES_MSP432P4XX
|
||||||
select CPU_CORTEX_M4
|
select CPU_CORTEX_M4
|
||||||
select SOC_FAMILY_TISIMPLELINK
|
select SOC_FAMILY_TISIMPLELINK
|
||||||
select CPU_HAS_FPU
|
select CPU_HAS_FPU
|
||||||
select CPU_HAS_SYSTICK
|
|
||||||
help
|
help
|
||||||
Enable support for TI SimpleLink MSP432P4XX.
|
Enable support for TI SimpleLink MSP432P4XX.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue