From c239abbf04cbca727e8ac491c3282a9828cbd66f Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Tue, 17 Nov 2020 13:56:45 +0100 Subject: [PATCH] Fixing #6, caused by arm GCC 10.2.0 now defaulting to -fno-common and not merging multiple definitions of the same variable across different files, a thing upon which uC/OS-III sources seem to rely on. --- cross_arm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cross_arm.txt b/cross_arm.txt index fd8a0153..41717a79 100644 --- a/cross_arm.txt +++ b/cross_arm.txt @@ -14,6 +14,7 @@ openocd = '/usr/local/bin/openocd' [properties] c_args = [ + '-fcommon', '-mcpu=cortex-m4', # Cortex-M4 CPU '-mthumb', # ARM Thumb2 ISA '-mfloat-abi=hard', # Hard floating point support