Skip to content

Commit 4105f2c

Browse files
Update SMC2 entry and add SMC3 entry (#2255)
Co-authored-by: Evgueni Driouk <[email protected]>
1 parent d327733 commit 4105f2c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/svdconv/SVDModel/include/EnumStringTables.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
// China
3232
CPUTYPE(SMC1 , "SMC1" )
3333
CPUTYPE(SMC2 , "SMC2" )
34+
CPUTYPE(SMC3 , "SMC3" )
3435

3536
// Types not supported by SVDConv
3637
CPUTYPE(CA5 , "CA5" )

tools/svdconv/SVDModel/src/SvdTypes.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ const map <SvdTypes::CpuType, CpuTypeFeature> SvdTypes::cpuTypeName = {
131131

132132
// Arm China
133133
{ SvdTypes::CpuType::SMC1 , {"SMC1" , "ARM China Star-MC1", 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 480 } }, // ~ M33
134-
{ SvdTypes::CpuType::SMC2 , {"SMC1" , "ARM China Star-MC2", 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 480 } },
134+
{ SvdTypes::CpuType::SMC2 , {"SMC2" , "ARM China Star-MC2", 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 480 } },
135+
{ SvdTypes::CpuType::SMC3 , {"SMC3" , "ARM China Star-MC3", 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 480 } },
135136

136137
// SVDConv not supported
137138
{ SvdTypes::CpuType::CA5 , {"CA5" , "ARM Cortex-A5" , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 240 } },

0 commit comments

Comments
 (0)