Message ID | 20230929091333.7623-1-jean@foundationdevices.com |
---|---|
Headers | show |
Series | guix: Add avr as a platform. | expand |
> The [PATCH 21/23] fixes a bug in the meson-configuration module > and can be applied independently. Meant [PATCH 15/23], my mistake.
Hello, > The [PATCH 21/23] fixes a bug in the meson-configuration module > and can be applied independently. I applied this one. Now the rest of the series also seems fine to me. Maxim, Efraim, Vagrant any thoughts? Thanks, Mathieu
Hi, Mathieu Othacehe <othacehe@gnu.org> writes: > Hello, > >> The [PATCH 21/23] fixes a bug in the meson-configuration module >> and can be applied independently. > > I applied this one. Now the rest of the series also seems fine to me. > Maxim, Efraim, Vagrant any thoughts? I've reviewed the series, thanks for the ping. It seems it'll need to be rebased on master as some of the changes conflict with turning the previous avr-toolchain and friends into procedure that was merged perhaps a week ago.
Hello, I've sent an updated revision of the changes, now adding the MinGW toolchain targets and also changing the Ergodox and QMK firmwares to use #:target "avr" for cross-compilation, so it removes make-avr-toolchain from `qmk` inputs as packages should use #:target "avr" or in user profiles cases they can install the toolchain from the packages in cross-toolchain.scm. The QMK package warns about the firmware not compiling with GCC 8+ but it seems to be working right now with the default GCC used in Guix, so maybe it'd be to tie the package to the default GCC version as IIRC there's no way to pass a custom base GCC version when using #:target means of cross compilation. I've also moved the toolchain procedure to cross-base.scm and memoized it.
Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > Mathieu Othacehe <othacehe@gnu.org> writes: > >> Hello, >> >>> The [PATCH 21/23] fixes a bug in the meson-configuration module >>> and can be applied independently. >> >> I applied this one. Now the rest of the series also seems fine to me. >> Maxim, Efraim, Vagrant any thoughts? > > I've reviewed the series, thanks for the ping. It seems it'll need to > be rebased on master as some of the changes conflict with turning the > previous avr-toolchain and friends into procedure that was merged > perhaps a week ago. Just a heads-up for you embedded team :-) : Jean-Pierre sent an updated version last week. Ludo’.
On Tue, Nov 28, 2023 at 11:50:50AM +0000, Jean-Pierre De Jesus Diaz via Guix-patches via wrote: > Hello, > > I've sent an updated revision of the changes, now adding > the MinGW toolchain targets and also changing the Ergodox > and QMK firmwares to use #:target "avr" for cross-compilation, > so it removes make-avr-toolchain from `qmk` inputs as packages > should use #:target "avr" or in user profiles cases they can install > the toolchain from the packages in cross-toolchain.scm. > > The QMK package warns about the firmware not compiling with > GCC 8+ but it seems to be working right now with the default > GCC used in Guix, so maybe it'd be to tie the package to the > default GCC version as IIRC there's no way to pass a custom base > GCC version when using #:target means of cross compilation. > > I've also moved the toolchain procedure to cross-base.scm and > memoized it. Wow! Thank you for all the work on this. Patches slightly modified (indentation, wording on commit messages) and pushed!
Hi! Thanks for pushing these changes! Hope to help around more in embedded target areas, and sorry for the issues on indentation and commit messages. Cheers! On Mon, Dec 11, 2023 at 11:58 AM Efraim Flashner <efraim@flashner.co.il> wrote: > > On Tue, Nov 28, 2023 at 11:50:50AM +0000, Jean-Pierre De Jesus Diaz via Guix-patches via wrote: > > Hello, > > > > I've sent an updated revision of the changes, now adding > > the MinGW toolchain targets and also changing the Ergodox > > and QMK firmwares to use #:target "avr" for cross-compilation, > > so it removes make-avr-toolchain from `qmk` inputs as packages > > should use #:target "avr" or in user profiles cases they can install > > the toolchain from the packages in cross-toolchain.scm. > > > > The QMK package warns about the firmware not compiling with > > GCC 8+ but it seems to be working right now with the default > > GCC used in Guix, so maybe it'd be to tie the package to the > > default GCC version as IIRC there's no way to pass a custom base > > GCC version when using #:target means of cross compilation. > > > > I've also moved the toolchain procedure to cross-base.scm and > > memoized it. > > Wow! Thank you for all the work on this. > > Patches slightly modified (indentation, wording on commit messages) and > pushed! > > -- > Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא > GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypted