From 4f38abf8ddcd6589daff99c19f08affb0781cbb5 Mon Sep 17 00:00:00 2001 From: Hugues Kamba Date: Tue, 25 Jun 2019 15:44:02 +0100 Subject: [PATCH] microlib support: Specify compiler version unable to build without the fix --- rtos/TARGET_CORTEX/TOOLCHAIN_ARM_MICRO/mbed_boot_arm_micro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtos/TARGET_CORTEX/TOOLCHAIN_ARM_MICRO/mbed_boot_arm_micro.c b/rtos/TARGET_CORTEX/TOOLCHAIN_ARM_MICRO/mbed_boot_arm_micro.c index 43f24fea6a..6a94ff87f6 100644 --- a/rtos/TARGET_CORTEX/TOOLCHAIN_ARM_MICRO/mbed_boot_arm_micro.c +++ b/rtos/TARGET_CORTEX/TOOLCHAIN_ARM_MICRO/mbed_boot_arm_micro.c @@ -72,7 +72,8 @@ MBED_WEAK void __aeabi_assert(const char *expr, const char *file, int line) // The below resolves the linker error generated by a bug in Arm Compiler 6 // When building with MicroLib, the compiler inadvertently introduces the // _scanf_mbtowc symbol to the build. The code below provides a weak reference -// for the missing symbol +// for the missing symbol. +// Arm Compiler 6 version 6.12 and earlier versions are affected. #include typedef int ScanfReadRec; MBED_WEAK long int _scanf_mbtowc(