Skip to content

Commit b47a305

Browse files
authored
Merge pull request #6762 from OpenNuvoton/nuvoton_fix_armc6_memtrace
Fix compile error with MBED_MEM_TRACING_ENABLED and ARMC6
2 parents 1a5a2f0 + 8962237 commit b47a305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mbed_retarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ extern "C" void __cxa_guard_abort(int *guard_object_p)
13391339

13401340
#endif
13411341

1342-
#if defined(MBED_MEM_TRACING_ENABLED) && (defined(__CC_ARM) || defined(__ICCARM__))
1342+
#if defined(MBED_MEM_TRACING_ENABLED) && (defined(__CC_ARM) || defined(__ICCARM__) || (defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)))
13431343

13441344
// If the memory tracing is enabled, the wrappers in mbed_alloc_wrappers.cpp
13451345
// provide the implementation for these. Note: this needs to use the wrappers

0 commit comments

Comments
 (0)