From: Carsten Schoenert 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.7 # 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