Skip to content

Commit 3b55949

Browse files
committed
Add Cortex-M1 for ARM_MPS2 platform
1 parent 0153593 commit 3b55949

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

workspace_tools/targets.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,15 @@ def __init__(self):
894894
self.supported_toolchains = ["ARM", "GCC_ARM"]
895895
self.default_toolchain = "ARM"
896896

897+
class ARM_MPS2_M1(Target):
898+
def __init__(self):
899+
Target.__init__(self)
900+
self.core = "Cortex-M1"
901+
self.extra_labels = ['ARM_SSG', 'MPS2_M1']
902+
self.macros = ['CMSDK_CM1']
903+
self.supported_toolchains = ["ARM", "GCC_ARM"]
904+
self.default_toolchain = "ARM"
905+
897906
class ARM_MPS2_M3(Target):
898907
def __init__(self):
899908
Target.__init__(self)

0 commit comments

Comments
 (0)