Skip to content

Commit 7d6729a

Browse files
author
Federico Fissore
committedMar 27, 2015
Fixed platforms(.txt)
1 parent 5989bb4 commit 7d6729a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
 

‎hardware/arduino/avr/platform.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ version=1.6.2
1212
# ---------------------
1313

1414
# Default "compiler.path" is correct, change only if you want to overidde the initial value
15-
compiler.path={runtime.ide.path}/hardware/tools/avr/bin/
15+
compiler.path={runtime.tools.avr-gcc-4.8.1-arduino.path}/bin/
1616
compiler.c.cmd=avr-gcc
1717
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -MMD
1818
# -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]+).*
7575
# AVR Uploader/Programmers tools
7676
# ------------------------------
7777

78-
tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude
79-
tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf
78+
tools.avrdude.path={runtime.tools.avrdude.path}
79+
tools.avrdude.cmd.path={path}/avrdude
80+
tools.avrdude.config.path={path}/avrdude.conf
8081

8182
tools.avrdude.upload.params.verbose=-v
8283
tools.avrdude.upload.params.quiet=-q -q

‎hardware/arduino/sam/platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version=1.6.2
1010
# SAM3 compile variables
1111
# ----------------------
1212

13-
compiler.path={runtime.ide.path}/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/
13+
compiler.path={runtime.tools.arm-none-eabi-gcc-4.4.1-sourcery2010q1-188.path}/bin/
1414
compiler.c.cmd=arm-none-eabi-gcc
1515
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -MMD
1616
compiler.c.elf.cmd=arm-none-eabi-gcc
@@ -76,9 +76,9 @@ recipe.size.regex=\.text\s+([0-9]+).*
7676
# SAM3 Uploader tools
7777
# -------------------
7878

79+
tools.bossac.path={runtime.tools.bossac.path}
7980
tools.bossac.cmd=bossac
8081
tools.bossac.cmd.windows=bossac.exe
81-
tools.bossac.path={runtime.ide.path}/hardware/tools
8282

8383
tools.bossac.upload.params.verbose=-i -d
8484
tools.bossac.upload.params.quiet=

0 commit comments

Comments
 (0)