diff --git a/arch/arm/bsp/CortexM/Kconfig b/arch/arm/bsp/CortexM/Kconfig index 759fe528e99..6f8b7d7abfe 100644 --- a/arch/arm/bsp/CortexM/Kconfig +++ b/arch/arm/bsp/CortexM/Kconfig @@ -54,21 +54,22 @@ config CPU_CORTEX_M3_M4 help This option signifies the use of either a Cortex-M3 or Cortex-M4 CPU. +choice +prompt "ARM Cortex M3 or M4 Processor" +default CPU_CORTEX_M4 + config CPU_CORTEX_M3 - # omit prompt to signify a "hidden" option bool "ARM Cortex-M3" - default n select CPU_CORTEX_M3_M4 help - This option signifies the use of a Cortex-M3+ CPU + This option signifies the use of a Cortex-M3 CPU config CPU_CORTEX_M4 - # omit prompt to signify a "hidden" option bool "ARM Cortex-M4" - default n - select CPU_CORTEX_M3 + select CPU_CORTEX_M3_M4 help This option signifies the use of a Cortex-M4 CPU +endchoice endmenu diff --git a/arch/arm/configs/micro_fsl_frdm_k64f_defconfig b/arch/arm/configs/micro_fsl_frdm_k64f_defconfig index 0432912137b..ef03422c9e3 100644 --- a/arch/arm/configs/micro_fsl_frdm_k64f_defconfig +++ b/arch/arm/configs/micro_fsl_frdm_k64f_defconfig @@ -85,7 +85,7 @@ CONFIG_BSP_FSL_FRDM_K64F=y CONFIG_CPU_CORTEX=y CONFIG_CPU_CORTEX_M=y CONFIG_CPU_CORTEX_M3_M4=y -CONFIG_CPU_CORTEX_M3=y +# CONFIG_CPU_CORTEX_M3 is not set CONFIG_CPU_CORTEX_M4=y # diff --git a/arch/arm/configs/nano_fsl_frdm_k64f_defconfig b/arch/arm/configs/nano_fsl_frdm_k64f_defconfig index f1b84101a33..d1c16686c41 100644 --- a/arch/arm/configs/nano_fsl_frdm_k64f_defconfig +++ b/arch/arm/configs/nano_fsl_frdm_k64f_defconfig @@ -64,7 +64,7 @@ CONFIG_BSP_FSL_FRDM_K64F=y CONFIG_CPU_CORTEX=y CONFIG_CPU_CORTEX_M=y CONFIG_CPU_CORTEX_M3_M4=y -CONFIG_CPU_CORTEX_M3=y +# CONFIG_CPU_CORTEX_M3 is not set CONFIG_CPU_CORTEX_M4=y # diff --git a/arch/arm/defconfig b/arch/arm/defconfig index 0432912137b..ef03422c9e3 100644 --- a/arch/arm/defconfig +++ b/arch/arm/defconfig @@ -85,7 +85,7 @@ CONFIG_BSP_FSL_FRDM_K64F=y CONFIG_CPU_CORTEX=y CONFIG_CPU_CORTEX_M=y CONFIG_CPU_CORTEX_M3_M4=y -CONFIG_CPU_CORTEX_M3=y +# CONFIG_CPU_CORTEX_M3 is not set CONFIG_CPU_CORTEX_M4=y #