Skip to content
Permalink
Browse files

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>
  • Loading branch information...
ioannisg authored and galak committed Apr 4, 2019
1 parent ce0dcea commit ccf90fd9c224d281aed75fd8a88b1437d262028c
Showing with 1 addition and 29 deletions.
  1. +1 −0 arch/arm/core/cortex_m/Kconfig
  2. +0 −1 soc/arm/arm/beetle/Kconfig.series
  3. +0 −1 soc/arm/arm/mps2/Kconfig.series
  4. +0 −1 soc/arm/arm/musca_a/Kconfig.series
  5. +0 −1 soc/arm/arm/musca_b1/Kconfig.series
  6. +0 −1 soc/arm/atmel_sam/sam3x/Kconfig.series
  7. +0 −1 soc/arm/atmel_sam/sam4s/Kconfig.series
  8. +0 −1 soc/arm/atmel_sam/same70/Kconfig.series
  9. +0 −1 soc/arm/microchip_mec/mec1701/Kconfig.series
  10. +0 −1 soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series
  11. +0 −1 soc/arm/nxp_imx/mcimx7_m4/Kconfig.series
  12. +0 −1 soc/arm/nxp_imx/rt/Kconfig.series
  13. +0 −1 soc/arm/nxp_kinetis/k6x/Kconfig.series
  14. +0 −1 soc/arm/silabs_exx32/efm32pg12b/Kconfig.series
  15. +0 −1 soc/arm/silabs_exx32/efm32wg/Kconfig.series
  16. +0 −1 soc/arm/silabs_exx32/efr32fg1p/Kconfig.series
  17. +0 −1 soc/arm/silabs_exx32/efr32mg12p/Kconfig.series
  18. +0 −1 soc/arm/st_stm32/stm32f1/Kconfig.series
  19. +0 −1 soc/arm/st_stm32/stm32f2/Kconfig.series
  20. +0 −1 soc/arm/st_stm32/stm32f3/Kconfig.series
  21. +0 −1 soc/arm/st_stm32/stm32f4/Kconfig.series
  22. +0 −1 soc/arm/st_stm32/stm32f7/Kconfig.series
  23. +0 −1 soc/arm/st_stm32/stm32l1/Kconfig.series
  24. +0 −1 soc/arm/st_stm32/stm32l4/Kconfig.series
  25. +0 −1 soc/arm/st_stm32/stm32mp1/Kconfig.series
  26. +0 −1 soc/arm/st_stm32/stm32wb/Kconfig.series
  27. +0 −1 soc/arm/ti_lm3s6965/Kconfig.soc
  28. +0 −1 soc/arm/ti_simplelink/cc2650/Kconfig.series
  29. +0 −1 soc/arm/ti_simplelink/cc32xx/Kconfig.series
  30. +0 −1 soc/arm/ti_simplelink/msp432p4xx/Kconfig.series
@@ -207,6 +207,7 @@ config ARMV7_M_ARMV8_M_MAINLINE
select CPU_CORTEX_M_HAS_BASEPRI
select CPU_CORTEX_M_HAS_VTOR
select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
select CPU_HAS_SYSTICK
help
This option signifies the use of an ARMv7-M processor
implementation, or the use of a backwards-compatible
@@ -11,7 +11,6 @@ config SOC_SERIES_BEETLE
depends on ARM
select CPU_CORTEX_M3
select SOC_FAMILY_ARM
select CPU_HAS_SYSTICK
select CPU_HAS_ARM_MPU
help
Enable support for Beetle MCU Series
@@ -8,7 +8,6 @@ config SOC_SERIES_MPS2
bool "ARM MPS2 MCU Series"
depends on ARM
select SOC_FAMILY_ARM
select CPU_HAS_SYSTICK
select GPIO_MMIO32 if GPIO
help
Enable support for ARM MPS2 MCU Series
@@ -7,7 +7,6 @@
config SOC_SERIES_MUSCA
bool "ARM v2m MUSCA MCU Series"
select SOC_FAMILY_ARM
select CPU_HAS_SYSTICK
select BUILD_OUTPUT_HEX
help
Enable support for ARM MPS2 MCU Series
@@ -7,7 +7,6 @@
config SOC_SERIES_MUSCA_B1
bool "arm v2m MUSCA B1 MCU Series"
select SOC_FAMILY_ARM
select CPU_HAS_SYSTICK
select BUILD_OUTPUT_HEX
help
Enable support for arm V2M Musca B1 MCU Series
@@ -10,7 +10,6 @@ config SOC_SERIES_SAM3X
bool "Atmel SAM3X MCU"
select CPU_CORTEX_M3
select SOC_FAMILY_SAM
select CPU_HAS_SYSTICK
select CPU_HAS_ARM_MPU
select ASF
help
@@ -10,7 +10,6 @@ config SOC_SERIES_SAM4S
bool "Atmel SAM4S MCU"
select CPU_CORTEX_M4
select SOC_FAMILY_SAM
select CPU_HAS_SYSTICK
select ASF
help
Enable support for Atmel SAM4S Cortex-M4 microcontrollers.
@@ -9,7 +9,6 @@ config SOC_SERIES_SAME70
select CPU_CORTEX_M7
select SOC_FAMILY_SAM
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_SYSTICK
select ASF
select XIP
select CPU_HAS_ARM_MPU
@@ -9,7 +9,6 @@ config SOC_SERIES_MEC1701X
bool "Microchip MEC1701X Series"
select CPU_CORTEX_M4
select SOC_FAMILY_MEC
select CPU_HAS_SYSTICK
select CPU_HAS_FPU
help
Enable support for Microchip MEC Cortex-M4 MCU series
@@ -11,7 +11,6 @@ config SOC_SERIES_IMX_6X_M4
select HAS_IMX_HAL
select SOC_FAMILY_IMX
select CPU_HAS_FPU
select CPU_HAS_SYSTICK
select CLOCK_CONTROL
help
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"
select CPU_CORTEX_M4
select SOC_FAMILY_IMX
select CPU_HAS_SYSTICK
select CLOCK_CONTROL
select CPU_HAS_FPU
help
@@ -9,7 +9,6 @@ config SOC_SERIES_IMX_RT
bool "i.MX RT Series"
select CPU_CORTEX_M7
select SOC_FAMILY_IMX
select CPU_HAS_SYSTICK
select CLOCK_CONTROL
help
Enable support for i.MX RT MCU series
@@ -9,7 +9,6 @@ config SOC_SERIES_KINETIS_K6X
bool "Kinetis K6x Series MCU"
select CPU_CORTEX_M4
select SOC_FAMILY_KINETIS
select CPU_HAS_SYSTICK
select CPU_HAS_NXP_MPU
select CLOCK_CONTROL
help
@@ -12,7 +12,6 @@ config SOC_SERIES_EFM32PG12B
select CPU_CORTEX_M4
select CPU_HAS_FPU
select SOC_FAMILY_EXX32
select CPU_HAS_SYSTICK
select HAS_SYS_POWER_STATE_SLEEP_1
select HAS_SYS_POWER_STATE_SLEEP_2
select HAS_SYS_POWER_STATE_SLEEP_3
@@ -10,7 +10,6 @@ config SOC_SERIES_EFM32WG
select CPU_CORTEX_M4
select CPU_HAS_FPU
select SOC_FAMILY_EXX32
select CPU_HAS_SYSTICK
select HAS_SILABS_GECKO
select SOC_GECKO_CMU
select SOC_GECKO_GPIO
@@ -12,7 +12,6 @@ config SOC_SERIES_EFR32FG1P
select CPU_CORTEX_M4
select CPU_HAS_FPU
select SOC_FAMILY_EXX32
select CPU_HAS_SYSTICK
select HAS_SYS_POWER_STATE_SLEEP_1
select HAS_SYS_POWER_STATE_SLEEP_2
select HAS_SYS_POWER_STATE_SLEEP_3
@@ -10,7 +10,6 @@ config SOC_SERIES_EFR32MG12P
select CPU_CORTEX_M4
select CPU_HAS_FPU
select SOC_FAMILY_EXX32
select CPU_HAS_SYSTICK
select HAS_SILABS_GECKO
select HAS_SWO
select HAS_SYS_POWER_STATE_SLEEP_1
@@ -10,7 +10,6 @@ config SOC_SERIES_STM32F1X
select CPU_CORTEX_M3
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32F1 MCU series
@@ -10,7 +10,6 @@ config SOC_SERIES_STM32F2X
select CPU_CORTEX_M3
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for stm32f2 MCU series
@@ -10,7 +10,6 @@ config SOC_SERIES_STM32F3X
select CPU_CORTEX_M4
select SOC_FAMILY_STM32
select CPU_HAS_FPU
select CPU_HAS_SYSTICK
select HAS_STM32CUBE
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
@@ -12,7 +12,6 @@ config SOC_SERIES_STM32F4X
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32F4 MCU series
@@ -12,7 +12,6 @@ config SOC_SERIES_STM32F7X
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32F7 MCU series
@@ -10,7 +10,6 @@ config SOC_SERIES_STM32L1X
select CPU_CORTEX_M3
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32L1 MCU series
@@ -13,7 +13,6 @@ config SOC_SERIES_STM32L4X
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32L4 MCU series
@@ -11,6 +11,5 @@ config SOC_SERIES_STM32MP1X
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CPU_HAS_SYSTICK
help
Enable support for STM32MP1 MPU series
@@ -12,7 +12,6 @@ config SOC_SERIES_STM32WBX
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
select CPU_HAS_SYSTICK
select CLOCK_CONTROL_STM32_CUBE if CLOCK_CONTROL
help
Enable support for STM32WB MCU series
@@ -3,4 +3,3 @@
config SOC_TI_LM3S6965
bool "TI LM3S6965"
select CPU_CORTEX_M3
select CPU_HAS_SYSTICK
@@ -7,6 +7,5 @@ config SOC_SERIES_CC2650
bool "TI SimpleLink Family CC2650"
select CPU_CORTEX_M3
select SOC_FAMILY_TISIMPLELINK
select CPU_HAS_SYSTICK
help
Enable support for TI SimpleLink CC2650.
@@ -7,6 +7,5 @@ config SOC_SERIES_CC32XX
bool "TI SimpleLink Family"
select CPU_CORTEX_M4
select SOC_FAMILY_TISIMPLELINK
select CPU_HAS_SYSTICK
help
Enable support for TI SimpleLink CC32xx
@@ -10,6 +10,5 @@ config SOC_SERIES_MSP432P4XX
select CPU_CORTEX_M4
select SOC_FAMILY_TISIMPLELINK
select CPU_HAS_FPU
select CPU_HAS_SYSTICK
help
Enable support for TI SimpleLink MSP432P4XX.

0 comments on commit ccf90fd

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