From e884789322d6bd2e55bcc489230e0bf42747ad3c Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Fri, 13 Mar 2015 16:07:21 +0100 Subject: [PATCH] Not using gcc version, hard to maintain --- hardware/arduino/avr/platform.txt | 2 +- hardware/arduino/sam/platform.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/arduino/avr/platform.txt b/hardware/arduino/avr/platform.txt index 727fb82b9..30167aa99 100644 --- a/hardware/arduino/avr/platform.txt +++ b/hardware/arduino/avr/platform.txt @@ -12,7 +12,7 @@ version=1.6.2 # --------------------- # Default "compiler.path" is correct, change only if you want to overidde the initial value -compiler.path={runtime.tools.avr-gcc-4.8.1-arduino.path}/bin/ +compiler.path={runtime.tools.avr-gcc.path}/bin/ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD # -w flag added to avoid printing a wrong warning http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59396 diff --git a/hardware/arduino/sam/platform.txt b/hardware/arduino/sam/platform.txt index ef365a4eb..17435d74a 100644 --- a/hardware/arduino/sam/platform.txt +++ b/hardware/arduino/sam/platform.txt @@ -10,7 +10,7 @@ version=1.6.2 # SAM3 compile variables # ---------------------- -compiler.path={runtime.tools.arm-none-eabi-gcc-4.4.1-sourcery2010q1-188.path}/bin/ +compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/ compiler.c.cmd=arm-none-eabi-gcc compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD compiler.c.elf.cmd=arm-none-eabi-gcc