[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: Add avr-toolchain.
From: |
David Thompson |
Subject: |
06/07: gnu: Add avr-toolchain. |
Date: |
Mon, 30 May 2016 17:46:44 +0000 (UTC) |
davexunit pushed a commit to branch master
in repository guix.
commit 9d2bab09aa6e7306ed9eacb74d737b40c221b8f8
Author: David Thompson <address@hidden>
Date: Thu Apr 14 08:48:18 2016 -0400
gnu: Add avr-toolchain.
* gnu/packages/avr.scm (avr-toolchain): New procedure.
(avr-toolchain-4.9, avr-toolchain-5): New variables.
---
gnu/packages/avr.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm
index 88ebb42..7ce737f 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 gcc)
#:use-module (gnu packages vim)
#:use-module (gnu packages zip))
@@ -105,6 +107,28 @@ for use with GCC on Atmel AVR microcontrollers.")
(license
(license:non-copyleft "http://www.nongnu.org/avr-libc/LICENSE.txt"))))
+(define (avr-toolchain avr-gcc)
+ (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 avr-toolchain-4.9 (avr-toolchain avr-gcc-4.9))
+(define-public avr-toolchain-5 (avr-toolchain avr-gcc-5))
(define-public microscheme
(package
- branch master updated (983911d -> 503a43f), David Thompson, 2016/05/30
- 05/07: gnu: avr-libc: Update to 2.0.0., David Thompson, 2016/05/30
- 07/07: gnu: Remove xgcc-avr., David Thompson, 2016/05/30
- 01/07: gnu: Add avr-binutils., David Thompson, 2016/05/30
- 06/07: gnu: Add avr-toolchain.,
David Thompson <=
- 02/07: gnu: Add avr-gcc., David Thompson, 2016/05/30
- 03/07: gnu: Add avr-gcc-5., David Thompson, 2016/05/30
- 04/07: gnu: avr-libc: Fix build., David Thompson, 2016/05/30