mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
arch/arm: Add the support of MPS2 AN386 and AN500
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -11,14 +11,28 @@ choice
|
|||||||
prompt "ARM MPS Configuration"
|
prompt "ARM MPS Configuration"
|
||||||
default ARCH_CHIP_MPS3_AN547
|
default ARCH_CHIP_MPS3_AN547
|
||||||
|
|
||||||
config ARCH_CHIP_MPS3_AN547
|
config ARCH_CHIP_MPS2_AN386
|
||||||
bool "MPS3 AN547 Processor Cortexm55"
|
bool "MPS2 AN386 Processor Cortexm4"
|
||||||
select ARCH_CORTEXM55
|
select ARCH_CORTEXM4
|
||||||
|
select ARCH_HAVE_MPU
|
||||||
|
select ARM_HAVE_MPU_UNIFIED
|
||||||
|
select ARCH_HAVE_FPU
|
||||||
|
|
||||||
|
config ARCH_CHIP_MPS2_AN500
|
||||||
|
bool "MPS2 AN500 Processor Cortexm7"
|
||||||
|
select ARCH_CORTEXM7
|
||||||
|
select ARCH_HAVE_MPU
|
||||||
|
select ARM_HAVE_MPU_UNIFIED
|
||||||
|
select ARCH_HAVE_FPU
|
||||||
|
|
||||||
config ARCH_CHIP_MPS3_AN524
|
config ARCH_CHIP_MPS3_AN524
|
||||||
bool "MPS3 AN524 Processor Cortexm33"
|
bool "MPS3 AN524 Processor Cortexm33"
|
||||||
select ARCH_CORTEXM33
|
select ARCH_CORTEXM33
|
||||||
|
|
||||||
|
config ARCH_CHIP_MPS3_AN547
|
||||||
|
bool "MPS3 AN547 Processor Cortexm55"
|
||||||
|
select ARCH_CORTEXM55
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
@@ -18,6 +18,10 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_ARMV7M),y)
|
||||||
|
include armv7-m/Make.defs
|
||||||
|
else
|
||||||
include armv8-m/Make.defs
|
include armv8-m/Make.defs
|
||||||
|
endif
|
||||||
|
|
||||||
CHIP_CSRCS = mps_start.c mps_serial.c mps_irq.c mps_timer.c mps_allocateheap.c
|
CHIP_CSRCS = mps_start.c mps_serial.c mps_irq.c mps_timer.c mps_allocateheap.c
|
||||||
|
|||||||
Reference in New Issue
Block a user