aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-08-07 20:36:22 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-08-08 16:33:20 +0000
commit6eec3bde9860fdff2bd09b319d63f63e63d23cc1 (patch)
treed122e066555b39c280ea95437debe18cb3d82247 /tests
parent534794963986ca37d39461db6dbdafb94048a5e3 (diff)
baremetal: Fix linker MAP file generation for KEIL C51/C251/C166
1. We need to use the {NO}PRINT linker options: * https://www.keil.com/support/man/docs/bl51/bl51_noprint.htm 2. The KEIL C251 should generate the linker MAP file with the *.map extension. Change-Id: Ibc1f362c7010a1c2812c21382b617e246c81e100 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/tst_blackboxbaremetal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackboxbaremetal.cpp b/tests/auto/blackbox/tst_blackboxbaremetal.cpp
index 50be987a2..969de6299 100644
--- a/tests/auto/blackbox/tst_blackboxbaremetal.cpp
+++ b/tests/auto/blackbox/tst_blackboxbaremetal.cpp
@@ -59,7 +59,7 @@ static QByteArray unsupportedToolsetMessage(const QByteArray &output)
static QString linkerMapFileExtension(const QByteArray &toolchain, const QByteArray &architecture)
{
if (toolchain == "keil") {
- if (architecture == "mcs51" || architecture == "mcs251")
+ if (architecture == "mcs51")
return QStringLiteral(".m51");
if (architecture == "c166")
return QStringLiteral(".m66");