From 261a1f902a63c8d9a0599affbdcf4715330bb9a9 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 13 Sep 2023 16:14:40 -0400 Subject: [PATCH] gnu: qmk: Use GCC 8 for the AVR toolchain. * gnu/packages/firmware.scm (qmk) [inputs]: Specify 'gcc-8' as the #:xgcc argument to the 'make-avr-toolchain' procedure. --- gnu/packages/firmware.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 499920160a..c1f6c8ea5e 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -1257,7 +1257,9 @@ AR100.") ;; The inputs are not propagated since qmk is to be used strictly as a ;; command. (inputs - (list (make-avr-toolchain) + ;; The 'qmk setup' command advises to use GCC at version 8, and there are + ;; compilation errors in some firmware otherwise. + (list (make-avr-toolchain #:xgcc gcc-8) avrdude dfu-programmer git-minimal ;for the clone action