@@ -701,6 +701,7 @@ def __init__(self):
701
701
self .default_toolchain = "uARM"
702
702
self .supported_form_factors = ["ARDUINO" ]
703
703
704
+
704
705
### Nordic ###
705
706
706
707
class NRF51822 (Target ):
@@ -872,14 +873,54 @@ def __init__(self):
872
873
873
874
### ARM ###
874
875
875
- class ARM_MPS2 (Target ):
876
+ class ARM_MPS2_M0 (Target ):
877
+ def __init__ (self ):
878
+ Target .__init__ (self )
879
+ self .core = "Cortex-M0"
880
+ self .extra_labels = ['ARM_SSG' , 'MPS2_M0' ]
881
+ self .macros = ['CMSDK_CM0' ]
882
+ self .supported_toolchains = ["ARM" , "GCC_ARM" ]
883
+ self .default_toolchain = "ARM"
884
+
885
+ class ARM_MPS2_M0P (Target ):
886
+ def __init__ (self ):
887
+ Target .__init__ (self )
888
+ self .core = "Cortex-M0+"
889
+ self .extra_labels = ['ARM_SSG' , 'MPS2_M0P' ]
890
+ self .macros = ['CMSDK_CM0plus' ]
891
+ self .supported_toolchains = ["ARM" , "GCC_ARM" ]
892
+ self .default_toolchain = "ARM"
893
+
894
+ class ARM_MPS2_M3 (Target ):
895
+ def __init__ (self ):
896
+ Target .__init__ (self )
897
+ self .core = "Cortex-M3"
898
+ self .extra_labels = ['ARM_SSG' , 'MPS2_M3' ]
899
+ self .macros = ['CMSDK_CM3' ]
900
+ self .supported_toolchains = ["ARM" , "GCC_ARM" ]
901
+ self .default_toolchain = "ARM"
902
+
903
+ class ARM_MPS2_M4 (Target ):
876
904
def __init__ (self ):
877
905
Target .__init__ (self )
878
906
self .core = "Cortex-M4F"
907
+ self .extra_labels = ['ARM_SSG' , 'MPS2_M4' ]
879
908
self .macros = ['CMSDK_CM4' ]
880
909
self .supported_toolchains = ["ARM" , "GCC_ARM" ]
881
910
self .default_toolchain = "ARM"
882
911
912
+ class ARM_MPS2_M7 (Target ):
913
+ def __init__ (self ):
914
+ Target .__init__ (self )
915
+ self .core = "Cortex-M7F"
916
+ self .extra_labels = ['ARM_SSG' , 'MPS2_M7' ]
917
+ self .macros = ['CMSDK_CM7' ]
918
+ self .supported_toolchains = ["ARM" , "GCC_ARM" ]
919
+ self .default_toolchain = "ARM"
920
+
921
+ class ARM_MPS2 (ARM_MPS2_M4 ):
922
+ pass
923
+
883
924
884
925
### Renesas ###
885
926
@@ -985,10 +1026,16 @@ def program_cycle_s(self):
985
1026
RBLAB_BLENANO (),# nRF51822
986
1027
NRF51822_Y5_MBUG (),#nRF51822
987
1028
WALLBOT_BLE (), # nRF51822
988
- DELTA_DFCM_NNN40 (), # nRF51822
989
- DELTA_DFCM_NNN40_OTA (), # nRF51822
1029
+ DELTA_DFCM_NNN40 (), # nRF51822
1030
+ DELTA_DFCM_NNN40_OTA (), # nRF51822
990
1031
991
1032
### ARM ###
1033
+ ARM_MPS2_M0 (),
1034
+ ARM_MPS2_M0P (),
1035
+ ARM_MPS2_M1 (),
1036
+ ARM_MPS2_M3 (),
1037
+ ARM_MPS2_M4 (),
1038
+ ARM_MPS2_M7 (),
992
1039
ARM_MPS2 (),
993
1040
994
1041
### Renesas ###
0 commit comments