* gnu/packages/avr.scm (avr-toolchain): New variable. --- gnu/packages/avr.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm index 81ca162..94776d8 100644 --- a/gnu/packages/avr.scm +++ b/gnu/packages/avr.scm @@ -24,8 +24,10 @@ #:use-module (guix download) #:use-module (guix packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages cross-base) + #:use-module (gnu packages flashing-tools) #:use-module (gnu packages vim) #:use-module (gnu packages zip)) @@ -102,6 +104,25 @@ for use with GCC on Atmel AVR microcontrollers.") (license (license:non-copyleft "http://www.nongnu.org/avr-libc/LICENSE.txt")))) +(define-public avr-toolchain + (package + (name "avr-toolchain") + (version (package-version avr-gcc)) + (source #f) + (build-system trivial-build-system) + (arguments '(#:builder (mkdir %output))) + (propagated-inputs + `(("avrdude" ,avrdude) + ("binutils" ,avr-binutils) + ("gcc" ,avr-gcc) + ("libc" ,avr-libc))) + (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++.") + (home-page (package-home-page avr-libc)) + (license (package-license avr-gcc)))) (define-public microscheme (package -- 2.7.3