File tree Expand file tree Collapse file tree 12 files changed +17
-17
lines changed Expand file tree Collapse file tree 12 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,6 @@ config CPU_CORTEX_M
2828 help
2929 This option signifies the use of a CPU of the Cortex-M family.
3030
31- config CPU_HAS_SYSTICK
32- bool
33- # Omit prompt to signify "hidden" option
34- help
35- This option is enabled when the CPU has systick timer implemented.
36-
3731config BUILTIN_STACK_GUARD
3832 bool "Thread Stack Guards based on built-in ARM stack limit checking"
3933 depends on CPU_CORTEX_M_HAS_SPLIM
Original file line number Diff line number Diff line change @@ -103,6 +103,12 @@ config ISA_THUMB2
103103 technology is featured in the processor, and in all ARMv7
104104 architecture-based processors.
105105
106+ config CPU_CORTEX_M_HAS_SYSTICK
107+ bool
108+ # Omit prompt to signify "hidden" option
109+ help
110+ This option is enabled when the CPU implements the SysTick timer.
111+
106112config CPU_CORTEX_M_HAS_BASEPRI
107113 bool
108114 # Omit prompt to signify "hidden" option
@@ -207,7 +213,7 @@ config ARMV7_M_ARMV8_M_MAINLINE
207213 select CPU_CORTEX_M_HAS_BASEPRI
208214 select CPU_CORTEX_M_HAS_VTOR
209215 select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
210- select CPU_HAS_SYSTICK
216+ select CPU_CORTEX_M_HAS_SYSTICK
211217 help
212218 This option signifies the use of an ARMv7-M processor
213219 implementation, or the use of a backwards-compatible
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ config ARCV2_TIMER_IRQ_PRIORITY
9292config CORTEX_M_SYSTICK
9393 bool "Cortex-M SYSTICK timer"
9494 default y
95- depends on CPU_HAS_SYSTICK
95+ depends on CPU_CORTEX_M_HAS_SYSTICK
9696 select TICKLESS_CAPABLE
9797 help
9898 This module implements a kernel device driver for the Cortex-M processor
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ config SOC_SERIES_SAMD20
77 bool "Atmel SAMD20 MCU"
88 select CPU_CORTEX_M0PLUS
99 select SOC_FAMILY_SAM0
10- select CPU_HAS_SYSTICK
10+ select CPU_CORTEX_M_HAS_SYSTICK
1111 select CPU_CORTEX_M_HAS_VTOR
1212 select ASF
1313 help
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ config SOC_SERIES_SAMD21
77 bool "Atmel SAMD21 MCU"
88 select CPU_CORTEX_M0PLUS
99 select SOC_FAMILY_SAM0
10- select CPU_HAS_SYSTICK
10+ select CPU_CORTEX_M_HAS_SYSTICK
1111 select CPU_CORTEX_M_HAS_VTOR
1212 select ASF
1313 help
Original file line number Diff line number Diff line change 88config SOC_SERIES_PSOC62
99 bool "Cypress PSoC6 series MCU"
1010 select SOC_FAMILY_PSOC6
11- select CPU_HAS_SYSTICK
11+ select CPU_CORTEX_M_HAS_SYSTICK
1212 select HAS_CYPRESS_DRIVERS
1313 select SOC_NOINIT_LD
1414 select SOC_RWDATA_LD
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ config SOC_SERIES_KINETIS_KL2X
99 bool "Kinetis KL2x Series MCU"
1010 select CPU_CORTEX_M0PLUS
1111 select SOC_FAMILY_KINETIS
12- select CPU_HAS_SYSTICK
12+ select CPU_CORTEX_M_HAS_SYSTICK
1313 select CLOCK_CONTROL
1414 help
1515 Enable support for Kinetis KL2x MCU series
Original file line number Diff line number Diff line change 88config SOC_SERIES_KINETIS_KWX
99 bool "Kinetis KWx Series MCU"
1010 select SOC_FAMILY_KINETIS
11- select CPU_HAS_SYSTICK
11+ select CPU_CORTEX_M_HAS_SYSTICK
1212 select CLOCK_CONTROL
1313 help
1414 Enable support for Kinetis KWx MCU series
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ config SOC_SERIES_LPC54XXX
99 bool "LPC LPC54xxx Series MCU"
1010 select HAS_MCUX
1111 select SOC_FAMILY_LPC
12- select CPU_HAS_SYSTICK
12+ select CPU_CORTEX_M_HAS_SYSTICK
1313 help
1414 Enable support for LPC LPC54XXX MCU series
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ config SOC_SERIES_EFM32HG
99 bool "EFM32HG Series MCU"
1010 select CPU_CORTEX_M0PLUS
1111 select SOC_FAMILY_EXX32
12- select CPU_HAS_SYSTICK
12+ select CPU_CORTEX_M_HAS_SYSTICK
1313 select HAS_SILABS_GECKO
1414 select SOC_GECKO_CMU
1515 select SOC_GECKO_GPIO
You can’t perform that action at this time.
0 commit comments