From 7d6729ab93c3ecf7aa9dd9fd89e2cb8be5a3ef6f Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 2 Mar 2015 17:28:55 +0100 Subject: [PATCH] Fixed platforms(.txt) --- hardware/arduino/avr/platform.txt | 7 ++++--- hardware/arduino/sam/platform.txt | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hardware/arduino/avr/platform.txt b/hardware/arduino/avr/platform.txt index 5280b9b7d..a61536024 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.ide.path}/hardware/tools/avr/bin/ +compiler.path={runtime.tools.avr-gcc-4.8.1-arduino.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 @@ -75,8 +75,9 @@ recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).* # AVR Uploader/Programmers tools # ------------------------------ -tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude -tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf +tools.avrdude.path={runtime.tools.avrdude.path} +tools.avrdude.cmd.path={path}/avrdude +tools.avrdude.config.path={path}/avrdude.conf tools.avrdude.upload.params.verbose=-v tools.avrdude.upload.params.quiet=-q -q diff --git a/hardware/arduino/sam/platform.txt b/hardware/arduino/sam/platform.txt index 0880f4758..ef365a4eb 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.ide.path}/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/ +compiler.path={runtime.tools.arm-none-eabi-gcc-4.4.1-sourcery2010q1-188.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 @@ -76,9 +76,9 @@ recipe.size.regex=\.text\s+([0-9]+).* # SAM3 Uploader tools # ------------------- +tools.bossac.path={runtime.tools.bossac.path} tools.bossac.cmd=bossac tools.bossac.cmd.windows=bossac.exe -tools.bossac.path={runtime.ide.path}/hardware/tools tools.bossac.upload.params.verbose=-i -d tools.bossac.upload.params.quiet=