Skip to content

Commit

Permalink
Complement AC5 support removal
Browse files Browse the repository at this point in the history
  • Loading branch information
grasci-arm authored Jun 23, 2023
1 parent 8b2bd53 commit 7f7c524
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tools/buildmgr/cbuild/src/CbuildProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ bool CbuildProject::UpdateTarget(const RteItem* components, const map<string, st
}

void CbuildProject::SetToolchain(const string& toolchain, map<string, string> &attributes) {
if ((toolchain.compare("AC5") == 0) || (toolchain.compare("AC6") == 0)) {
if (toolchain.compare("AC6") == 0) {
attributes["Tcompiler"] = "ARMCC";
attributes["Toptions"] = toolchain;
} else {
Expand Down
1 change: 0 additions & 1 deletion tools/buildmgr/cbuildgen/config/CPRJ.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@
<xs:simpleType name="CompilerEnumType">
<xs:restriction base="xs:token">
<xs:enumeration value="GCC" />
<xs:enumeration value="AC5" />
<xs:enumeration value="AC6" />
<xs:enumeration value="IAR" />
<xs:enumeration value="Tasking" />
Expand Down
2 changes: 1 addition & 1 deletion tools/projmgr/src/ProjMgrWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ bool ProjMgrWorker::ProcessToolchain(ContextItem& context) {
context.toolchain.version = RteUtils::GetPrefix(context.toolchain.range);
}
}
if (context.toolchain.name == "AC6" || context.toolchain.name == "AC5") {
if (context.toolchain.name == "AC6") {
context.targetAttributes["Tcompiler"] = "ARMCC";
context.targetAttributes["Toptions"] = context.toolchain.name;
} else {
Expand Down
1 change: 0 additions & 1 deletion tools/projmgr/test/src/ProjMgrTestEnv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ void ProjMgrTestEnv::SetUp() {

// create dummy cmsis compiler root
RteFsUtils::CreateDirectories(testcmsiscompiler_folder);
RteFsUtils::CreateFile(testcmsiscompiler_folder + "/AC5.5.6.7.cmake", "");
RteFsUtils::CreateFile(testcmsiscompiler_folder + "/AC6.6.18.0.cmake", "");
RteFsUtils::CreateFile(testcmsiscompiler_folder + "/GCC.11.2.1.cmake", "");
RteFsUtils::CreateFile(testcmsiscompiler_folder + "/IAR.8.50.6.cmake", "");
Expand Down

0 comments on commit 7f7c524

Please sign in to comment.