-
-
Notifications
You must be signed in to change notification settings - Fork 40.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Guix manifest #8234
Add Guix manifest #8234
Conversation
Add guix manifest to make guix environments like `guix environment --manifest=guix-manifest.scm` - It's not configurable at the moment. - AVR-Toolchain is 4.9 version because 5.5 package is broken, see [help-guix mailing list](https://lists.gnu.org/archive/html/help-guix/2020-02/msg00195.html)
Documentation for #8a9757cdba0509bff59becf7b08f72a54893709f
Doesn't have the 5.4 or 6.3 package available? Edit: I checked. it doesn't. That may be problematic, due to its age. |
A search returns only those (see below) $ guix package --search=avr-toolchain
name: avr-toolchain
version: 5.5.0
outputs: out
systems: x86_64-linux i686-linux
dependencies: [email protected] [email protected] [email protected] [email protected]
location: gnu/packages/avr.scm:121:4
homepage: https://www.nongnu.org/avr-libc/
license: GPL 3+
synopsis: Complete GCC tool chain for AVR microcontroller development
description: This package provides a complete GCC tool chain for AVR
+ microcontroller development. This includes the GCC AVR cross compiler
+ and avrdude for firmware flashing. The supported programming languages
+ are C and C++.
relevance: 20
name: avr-toolchain
version: 4.9.4
outputs: out
systems: x86_64-linux i686-linux
dependencies: [email protected] [email protected] [email protected] [email protected]
location: gnu/packages/avr.scm:121:4
homepage: https://www.nongnu.org/avr-libc/
license: GPL 3+
synopsis: Complete GCC tool chain for AVR microcontroller development
description: This package provides a complete GCC tool chain for AVR
+ microcontroller development. This includes the GCC AVR cross compiler
+ and avrdude for firmware flashing. The supported programming languages
+ are C and C++.
relevance: 20 |
My concern here is that the 4.9 version is very old, and may be too old. And I'm not even sure about the 5.4 version. |
We are currently working on a fix for 5.5 and working on an update of the avr-toolchain. You can see the discussion here: I hope we'll have a patch in the next weeks at least for 5.5. There's already a patch that fixes the issue, so we'll push it as soon as we can. |
@ekaitz-zarraga I'm not familiar with Guix, is there any reason the latest 8.x version cannot be built/packaged for it? |
Just bad packaging on Guix's side. This patch is supposed to solve it, but it's not merged yet. |
@ekaitz-zarraga Could you remove With these modifications I was able to successfully build |
@bricewge Did what you proposed but arm toolchain is supposed to be used by other parts of the project so the manifest proposed here is only going to be unusable for some keyboards (I think). |
Thanks @ekaitz-zarraga that was quick! BTW it's Do you have any example of such a keyboard? |
@bricewge done. I don't have any in mind but if that's part of the projects requirements it should be for a reason. :) |
We use the ARM toolchain to build firmware for STM32 microcontrollers (and some NXP chips used by the ARM Teensys, and the ATSAMD51J18A that the Massdrop boards have) using ChibiOS' HAL. If there is a conflict between it and the AVR toolchain that will need to be fixed upstream. |
Thank you for your contribution! |
Thank you for your contribution! |
@ekaitz-zarraga, did you manage to ever flash a deyboard on guix? I'm afraid I'm a bit stuck with udev and was wondering if you had any success. Thank you. |
Add guix manifest to make guix environments like
guix environment --manifest=guix-manifest.scm