1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2016, 2017 Theodoros Foradis <theodoros@foradis.org>
4 ;;; Copyright © 2016 David Craven <david@craven.ch>
5 ;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
7 ;;; Copyright © 2018, 2019 Clément Lassieur <clement@lassieur.org>
8 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
9 ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
11 ;;; This file is part of GNU Guix.
13 ;;; GNU Guix is free software; you can redistribute it and/or modify it
14 ;;; under the terms of the GNU General Public License as published by
15 ;;; the Free Software Foundation; either version 3 of the License, or (at
16 ;;; your option) any later version.
18 ;;; GNU Guix is distributed in the hope that it will be useful, but
19 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;;; GNU General Public License for more details.
23 ;;; You should have received a copy of the GNU General Public License
24 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
26 (define-module (gnu packages embedded)
27 #:use-module (guix utils)
28 #:use-module (guix packages)
29 #:use-module (guix download)
30 #:use-module (guix svn-download)
31 #:use-module (guix git-download)
32 #:use-module ((guix licenses) #:prefix license:)
33 #:use-module (guix build-system cmake)
34 #:use-module (guix build-system gnu)
35 #:use-module (guix build-system python)
36 #:use-module (guix build-system trivial)
37 #:use-module ((guix build utils) #:select (alist-replace))
38 #:use-module (gnu packages)
39 #:use-module (gnu packages autotools)
40 #:use-module ((gnu packages base) #:prefix base:)
41 #:use-module (gnu packages bison)
42 #:use-module (gnu packages cross-base)
43 #:use-module (gnu packages dejagnu)
44 #:use-module (gnu packages flex)
45 #:use-module (gnu packages gcc)
46 #:use-module (gnu packages gdb)
47 #:use-module (gnu packages guile)
48 #:use-module (gnu packages libftdi)
49 #:use-module (gnu packages libusb)
50 #:use-module (gnu packages perl)
51 #:use-module (gnu packages pkg-config)
52 #:use-module (gnu packages python)
53 #:use-module (gnu packages python-xyz)
54 #:use-module (gnu packages swig)
55 #:use-module (gnu packages texinfo)
56 #:use-module (gnu packages xorg)
57 #:use-module (srfi srfi-1))
59 ;; We must not use the released GCC sources here, because the cross-compiler
60 ;; does not produce working binaries. Instead we take the very same SVN
61 ;; revision from the branch that is used for a release of the "GCC ARM
62 ;; embedded" project on launchpad.
63 ;; See https://launchpadlibrarian.net/218827644/release.txt
64 (define-public gcc-arm-none-eabi-4.9
65 (let ((xgcc (cross-gcc "arm-none-eabi"
67 #:xbinutils (cross-binutils "arm-none-eabi")))
69 (svn-revision 227977))
70 (package (inherit xgcc)
71 (version (string-append (package-version xgcc) "-"
72 revision "." (number->string svn-revision)))
77 (url "svn://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_9-branch/")
78 (revision svn-revision)))
79 (file-name (string-append "gcc-arm-embedded-" version "-checkout"))
82 "113r98kygy8rrjfv2pd3z6zlfzbj543pq7xyq8bgh72c608mmsbr"))
84 ;; Remove the one patch that doesn't apply to this 4.9 snapshot (the
85 ;; patch is for 4.9.4 and later but this svn snapshot is older).
86 (patches (remove (lambda (patch)
87 (string=? (basename patch)
88 "gcc-arm-bug-71399.patch"))
89 (origin-patches (package-source xgcc))))))
93 ,@(package-native-inputs xgcc)))
95 (substitute-keyword-arguments (package-arguments xgcc)
97 `(modify-phases ,phases
98 (add-after 'set-paths 'augment-CPLUS_INCLUDE_PATH
99 (lambda* (#:key inputs #:allow-other-keys)
100 (let ((gcc (assoc-ref inputs "gcc")))
101 ;; Remove the default compiler from CPLUS_INCLUDE_PATH to
102 ;; prevent header conflict with the GCC from native-inputs.
103 (setenv "CPLUS_INCLUDE_PATH"
105 (delete (string-append gcc "/include/c++")
106 (string-split (getenv "CPLUS_INCLUDE_PATH")
110 "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
111 (getenv "CPLUS_INCLUDE_PATH"))
113 (add-after 'unpack 'fix-genmultilib
115 (substitute* "gcc/genmultilib"
116 (("#!/bin/sh") (string-append "#!" (which "sh"))))
118 ((#:configure-flags flags)
119 ;; The configure flags are largely identical to the flags used by the
120 ;; "GCC ARM embedded" project.
121 `(append (list "--enable-multilib"
123 "--with-multilib-list=armv6-m,armv7-m,armv7e-m"
124 "--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm"
126 "--disable-decimal-float"
129 "--disable-libmudflap"
130 "--disable-libquadmath"
132 "--disable-libstdcxx-pch"
137 (delete "--disable-multilib" ,flags)))))
139 (list (search-path-specification
140 (variable "CROSS_C_INCLUDE_PATH")
141 (files '("arm-none-eabi/include")))
142 (search-path-specification
143 (variable "CROSS_CPLUS_INCLUDE_PATH")
144 (files '("arm-none-eabi/include")))
145 (search-path-specification
146 (variable "CROSS_LIBRARY_PATH")
147 (files '("arm-none-eabi/lib"))))))))
149 (define-public gcc-arm-none-eabi-6
151 (inherit gcc-arm-none-eabi-4.9)
152 (version (package-version gcc-6))
153 (source (origin (inherit (package-source gcc-6))
156 (origin-patches (package-source gcc-6))
157 (search-patches "gcc-6-cross-environment-variables.patch"
158 "gcc-6-arm-none-eabi-multilib.patch")))))))
160 (define-public newlib-arm-none-eabi
166 (uri (string-append "ftp://sourceware.org/pub/newlib/newlib-"
170 "01i7qllwicf05vsvh39qj7qp5fdifpvvky0x95hjq39mbqiksnsl"))))
171 (build-system gnu-build-system)
173 `(#:out-of-source? #t
174 ;; The configure flags are identical to the flags used by the "GCC ARM
175 ;; embedded" project.
176 #:configure-flags '("--target=arm-none-eabi"
177 "--enable-newlib-io-long-long"
178 "--enable-newlib-register-fini"
179 "--disable-newlib-supplied-syscalls"
182 (modify-phases %standard-phases
183 (add-after 'unpack 'fix-references-to-/bin/sh
185 (substitute* '("libgloss/arm/cpu-init/Makefile.in"
186 "libgloss/arm/Makefile.in"
187 "libgloss/libnosys/Makefile.in"
188 "libgloss/Makefile.in")
189 (("/bin/sh") (which "sh")))
192 `(("xbinutils" ,(cross-binutils "arm-none-eabi"))
193 ("xgcc" ,gcc-arm-none-eabi-4.9)
194 ("texinfo" ,texinfo)))
195 (home-page "https://www.sourceware.org/newlib/")
196 (synopsis "C library for use on embedded systems")
197 (description "Newlib is a C library intended for use on embedded
198 systems. It is a conglomeration of several library parts that are easily
199 usable on embedded products.")
200 (license (license:non-copyleft
201 "https://www.sourceware.org/newlib/COPYING.NEWLIB"))))
203 (define-public newlib-nano-arm-none-eabi
204 (package (inherit newlib-arm-none-eabi)
207 (substitute-keyword-arguments (package-arguments newlib-arm-none-eabi)
208 ;; The configure flags are identical to the flags used by the "GCC ARM
209 ;; embedded" project. They optimize newlib for use on small embedded
210 ;; systems with limited memory.
211 ((#:configure-flags flags)
212 ''("--target=arm-none-eabi"
214 "--disable-newlib-supplied-syscalls"
215 "--enable-newlib-reent-small"
216 "--disable-newlib-fvwrite-in-streamio"
217 "--disable-newlib-fseek-optimization"
218 "--disable-newlib-wide-orient"
219 "--enable-newlib-nano-malloc"
220 "--disable-newlib-unbuf-stream-opt"
222 "--enable-newlib-global-atexit"
223 "--enable-newlib-nano-formatted-io"
225 (synopsis "Newlib variant for small systems with limited memory")))
228 ;;; The following definitions are for the "7-2018-q2-update" variant of the
229 ;;; ARM cross toolchain as offered on https://developer.arm.com
230 (define-public gcc-arm-none-eabi-7-2018-q2-update
231 (let ((xgcc (cross-gcc "arm-none-eabi"
233 #:xbinutils (cross-binutils "arm-none-eabi")))
235 (svn-revision 261907))
236 (package (inherit xgcc)
237 (version (string-append "7-2018-q2-update-"
238 revision "." (number->string svn-revision)))
243 (url "svn://gcc.gnu.org/svn/gcc/branches/ARM/embedded-7-branch/")
244 (revision svn-revision)))
245 (file-name (string-append "gcc-arm-embedded-" version "-checkout"))
248 "192ggs63bixf3irpijgfkjks73yx1r3a4i6grk1y0i0iny76pmx5"))
251 (origin-patches (package-source gcc-7))
252 (search-patches "gcc-7-cross-environment-variables.patch")))))
257 ,@(alist-delete "isl" (package-native-inputs xgcc))))
259 (substitute-keyword-arguments (package-arguments xgcc)
261 `(modify-phases ,phases
262 (add-after 'unpack 'expand-version-string
264 (make-file-writable "gcc/DEV-PHASE")
265 (with-output-to-file "gcc/DEV-PHASE"
267 (display "7-2018-q2-update")))
269 (add-after 'unpack 'fix-genmultilib
271 (substitute* "gcc/genmultilib"
272 (("#!/bin/sh") (string-append "#!" (which "sh"))))
274 (add-after 'set-paths 'augment-CPLUS_INCLUDE_PATH
275 (lambda* (#:key inputs #:allow-other-keys)
276 (let ((gcc (assoc-ref inputs "gcc")))
277 ;; Remove the default compiler from CPLUS_INCLUDE_PATH to
278 ;; prevent header conflict with the GCC from native-inputs.
279 (setenv "CPLUS_INCLUDE_PATH"
281 (delete (string-append gcc "/include/c++")
282 (string-split (getenv "CPLUS_INCLUDE_PATH")
286 "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
287 (getenv "CPLUS_INCLUDE_PATH"))
289 ((#:configure-flags flags)
290 ;; The configure flags are largely identical to the flags used by the
291 ;; "GCC ARM embedded" project.
292 `(append (list "--enable-multilib"
294 "--with-multilib-list=rmprofile"
295 "--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm"
297 "--disable-decimal-float"
300 "--disable-libmudflap"
301 "--disable-libquadmath"
303 "--disable-libstdcxx-pch"
308 (delete "--disable-multilib" ,flags)))))
310 (list (search-path-specification
311 (variable "CROSS_C_INCLUDE_PATH")
312 (files '("arm-none-eabi/include")))
313 (search-path-specification
314 (variable "CROSS_CPLUS_INCLUDE_PATH")
315 (files '("arm-none-eabi/include")))
316 (search-path-specification
317 (variable "CROSS_LIBRARY_PATH")
318 (files '("arm-none-eabi/lib"))))))))
320 (define-public newlib-arm-none-eabi-7-2018-q2-update
321 ;; This is the same commit as used for the 7-2018-q2-update release
322 ;; according to the release.txt.
323 (let ((commit "3ccfb407af410ba7e54ea0da11ae1e40b554a6f4")
326 (inherit newlib-arm-none-eabi)
327 (version (git-version "3.0.0" revision commit))
332 (url "http://sourceware.org/git/newlib-cygwin.git")
334 (file-name (git-file-name "newlib" commit))
337 "1dq23fqrk75g1a4v7569fvnnw5q440zawbxi3w0g05n8jlqsmvcy"))))
339 (substitute-keyword-arguments (package-arguments newlib-arm-none-eabi)
340 ;; The configure flags are identical to the flags used by the "GCC ARM
341 ;; embedded" project.
342 ((#:configure-flags flags)
343 `(cons* "--enable-newlib-io-c99-formats"
344 "--enable-newlib-retargetable-locking"
348 `(("xbinutils" ,(cross-binutils "arm-none-eabi"))
349 ("xgcc" ,gcc-arm-none-eabi-7-2018-q2-update)
350 ("texinfo" ,texinfo))))))
352 (define-public newlib-nano-arm-none-eabi-7-2018-q2-update
353 (package (inherit newlib-arm-none-eabi-7-2018-q2-update)
356 (package-arguments newlib-nano-arm-none-eabi))
357 (synopsis "Newlib variant for small systems with limited memory")))
360 (define (make-libstdc++-arm-none-eabi xgcc newlib)
361 (let ((libstdc++ (make-libstdc++ xgcc)))
362 (package (inherit libstdc++)
363 (name "libstdc++-arm-none-eabi")
365 (substitute-keyword-arguments (package-arguments libstdc++)
366 ((#:configure-flags flags)
367 ``("--target=arm-none-eabi"
368 "--host=arm-none-eabi"
369 "--disable-libstdcxx-pch"
371 "--with-multilib-list=armv6-m,armv7-m,armv7e-m"
376 ,(string-append "--with-gxx-include-dir="
377 (assoc-ref %outputs "out")
378 "/arm-none-eabi/include")))))
382 ,@(package-native-inputs libstdc++))))))
384 (define (arm-none-eabi-toolchain xgcc newlib)
385 "Produce a cross-compiler toolchain package with the compiler XGCC and the C
386 library variant NEWLIB."
387 (let ((newlib-with-xgcc (package (inherit newlib)
389 (alist-replace "xgcc" (list xgcc)
390 (package-native-inputs newlib))))))
392 (name (string-append "arm-none-eabi"
393 (if (string=? (package-name newlib-with-xgcc)
397 (version (package-version xgcc))
399 (build-system trivial-build-system)
401 '(#:modules ((guix build union))
404 (use-modules (ice-9 match)
407 (((names . directories) ...)
408 (union-build (assoc-ref %outputs "out")
412 `(("binutils" ,(cross-binutils "arm-none-eabi"))
413 ("libstdc++" ,(make-libstdc++-arm-none-eabi xgcc newlib-with-xgcc))
415 ("newlib" ,newlib-with-xgcc)))
416 (synopsis "Complete GCC tool chain for ARM bare metal development")
417 (description "This package provides a complete GCC tool chain for ARM
418 bare metal development. This includes the GCC arm-none-eabi cross compiler
419 and newlib (or newlib-nano) as the C library. The supported programming
420 languages are C and C++.")
421 (home-page (package-home-page xgcc))
422 (license (package-license xgcc)))))
424 (define-public arm-none-eabi-toolchain-4.9
425 (arm-none-eabi-toolchain gcc-arm-none-eabi-4.9
426 newlib-arm-none-eabi))
428 (define-public arm-none-eabi-nano-toolchain-4.9
429 (arm-none-eabi-toolchain gcc-arm-none-eabi-4.9
430 newlib-nano-arm-none-eabi))
432 (define-public arm-none-eabi-toolchain-6
433 (arm-none-eabi-toolchain gcc-arm-none-eabi-6
434 newlib-arm-none-eabi))
436 (define-public arm-none-eabi-nano-toolchain-6
437 (arm-none-eabi-toolchain gcc-arm-none-eabi-6
438 newlib-nano-arm-none-eabi))
440 (define-public arm-none-eabi-toolchain-7-2018-q2-update
441 (arm-none-eabi-toolchain gcc-arm-none-eabi-7-2018-q2-update
442 newlib-arm-none-eabi-7-2018-q2-update))
444 (define-public arm-none-eabi-nano-toolchain-7-2018-q2-update
445 (arm-none-eabi-toolchain gcc-arm-none-eabi-7-2018-q2-update
446 newlib-nano-arm-none-eabi-7-2018-q2-update))
448 (define-public gdb-arm-none-eabi
451 (name "gdb-arm-none-eabi")
453 `(#:configure-flags '("--target=arm-none-eabi"
456 "--enable-languages=c,c++"
458 ,@(package-arguments gdb)))))
460 (define-public libjaylink
461 ;; No release tarballs available.
462 (let ((commit "699b7001d34a79c8e7064503dde1bede786fd7f0")
466 (version (string-append "0.1.0-" revision "."
467 (string-take commit 7)))
471 (url "https://git.zapb.de/libjaylink.git")
473 (file-name (string-append name "-" version "-checkout"))
476 "034872d44myycnzn67v5b8ixrgmg8sk32aqalvm5x7108w2byww1"))))
477 (build-system gnu-build-system)
479 `(("autoconf" ,autoconf)
480 ("automake" ,automake)
482 ("pkg-config" ,pkg-config)))
484 `(("libusb" ,libusb)))
485 (home-page "https://repo.or.cz/w/libjaylink.git")
486 (synopsis "Library to interface Segger J-Link devices")
487 (description "libjaylink is a shared library written in C to access
488 SEGGER J-Link and compatible devices.")
489 (license license:gpl2+))))
491 (define-public jimtcl
498 (url "https://github.com/msteveb/jimtcl")
500 (file-name (git-file-name name version))
503 "1k88hz0v3bi19xdvlp0i9nsx38imzwpjh632w7326zwbv2wldf0h"))))
504 (build-system gnu-build-system)
507 (modify-phases %standard-phases
508 ;; Doesn't use autoconf.
510 (lambda* (#:key outputs #:allow-other-keys)
511 (let ((out (assoc-ref outputs "out")))
512 (invoke "./configure"
513 (string-append "--prefix=" out))))))))
514 (home-page "http://jim.tcl.tk/index.html")
515 (synopsis "Small footprint Tcl implementation")
516 (description "Jim is a small footprint implementation of the Tcl programming
518 (license license:bsd-2)))
520 (define-public openocd
526 (uri (string-append "mirror://sourceforge/openocd/openocd/"
527 version "/openocd-" version ".tar.gz"))
530 "09p57y3c2spqx4vjjlz1ljm1lcd0j9q8g76ywxqgn3yc34wv18zd"))
531 ;; FIXME: Remove after nrf52 patch is merged.
533 (search-patches "openocd-nrf52.patch"))))
534 (build-system gnu-build-system)
536 `(("autoconf" ,autoconf)
537 ("automake" ,automake)
539 ("pkg-config" ,pkg-config)))
544 ("libjaylink" ,libjaylink)
545 ("libusb-compat" ,libusb-compat)))
548 (append (list "--disable-werror"
550 "--disable-internal-jimtcl"
551 "--disable-internal-libjaylink")
552 (map (lambda (programmer)
553 (string-append "--enable-" programmer))
554 '("amtjtagaccel" "armjtagew" "buspirate" "ftdi"
555 "gw16012" "jlink" "opendous" "osbdm"
556 "parport" "aice" "cmsis-dap" "dummy" "jtag_vpi"
557 "remote-bitbang" "rlink" "stlink" "ti-icdi" "ulink"
558 "usbprog" "vsllink" "usb-blaster-2" "usb_blaster"
559 "presto" "openjtag")))
561 (modify-phases %standard-phases
562 ;; Required because of patched sources.
563 (add-before 'configure 'autoreconf
564 (lambda _ (invoke "autoreconf" "-vfi") #t))
565 (add-after 'autoreconf 'change-udev-group
567 (substitute* "contrib/60-openocd.rules"
568 (("plugdev") "dialout"))
570 (add-after 'install 'install-udev-rules
571 (lambda* (#:key outputs #:allow-other-keys)
572 (install-file "contrib/60-openocd.rules"
574 (assoc-ref outputs "out")
575 "/lib/udev/rules.d/"))
577 (home-page "http://openocd.org")
578 (synopsis "On-Chip Debugger")
579 (description "OpenOCD provides on-chip programming and debugging support
580 with a layered architecture of JTAG interface and TAP support.")
581 (license license:gpl2+)))
583 ;; The commits for all propeller tools are the stable versions published at
584 ;; https://github.com/propellerinc/propgcc in the release_1_0. According to
585 ;; personal correspondence with the developers in July 2017, more recent
586 ;; versions are currently incompatible with the "Simple Libraries".
588 (define propeller-binutils
589 (let ((xbinutils (cross-binutils "propeller-elf"))
590 (commit "4c46ecbe79ffbecd2ce918497ace5b956736b5a3")
594 (name "propeller-binutils")
595 (version (string-append "0.0.0-" revision "." (string-take commit 9)))
596 (source (origin (inherit (package-source xbinutils))
599 (url "https://github.com/parallaxinc/propgcc")
601 (file-name (string-append name "-" commit "-checkout"))
604 "0w0dff3s7wv2d9m78a4jhckiik58q38wx6wpbba5hzbs4yxz35ck"))
605 (patch-flags (list "-p1" "--directory=binutils"))))
607 `(;; FIXME: For some reason there are many test failures. It's not
608 ;; obvious how to fix the failures.
611 (modify-phases %standard-phases
612 (add-after 'unpack 'chdir
613 (lambda _ (chdir "binutils") #t)))
614 ,@(substitute-keyword-arguments (package-arguments xbinutils)
615 ((#:configure-flags flags)
616 `(cons "--disable-werror" ,flags)))))
622 ,@(package-native-inputs xbinutils))))))
624 (define-public propeller-gcc-6
625 (let ((xgcc (cross-gcc "propeller-elf"
626 #:xbinutils propeller-binutils))
627 (commit "b4f45a4725e0b6d0af59e594c4e3e35ca4105867")
629 (package (inherit xgcc)
630 (name "propeller-gcc")
631 (version (string-append "6.0.0-" revision "." (string-take commit 9)))
635 (url "https://github.com/totalspectrum/gcc-propeller")
637 (file-name (string-append name "-" commit "-checkout"))
640 "0d9kdxm2fzanjqa7q5850kzbsfl0fqyaahxn74h6nkxxacwa11zb"))
643 (origin-patches (package-source gcc-6))
644 (search-patches "gcc-cross-environment-variables.patch")))))
647 ,@(package-native-inputs xgcc)))
648 ;; All headers and cross libraries of the propeller toolchain are
649 ;; installed under the "propeller-elf" prefix.
651 (list (search-path-specification
652 (variable "CROSS_C_INCLUDE_PATH")
653 (files '("propeller-elf/include")))
654 (search-path-specification
655 (variable "CROSS_LIBRARY_PATH")
656 (files '("propeller-elf/lib")))))
657 (home-page "https://github.com/totalspectrum/gcc-propeller")
658 (synopsis "GCC for the Parallax Propeller"))))
660 (define-public propeller-gcc-4
661 (let ((xgcc propeller-gcc-6)
662 (commit "4c46ecbe79ffbecd2ce918497ace5b956736b5a3")
664 (package (inherit xgcc)
665 (name "propeller-gcc")
666 (version (string-append "4.6.1-" revision "." (string-take commit 9)))
670 (url "https://github.com/parallaxinc/propgcc")
672 (file-name (string-append name "-" commit "-checkout"))
675 "0w0dff3s7wv2d9m78a4jhckiik58q38wx6wpbba5hzbs4yxz35ck"))
676 (patch-flags (list "-p1" "--directory=gcc"))
679 (origin-patches (package-source gcc-4.7))
680 (search-patches "gcc-4.6-gnu-inline.patch"
681 "gcc-cross-environment-variables.patch")))))
683 (substitute-keyword-arguments (package-arguments propeller-gcc-6)
685 `(modify-phases ,phases
686 (add-after 'unpack 'chdir
687 (lambda _ (chdir "gcc") #t))))))
690 ,@(package-native-inputs propeller-gcc-6)))
691 (home-page "https://github.com/parallaxinc/propgcc")
692 (supported-systems (delete "aarch64-linux" %supported-systems)))))
694 ;; Version 6 is experimental and may not work correctly. This is why we
695 ;; default to version 4, which is also used in the binary toolchain bundle
696 ;; provided by Parallax Inc.
697 (define-public propeller-gcc propeller-gcc-4)
700 ;; FIXME: We do not build the tiny library because that would require C++
701 ;; headers, which are not available. This may require adding a propeller-elf
702 ;; variant of the libstdc++ package.
703 (define-public proplib
704 (let ((commit "4c46ecbe79ffbecd2ce918497ace5b956736b5a3")
708 (version (string-append "0.0.0-" revision "." (string-take commit 9)))
712 (url "https://github.com/parallaxinc/propgcc")
714 (file-name (string-append name "-" commit "-checkout"))
717 "0w0dff3s7wv2d9m78a4jhckiik58q38wx6wpbba5hzbs4yxz35ck"))))
718 (build-system gnu-build-system)
720 `(#:tests? #f ; no tests
722 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
723 (string-append "BUILD=" (getcwd) "/build"))
725 (modify-phases %standard-phases
727 (add-after 'unpack 'chdir
728 (lambda _ (chdir "lib") #t))
729 (add-after 'chdir 'fix-Makefile
731 (substitute* "Makefile"
732 ;; Control the installation time of the headers.
733 ((" install-includes") ""))
735 ;; The Makefile does not separate building from installation, so we
736 ;; have to create the target directories at build time.
737 (add-before 'build 'create-target-directories
738 (lambda* (#:key make-flags #:allow-other-keys)
739 (apply invoke "make" "install-dirs" make-flags)))
740 (add-before 'build 'set-cross-environment-variables
741 (lambda* (#:key outputs #:allow-other-keys)
742 (setenv "CROSS_LIBRARY_PATH"
743 (string-append (assoc-ref outputs "out")
744 "/propeller-elf/lib:"
745 (or (getenv "CROSS_LIBRARY_PATH") "")))
746 (setenv "CROSS_C_INCLUDE_PATH"
747 (string-append (assoc-ref outputs "out")
748 "/propeller-elf/include:"
749 (or (getenv "CROSS_C_INCLUDE_PATH") "")))
751 (add-before 'install 'install-includes
752 (lambda* (#:key make-flags #:allow-other-keys)
753 (apply invoke "make" "install-includes" make-flags))))))
755 `(("propeller-gcc" ,propeller-gcc)
756 ("propeller-binutils" ,propeller-binutils)
758 (home-page "https://github.com/parallaxinc/propgcc")
759 (synopsis "C library for the Parallax Propeller")
760 (description "This is a C library for the Parallax Propeller
762 ;; Most of the code is released under the Expat license. Some of the
763 ;; included code is public domain and some changes are BSD licensed.
764 (license license:expat))))
766 (define-public propeller-toolchain
768 (name "propeller-toolchain")
769 (version (package-version propeller-gcc))
771 (build-system trivial-build-system)
772 (arguments '(#:builder (begin (mkdir %output) #t)))
774 `(("binutils" ,propeller-binutils)
776 ("gcc" ,propeller-gcc)))
777 (synopsis "Complete GCC tool chain for Propeller micro-controllers")
778 (description "This package provides a complete GCC tool chain for
779 Propeller micro-controller development.")
780 (home-page (package-home-page propeller-gcc))
781 (license (package-license propeller-gcc))))
783 (define-public openspin
790 (url "https://github.com/parallaxinc/OpenSpin")
792 (file-name (git-file-name name version))
795 "0ghk8hj4717ydhqzx2pfs6737s1cxng6sgg2xgbkwvcfclxdbrd0"))))
796 (build-system gnu-build-system)
798 `(#:tests? #f ; no tests
800 (modify-phases %standard-phases
802 (add-after 'unpack 'remove-timestamp
804 (substitute* "SpinSource/openspin.cpp"
805 ((" Compiled on.*$") "\\n\");"))
807 ;; Makefile does not include "install" target
809 (lambda* (#:key outputs #:allow-other-keys)
810 (let ((bin (string-append (assoc-ref outputs "out")
813 (install-file "build/openspin" bin)
815 (home-page "https://github.com/parallaxinc/OpenSpin")
816 (synopsis "Spin/PASM compiler for the Parallax Propeller")
817 (description "OpenSpin is a compiler for the Spin/PASM language of the
818 Parallax Propeller. It was ported from Chip Gracey's original x86 assembler
820 (license license:expat)))
822 (define-public propeller-load
823 (let ((commit "4c46ecbe79ffbecd2ce918497ace5b956736b5a3")
826 (name "propeller-load")
831 (url "https://github.com/parallaxinc/propgcc")
833 (file-name (string-append name "-" commit "-checkout"))
836 "0w0dff3s7wv2d9m78a4jhckiik58q38wx6wpbba5hzbs4yxz35ck"))))
837 (build-system gnu-build-system)
839 `(#:tests? #f ; no tests
842 (string-append "TARGET=" (assoc-ref %outputs "out")))
844 (modify-phases %standard-phases
845 (add-after 'unpack 'chdir
846 (lambda _ (chdir "loader") #t))
847 (delete 'configure))))
849 `(("openspin" ,openspin)
850 ("propeller-toolchain" ,propeller-toolchain)))
851 (home-page "https://github.com/parallaxinc/propgcc")
852 (synopsis "Loader for Parallax Propeller micro-controllers")
853 (description "This package provides the tool @code{propeller-load} to
854 upload binaries to a Parallax Propeller micro-controller.")
855 (license license:expat))))
857 (define-public spin2cpp
864 (url "https://github.com/totalspectrum/spin2cpp")
865 (commit (string-append "v" version))))
866 (file-name (git-file-name name version))
869 "0wznqvsckzzz4hdy2rpvj6jqpxw4yn7i0c7zxfm6i46k8gg9327b"))))
870 (build-system gnu-build-system)
872 `(#:tests? #f ;; The tests assume that a micro-controller is connected.
874 (modify-phases %standard-phases
876 (add-before 'build 'set-cross-environment-variables
877 (lambda* (#:key inputs #:allow-other-keys)
878 (setenv "CROSS_LIBRARY_PATH"
879 (string-append (assoc-ref inputs "propeller-toolchain")
880 "/propeller-elf/lib"))
881 (setenv "CROSS_C_INCLUDE_PATH"
882 (string-append (assoc-ref inputs "propeller-toolchain")
883 "/propeller-elf/include"))
886 (lambda* (#:key outputs #:allow-other-keys)
887 (let ((bin (string-append (assoc-ref outputs "out")
889 (for-each (lambda (file)
890 (install-file (string-append "build/" file)
892 '("testlex" "spin2cpp" "fastspin")))
896 ("propeller-load" ,propeller-load)
897 ("propeller-toolchain" ,propeller-toolchain)))
898 (home-page "https://github.com/totalspectrum/spin2cpp")
899 (synopsis "Convert Spin code to C, C++, or PASM code")
900 (description "This is a set of tools for converting the Spin language for
901 the Parallax Propeller micro-controller into C or C++ code, into PASM, or even
902 directly into an executable binary. The binaries produced use LMM PASM, so
903 they are much faster than regular Spin bytecodes (but also quite a bit
905 (license license:expat)))
907 (define-public spinsim
908 (let ((commit "66915a7ad1a3a2cf990a725bb341fab8d11eb620")
912 (version (string-append "0.75-" revision "." (string-take commit 9)))
916 (url "https://github.com/parallaxinc/spinsim")
918 (file-name (string-append name "-" commit "-checkout"))
921 "1n9kdhlxsdx7bz6c80w8dhi96zp633gd6qs0x9i4ii8qv4i7sj5k"))))
922 (build-system gnu-build-system)
924 `(#:tests? #f ; no tests
926 (modify-phases %standard-phases
929 (lambda* (#:key outputs #:allow-other-keys)
930 (let ((bin (string-append (assoc-ref outputs "out")
932 (install-file "build/spinsim" bin))
934 (home-page "https://github.com/parallaxinc/spinsim")
935 (synopsis "Spin simulator")
936 (description "This package provides the tool @code{spinsim}, a simulator
937 and simple debugger for Spin programs written for a Parallax Propeller
938 micro-controller. Spinsim supports execution from cog memory and hub
939 execution, but it does not support multi-tasking. It supports about
940 two-thirds of the opcodes in the P2 instruction set.")
941 (license license:expat))))
943 (define-public propeller-development-suite
945 (name "propeller-development-suite")
946 (version (package-version propeller-gcc))
948 (build-system trivial-build-system)
949 (arguments '(#:builder (begin (mkdir %output) #t)))
951 `(("toolchain" ,propeller-toolchain)
952 ("openspin" ,openspin)
953 ("propeller-load" ,propeller-load)
954 ("spin2cpp" ,spin2cpp)
955 ("spinsim" ,spinsim)))
956 (synopsis "Complete development suite for Propeller micro-controllers")
957 (description "This meta-package provides a complete environment for the
958 development with Parallax Propeller micro-controllers. It includes the GCC
959 toolchain, the loader, the Openspin compiler, the Spin2cpp tool, and the Spin
961 (home-page (package-home-page propeller-gcc))
962 (license (package-license propeller-gcc))))
964 (define-public binutils-vc4
965 (let ((commit "708acc851880dbeda1dd18aca4fd0a95b2573b36"))
967 (name "binutils-vc4")
968 (version (string-append "2.23.51-0." (string-take commit 7)))
972 (url "https://github.com/puppeh/binutils-vc4")
974 (file-name (string-append name "-" version "-checkout"))
977 "1kdrz6fki55lm15rwwamn74fnqpy0zlafsida2zymk76n3656c63"))))
978 (build-system gnu-build-system)
980 `(#:configure-flags '("--target=vc4-elf"
982 "--enable-cgen-maint")
984 (modify-phases %standard-phases
985 (add-after 'unpack 'unpack-cgen
986 (lambda* (#:key inputs #:allow-other-keys)
987 (copy-recursively (string-append (assoc-ref inputs "cgen")
990 (add-after 'unpack-cgen 'fix-cgen-guile
992 (substitute* "opcodes/Makefile.in"
993 (("guile\\{,-\\}1.8") "guile"))
994 (invoke "which" "guile"))))))
1000 (url "https://github.com/puppeh/cgen")
1001 (commit "d8e2a9eb70425f180fdd5bfd032884b0855f2032")))
1004 "14b3h2ji740s8zq5vwm4qdcxs4aa4wxi6wb9di3bv1h39x14nyr9"))))
1005 ("texinfo" ,texinfo)
1008 ("guile-1.8" ,guile-1.8)
1009 ("which" ,base:which)))
1010 (synopsis "Binutils for VC4")
1011 (description "This package provides @code{binutils} for VideoCore IV,
1012 the Raspberry Pi chip.")
1013 (license license:gpl3+)
1014 (home-page "https://github.com/puppeh/vc4-toolchain/"))))
1016 (define-public gcc-vc4
1017 (let ((commit "165f6d0e11d2e76ee799533bb45bd5c92bf60dc2")
1018 (xgcc (cross-gcc "vc4-elf" #:xbinutils binutils-vc4)))
1019 (package (inherit xgcc)
1024 (url "https://github.com/puppeh/gcc-vc4")
1026 (file-name (string-append name
1028 (package-version xgcc)
1032 "13h30qjcwnlz6lfma1d82nnvfmjnhh7abkagip4vly6vm5fpnvf2"))))
1035 ,@(package-native-inputs xgcc)))
1036 (synopsis "GCC for VC4")
1037 (description "This package provides @code{gcc} for VideoCore IV,
1038 the Raspberry Pi chip."))))
1040 (define-public python-libmpsse
1042 (name "python-libmpsse")
1048 (url "https://github.com/daym/libmpsse")
1049 (commit (string-append "v" version))))
1050 (file-name "libmpsse-checkout")
1053 "1rypfb96k2szqgygp3jnwg2zq9kwmfz0460dsahn3r2vkzml8wn7"))))
1054 (build-system gnu-build-system)
1056 `(("libftdi" ,libftdi)
1057 ("python" ,python)))
1059 `(("pkg-config" ,pkg-config)
1061 ("which" ,base:which)))
1063 `(#:tests? #f ; No tests exist.
1064 #:parallel-build? #f ; Would be buggy.
1066 (list (string-append "CFLAGS=-Wall -fPIC -fno-strict-aliasing -g -O2 "
1067 "$(shell pkg-config --cflags libftdi1)"))
1069 (modify-phases %standard-phases
1070 (add-after 'unpack 'set-environment-up
1071 (lambda* (#:key inputs outputs #:allow-other-keys)
1072 (let ((python (assoc-ref inputs "python")))
1074 (setenv "PYDEV" (string-append python
1076 ,(version-major+minor (package-version python))))
1079 (lambda* (#:key inputs outputs make-flags #:allow-other-keys #:rest args)
1080 (let* ((out (assoc-ref outputs "out"))
1081 (out-python (string-append out
1083 ,(version-major+minor (package-version python))
1085 (install (assoc-ref %standard-phases 'install)))
1086 (install #:make-flags (cons (string-append "PYLIB=" out-python)
1088 (home-page "https://code.google.com/archive/p/libmpsse/")
1089 (synopsis "Python library for MPSSE SPI I2C JTAG adapter by FTDI")
1090 (description "This package provides a library in order to support the
1091 MPSSE (Multi-Protocol Synchronous Serial Engine) adapter by FTDI that can do
1093 (license license:gpl2+)))
1095 (define-public python2-libmpsse
1097 (inherit python-libmpsse)
1098 (name "python2-libmpsse")
1100 (substitute-keyword-arguments (package-arguments python-libmpsse)
1102 `(modify-phases ,phases
1103 (replace 'set-environment-up
1104 (lambda* (#:key inputs outputs #:allow-other-keys)
1105 (let ((python (assoc-ref inputs "python")))
1107 (setenv "PYDEV" (string-append python
1109 ,(version-major+minor (package-version python-2))))
1112 (lambda* (#:key inputs outputs make-flags #:allow-other-keys #:rest args)
1113 (let* ((out (assoc-ref outputs "out"))
1114 (out-python (string-append out
1116 ,(version-major+minor (package-version python-2))
1118 (install (assoc-ref %standard-phases 'install)))
1119 (install #:make-flags (cons (string-append "PYLIB=" out-python)
1122 (alist-replace "python" (list python-2)
1123 (package-inputs python-libmpsse)))))
1125 (define-public picprog
1131 (uri (string-append "http://www.iki.fi/hyvatti/pic/picprog-"
1133 (file-name (string-append name "-" version ".tar.gz"))
1136 "1r04hg1n3v2jf915qr05la3q9cxy7a5jnh9cc98j04lh6c9p4x85"))
1137 (patches (search-patches "picprog-non-intel-support.patch"))))
1138 (build-system gnu-build-system)
1140 `(#:tests? #f ; No tests exist.
1142 (modify-phases %standard-phases
1143 (add-after 'unpack 'patch-paths
1144 (lambda* (#:key outputs #:allow-other-keys)
1145 (substitute* "Makefile"
1146 (("/usr/local") (assoc-ref outputs "out"))
1147 ((" -o 0 -g 0 ") " ")
1150 (add-before 'install 'mkdir
1151 (lambda* (#:key outputs #:allow-other-keys)
1152 (let ((out (assoc-ref outputs "out")))
1153 (mkdir-p (string-append out "/bin"))
1154 (mkdir-p (string-append out "/man/man1"))
1156 (delete 'configure))))
1157 (synopsis "Programs Microchip's PIC microcontrollers")
1158 (description "This program programs Microchip's PIC microcontrollers.")
1159 (home-page "https://hyvatti.iki.fi/~jaakko/pic/picprog.html")
1160 (license license:gpl3+)))
1162 (define-public fc-host-tools
1164 (name "fc-host-tools")
1168 (uri (string-append "ftp://ftp.freecalypso.org/pub/GSM/"
1169 "FreeCalypso/fc-host-tools-r" version ".tar.bz2"))
1172 "0s87lp6gd8i8ivrdd7mnnalysr65035nambcm992rgla7sk76sj1"))))
1173 (build-system gnu-build-system)
1175 `(#:tests? #f ; No tests exist.
1177 (list (string-append "INSTALL_PREFIX=" %output)
1178 (string-append "INCLUDE_INSTALL_DIR=" %output "include/rvinterf"))
1180 (modify-phases %standard-phases
1181 (add-after 'unpack 'patch-installation-paths
1182 (lambda* (#:key outputs #:allow-other-keys)
1183 (substitute* '("Makefile"
1184 "rvinterf/etmsync/fsiomain.c"
1185 "rvinterf/etmsync/fsnew.c"
1186 "rvinterf/asyncshell/help.c"
1187 "rvinterf/libinterf/launchrvif.c"
1188 "loadtools/defpath.c"
1189 "loadtools/Makefile"
1190 "miscutil/c139explore"
1191 "miscutil/pirexplore"
1192 "ffstools/tiffs-wrappers/installpath.c"
1193 "uptools/atcmd/atinterf.c")
1194 (("/opt/freecalypso/loadtools")
1195 (string-append (assoc-ref outputs "out") "/lib/freecalypso/loadtools"))
1196 (("\\$\\{INSTALL_PREFIX\\}/loadtools")
1197 (string-append (assoc-ref outputs "out") "/lib/freecalypso/loadtools"))
1198 (("\\$\\{INSTALL_PREFIX\\}/target-bin")
1199 (string-append (assoc-ref outputs "out") "/lib/freecalypso/target-bin"))
1200 (("/opt/freecalypso")
1201 (assoc-ref outputs "out")))
1203 (delete 'configure))))
1205 `(("libx11" ,libx11)))
1206 (synopsis "Freecalypso host tools")
1207 (description "This package provides some tools for debugging FreeCalypso phones and the FreeCalypso FCDEV3B dev board.
1210 @item fc-e1decode: Decodes a binary Melody E1 file into an ASCII source file.
1211 @item fc-e1gen: Encodes an ASCII Melody E1 file into a binary Melody E1 file.
1212 @item fc-fr2tch: Converts a GSM 06.10 speech recording from libgsm to hex
1213 strings of TCH bits to be fed to the GSM 05.03 channel encoder of a TI
1215 @item fc-tch2fr: Converts hex strings of TCH bits to libgsm.
1216 @item fc-gsm2vm: utility converts a GSM 06.10 speech sample from the libgsm
1217 source format into a voice memo file that can be uploaded into the FFS of a
1218 FreeCalypso device and played with the audio_vm_play_start() API or the
1219 AT@@VMP command that invokes the latter.
1220 @item fc-rgbconv: Convers RGB 5:6:5 to RGB 8:8:8 and vice versa.
1221 @item rvinterf: Communicates with a TI Calypso GSM device via RVTMUX.
1222 @item rvtdump: produces a human-readable dump of all output emitted by a
1223 TI-based GSM fw on the RVTMUX binary packet interface.
1224 @item fc-shell: FreeCalypso firmwares have a feature of our own invention
1225 (not present in any pre-existing ones) to accept AT commands over the RVTMUX
1226 interface. It is useful when no second UART is available for a dedicated
1227 standard AT command interface. fc-shell is the tool that allows you to send
1228 AT commands to the firmware in this manner.
1229 @item fc-memdump: Captures a memory dump from a GSM device.
1230 @item fc-serterm: Trivial serial terminal. Escapes binary chars.
1231 @item fc-fsio: Going through rvinterf, this tool connects to GSM devices and
1232 allows you to manipulate the device's flash file system.
1233 @item tiaud-compile: Compiles an audio mode configuration table for TI's
1234 Audio Service from our own ASCII source format into the binary format for
1235 uploading into FreeCalypso GSM device FFS with fc-fsio.
1236 @item tiaud-decomp: Decodes TI's audio mode configuration files read out of
1237 FFS into our own ASCII format.
1238 @item tiaud-mkvol: Generates the *.vol binary files which need to accompany
1239 the main *.cfg ones.
1240 @item fc-compalram: Allows running programs on the device without writing
1241 them to flash storage.
1242 @item fc-xram: Allows running programs on the device without writing them
1244 @item fc-iram: Allows running programs on the device without writing them
1246 @item fc-loadtool: Writes programs to the device's flash storage.
1247 @item pirffs: Allows listing and extracting FFS content captured as a raw
1248 flash image from Pirelli phones.
1249 @item mokoffs: Allows listing and extracting FFS content captured as a raw
1250 flash image from OpenMoko phones.
1251 @item tiffs: Allows listing and extracting FFS content captured as a raw
1252 flash image from TI phones.
1253 @item c139explore: Run-from-RAM program for C139 phones that
1254 exercises their peripheral hardware: LCD, keypad backlight, buzzer, vibrator.
1255 @item pirexplore: Run-from-RAM program for Pirelli DP-L10 phones that
1256 exercises their peripheral hardware, primarily their LCD.
1257 @item tfc139: Breaks into Mot C1xx phones via shellcode injection, allowing
1258 you to reflash locked phones with new firmware with fc-loadtool.
1259 @item ctracedec: GSM firmwares built in TI's Windows environment have a
1260 compressed trace misfeature whereby many of the ASCII strings
1261 in debug trace messages get replaced with numeric indices at
1262 build time, and these numeric indices are all that gets emitted
1263 on the RVTMUX serial channel. This tools decodes these numeric indices
1264 back to strings in trace output.
1265 @item fc-cal2text: This utility takes a dump of TI's /gsm/rf flash file system
1266 directory subtree as input (either extracted in vitro with tiffs
1267 or read out in vivo with fc-fsio) and converts all RF tables
1268 found therein into a readable ASCII format.
1269 @item imei-luhn: Computes or verifies the Luhn check digit of an IMEI number.
1270 @item fc-dspapidump: Reads and dumps the contents of the DSP API RAM in a
1271 target Calypso GSM device.
1272 @item fc-vm2hex: Converts the old-fashioned (non-AMR) voice memo files read
1273 out of FFS into hex strings.
1274 @item fc-buzplay: Plays piezoelectic buzzer melodies on an actual
1275 Calypso device equipped with such a buzzer (Mot C1xx, TI's D-Sample board,
1276 our planned future HSMBP) by loading a buzplayer agent onto the target and
1277 feeding melodies to be played to it.
1278 @item fc-tmsh: TI-based GSM firmwares provide a rich set of Test Mode commands
1279 that can be issued through the RVTMUX (debug trace) serial channel.
1280 This program is our test mode shell for sending Test Mode commands to targets
1281 and displaying decoded target responses.
1282 @item fcup-smsend: Send a short message via SMS
1283 @item fcup-smsendmult: Send multiple short messages via SMS in one go
1284 @item fcup-smsendpdu: Send multiple short messages given in PDU format via SMS
1285 @item sms-pdu-decode: Decode PDU format messages
1287 (home-page "https://www.freecalypso.org/")
1288 (license license:public-domain)))
1290 (define-public stlink
1298 (url "https://github.com/texane/stlink")
1299 (commit (string-append "v" version))))
1300 (file-name (git-file-name name version))
1303 "1d5gxiqpsm8fc105cxlp27af9fk339fap5h6nay21x5a7n61jgyc"))))
1304 (build-system cmake-build-system)
1306 `(#:tests? #f ;no tests
1308 (let* ((out (assoc-ref %outputs "out"))
1309 (etc (in-vicinity out "etc"))
1310 (modprobe (in-vicinity etc "modprobe.d"))
1311 (udev-rules (in-vicinity etc "udev/rules.d")))
1312 (list (string-append "-DSTLINK_UDEV_RULES_DIR=" udev-rules)
1313 (string-append "-DSTLINK_MODPROBED_DIR=" modprobe)))))
1315 `(("libusb" ,libusb)))
1316 (synopsis "Programmer for STM32 Discovery boards")
1317 (description "This package provides a firmware programmer for the STM32
1318 Discovery boards. It supports two versions of the chip: ST-LINK/V1 (on
1319 STM32VL discovery kits) and ST-LINK/V2 (on STM32L discovery and later kits).
1320 Two different transport layers are used: ST-LINK/V1 uses SCSI passthru
1321 commands over USB, and ST-LINK/V2 and ST-LINK/V2-1 (seen on Nucleo boards) use
1323 (home-page "https://github.com/texane/stlink")
1324 ;; The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are
1325 ;; licensed under the GPLv2+.
1326 (license (list license:bsd-3 license:gpl2+))))
1335 (uri (pypi-uri "west" version))
1338 "0ql6ij1hrj2ir5wkxm96zgig5qwvfwa75w77wh2y13w6b9cqcr4b"))))
1340 `(("python-colorama" ,python-colorama)
1341 ("python-configobj" ,python-configobj)
1342 ("python-pykwalify" ,python-pykwalify)
1343 ("python-pyyaml" ,python-pyyaml)))
1344 (build-system python-build-system)
1345 (home-page "https://github.com/zephyrproject-rtos/west")
1346 (synopsis "Zephyr RTOS Project meta-tool")
1347 (description "West is the swiss-army knife command line tool of the Zephyr
1348 project. Its built-in commands provide a multiple repository management
1349 system with features inspired by Google’s Repo tool and Git submodules. West
1350 simplifies configuration and is also pluggable: you can write your own west
1351 \"extension commands\" which add additional features to west. Zephyr uses
1352 this feature to provide conveniences for building applications, flashing and
1353 debugging them, and more.")
1354 (license license:expat)))