Skip to content

Commit 15cb4a4

Browse files
committed
Fix compiler flags for ARMC6 in sys stats test
1 parent 96c74d4 commit 15cb4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_platform/stats_sys/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void test_sys_info()
3939

4040
#if defined(__IAR_SYSTEMS_ICC__)
4141
TEST_ASSERT_EQUAL(IAR, stats.compiler_id);
42-
#elif defined(__CC_ARM)
42+
#elif defined(__ARMCC_VERSION)
4343
TEST_ASSERT_EQUAL(ARM, stats.compiler_id);
4444
#elif defined(__GNUC__)
4545
TEST_ASSERT_EQUAL(GCC_ARM, stats.compiler_id);

0 commit comments

Comments
 (0)