1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Wed, 23 Dec 2020 13:35:36 +0100
Subject: Adjust paths for gcc-avr and avrdude
Both is packaged in Debian and we want to use the package variants.
Forwarded: not-needed
---
platform.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/platform.txt b/platform.txt
index df5ddb7..1bfb0aa 100644
--- a/platform.txt
+++ b/platform.txt
@@ -5,7 +5,7 @@
# For more info:
# https://arduino.github.io/arduino-cli/latest/platform-specification/
-name=Arduino AVR Boards
+name=Arduino AVR Boards (Debian packaged)
version=1.8.6
# AVR compile variables
@@ -18,7 +18,7 @@ compiler.warning_flags.more=-Wall
compiler.warning_flags.all=-Wall -Wextra
# Default "compiler.path" is correct, change only if you want to override the initial value
-compiler.path={runtime.tools.avr-gcc.path}/bin/
+compiler.path=/usr/bin/
compiler.c.cmd=avr-gcc
compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects
compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections
@@ -98,9 +98,9 @@ pluggable_monitor.required.serial=builtin:serial-monitor
# AVR Uploader/Programmers tools
# ------------------------------
-tools.avrdude.path={runtime.tools.avrdude.path}
+tools.avrdude.path=/usr
tools.avrdude.cmd.path={path}/bin/avrdude
-tools.avrdude.config.path={path}/etc/avrdude.conf
+tools.avrdude.config.path=/etc/avrdude.conf
tools.avrdude.upload.params.verbose=-v
tools.avrdude.upload.params.quiet=-q -q
|