GNU bug report logs - #48767
[PATCH 0/7] Add msp430 toolchain

Previous Next

Package: guix-patches;

Reported by: Morgan Smith <Morgan.J.Smith <at> outlook.com>

Date: Mon, 31 May 2021 23:24:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Morgan.J.Smith <at> outlook.com
To: 48767 <at> debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Subject: [bug#48767] [PATCH 1/6] gnu: Add gcc-msp430-support-files.
Date: Sun, 26 Sep 2021 10:51:50 -0400
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>

* gnu/packages/embedded.scm (gcc-msp430-support-files): New variable.
---
 gnu/packages/embedded.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index f388c11c3d..f1f17e83a7 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -33,6 +33,7 @@
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
@@ -501,6 +502,34 @@ languages are C and C++.")
                            "--disable-nls")
      ,@(package-arguments gdb)))))
 
+(define-public gcc-msp430-support-files
+  (package
+    (name "gcc-msp430-support-files")
+    (version "1.212")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://software-dl.ti.com/msp430/msp430_public_sw/"
+                                  "mcu/msp430/MSPGCC/9_3_1_2/export/"
+                                  "msp430-gcc-support-files-" version ".zip"))
+
+              (sha256
+               (base32
+                "1mmqn1gql4sv369nks1v05jw1x6fpqssqq3yfvxzwk9l1bqkj6iv"))))
+    (build-system copy-build-system)
+    (home-page "https://www.ti.com/tool/MSP430-GCC-OPENSOURCE")
+    (synopsis "GCC headers and linker scripts for MSP430 microcontrollers")
+    (description "GCC headers and linker scripts for MSP430 microcontrollers")
+    (native-search-paths
+     (list (search-path-specification
+            (variable "CROSS_C_INCLUDE_PATH")
+            (files '("include")))
+           (search-path-specification
+            (variable "CROSS_LIBRARY_PATH")
+            (files '("include")))))
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (license license:bsd-3)))
+
 (define-public libjaylink
   (package
     (name "libjaylink")
-- 
2.33.0





This bug report was last modified 2 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.