Skip to content

Commit 953a735

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
FastModels: enable FVP_MPS2 targets for mbed os
add ARM_FM top level category add second level parent FVP_MPS2 inherits ARM_FM add each target ( M0 M0P M3 M4 M7 ) inherits FVP_MPS2
1 parent 76dc715 commit 953a735

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

targets/targets.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4008,5 +4008,49 @@
40084008
"detect_code": ["7013"],
40094009
"release_versions": ["5"],
40104010
"bootloader_supported": true
4011+
},
4012+
"ARM_FM": {
4013+
"inherits": ["Target"],
4014+
"public": false,
4015+
"extra_labels": ["ARM_FM"]
4016+
},
4017+
"FVP_MPS2": {
4018+
"inherits": ["ARM_FM"],
4019+
"public": false,
4020+
"supported_toolchains": ["GCC_ARM", "ARM", "IAR"],
4021+
"extra_labels_add": ["FVP_MPS2"],
4022+
"OUTPUT_EXT": "elf",
4023+
"device_has": ["AACI", "ANALOGIN", "CLCD", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "TSC"],
4024+
"release_versions": ["5"]
4025+
},
4026+
"FVP_MPS2_M0": {
4027+
"inherits": ["FVP_MPS2"],
4028+
"core": "Cortex-M0",
4029+
"extra_labels_add": ["FVP_MPS2_M0"],
4030+
"macros": ["CMSDK_CM0","CMSIS_VECTAB_VIRTUAL", "CMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\""]
4031+
},
4032+
"FVP_MPS2_M0P": {
4033+
"inherits": ["FVP_MPS2"],
4034+
"core": "Cortex-M0+",
4035+
"extra_labels_add": ["FVP_MPS2_M0P"],
4036+
"macros": ["CMSDK_CM0plus"]
4037+
},
4038+
"FVP_MPS2_M3": {
4039+
"inherits": ["FVP_MPS2"],
4040+
"core": "Cortex-M3",
4041+
"extra_labels_add": ["FVP_MPS2_M3"],
4042+
"macros": ["CMSDK_CM3"]
4043+
},
4044+
"FVP_MPS2_M4": {
4045+
"inherits": ["FVP_MPS2"],
4046+
"core": "Cortex-M4",
4047+
"extra_labels_add": ["FVP_MPS2_M4"],
4048+
"macros": ["CMSDK_CM4"]
4049+
},
4050+
"FVP_MPS2_M7": {
4051+
"inherits": ["FVP_MPS2"],
4052+
"core": "Cortex-M7",
4053+
"extra_labels_add": ["FVP_MPS2_M7"],
4054+
"macros": ["CMSDK_CM7"]
40114055
}
40124056
}

0 commit comments

Comments
 (0)