From patchwork Sun Sep 26 14:51:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 33311 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 70E2E27BBE3; Sun, 26 Sep 2021 15:53:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 85A8427BBE3 for ; Sun, 26 Sep 2021 15:53:13 +0100 (BST) Received: from localhost ([::1]:56938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUVWi-0001Cw-JB for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 10:53:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUVWZ-0001CB-2c for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUVWY-0006oL-LK for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUVWY-0004Nj-KH for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48767] [PATCH 1/6] gnu: Add gcc-msp430-support-files. References: In-Reply-To: Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48767@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 48767-submit@debbugs.gnu.org id=B48767.163266793516688 (code B ref 48767); Sun, 26 Sep 2021 14:53:02 +0000 Received: (at 48767) by debbugs.gnu.org; 26 Sep 2021 14:52:15 +0000 Received: from localhost ([127.0.0.1]:38491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVn-0004L6-4x for submit@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:15 -0400 Received: from mail-dm6nam10olkn2040.outbound.protection.outlook.com ([40.92.41.40]:34848 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVj-0004Kr-VL for 48767@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dc3ihJrLyPY7zeRT0fsF/JDBr3J4UlWWD2Oi9s4Ml5nLqdbnEBDu0AS+UcpjO2rFzk/8gspY1lg09pJ/dVOCUQ9VLdHKXsnZSScFWh5AjWXh0tdS1MPicZ2sRR57xv4yd+IDJacQJ+8q2IAkF2rffJ1Q3O8Jvq//OPNYJ7QIDrMRV8tIWe5RfkNkUozdP8cPsp06+EXl+TNXURNz4+gh+fYHZwjeap3XtoEMfTd5rA61k+9CZiCE+Y62luf7/69gTsI3fHy9UKpk6UUpT9mpIorUv0eLXZuxBPTc+a1zlBwztV2m6P2Og5FNy+XwvFZ2hmmGd/EopB+Hey6OdTemeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jkmreqLuftxEgTMHfoketMnSns8cMmxpXCikZgUhD6M=; b=HGbDEPAxxyEptZrHy+kHe8THE+0S/42AxO97nRd5crvrQU9/IfO+JEn7QAULoM+kTa4H9LyuiHYT/s8xdPiAHsZSlx0ZKc2/xz0GxLe/S9EGb/zSS6Q3oVQR1efpfhc8A6m/mhIsCUFSc35USDTWolNLwMvMjIvuZUFCB0t6SZ92yJLduPdG8i7Koj/uKOfkXKssSsFL+yFiGyfnQ/UET2LeLN0vF5mYP99DICK8U1uuKmFsTxZ+s8EDFmWhR5FYfN4wf7WLkEt+9YFhkhRG/aMvbYLt/oxOea2Tg7r32+R2FvZK2SO27XCjWBOk7E70XvQUZvpiEBCBdT/TSyCPEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jkmreqLuftxEgTMHfoketMnSns8cMmxpXCikZgUhD6M=; b=Hwr1d9Vrl1zEG/FfZd0BqxOBqMg9/gmqb0TDwcWMrVgjNNICT65zDsr9FyFpwcYlOzdGSP1pBSn6PFooSoeP3a7YdndbgOEIWrTSHNkVNJV1d4xo3zgQLUYGXCso8jsRuAZVgmiPUNsJvulBC5smBwQPoGa6vDcM8WmfkSoo2ATq+S2Rj5hItXxvFFLxVAsdP88ihDilj7dhr1WICTEVqEFZx7XnZ20oQPjCsO4qi/DulXo3ZNAGQb4glh7u3d/WWL4OumwJkdl7ydBpK429n+B7pGkK6Ok0rmI0qsdNMh59e5dhdJ66kGglUu7uUEblj80V8KM6t9yconwqxoB6dQ== Received: from SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) by SA1PR05MB8344.namprd05.prod.outlook.com (2603:10b6:806:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.5; Sun, 26 Sep 2021 14:52:05 +0000 Received: from SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf]) by SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf%7]) with mapi id 15.20.4544.013; Sun, 26 Sep 2021 14:52:04 +0000 From: Morgan.J.Smith@outlook.com Date: Sun, 26 Sep 2021 10:51:50 -0400 Message-ID: X-Mailer: git-send-email 2.33.0 X-TMN: [7nsbCM5zyf5c19wUeij/YGo2iTPIO7Rk] X-ClientProxiedBy: YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) To SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) X-Microsoft-Original-Message-ID: <20210926145155.966-1-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 14:52:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 30b0a089-9b64-4dc2-0c97-08d980fd3480 X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiTijo6adWu98QIZAiDfxDYNDqAs+q/TWfrUtkTJLT96A6dfXlVQzY+eIOPt18jGb7MuhOhzy6aTtJQnaPL/JszmaTX8Tev0Z4EwqkcAQ6KpJJkKY4snPucKpOLGNlgWInDQX1PX3lD15WEh+/PwvYkXxqmlLUW115Tk4OYV4EedQvnIc5aXNqGyAABhoQNYTzSj3Lyq4owGNa29pMfK+62Xwcvxr+7h03LFLPAzWPudKjkIEJtyloGBMWN/2KxMJoqLUR7WEF83rNshdFdmIfbuo+3/wdSkNurtKiguK2BexkSn1PdrslHsDEiczo7C/Ugbrr+AmlpkYZZDN0P0Jm7L0yIonZxGTXMGiJR1AhLd5EMSITh3BY7kRtuZZFvt69iIg89zjLQWZtGoziGZe/6q4WrGNX+EBMUvwzOAAQGiWaOluzelETLTWFnWym9iAzopCzAAsk4gLLl/FdGT0z7DeIsQO5xPy/ABZw3oqKbrqJVEF402HrYO/03xcSZBZ8L3cQRfJbwhb1cU8Phv14+hAOWc6psON3h7UNBgXS+M9upgyxZADgKql+fBAd02QDaOms4LO4572gS2NHUDAHLEytjVTwQvd1SpmrIuaEFPzI4Ie0kEE0YCRsSap6tQbaVfmuI+1fjG82ZSN0n+ShHSlnMowfMszejpk02/F3fSowJLl1ewzDc3pQUitIoYCx3GYivJlO6ygDC/nKEKvdqxCTHpWRrSgs/3MI2VNblPUJ8cZCqMdnzY9V6oWPm2t6w= X-MS-TrafficTypeDiagnostic: SA1PR05MB8344: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rAaejUWi6oEuAMOrPqdw37WsuVXnB0QnaUGWi4vPT5YWJu5hsH6icFDnjqiJHq0wRFk2x1QXMMguuTXbzOSyfkZ971HRbbBl3lIV6U46moS0vhj++Q7LyI9YH279WcWpHbMJnBcLS9SulGCVTfZfisALajO0XjUrKQ72UZoh9nTZ2Do7EXQNmV6yamHnK9vIZQfLKDj4zjMPpIBw+nvuVGy8Zo2kLSKDJMqLlLo6QLMxCJsLCfF9TqV/LJ7S9VuMBrbKyhu77GGsdm0fkcYBlmzcQ5xp0zswEMZtSeD2sjxyiGrnyFx8LIyoC5fmsSrQZAgomM0Ft99rU19hViHjbHpkDIDVtnOhyzvQF/BFRqQSBtlp8JXYGfOs4XSaKkVhQsX3SN3tNczUIsRIpKT7yTGQSZ5dLpXlgfAKVG+me5MDj4CWm3STQzL5bJTi2I0pp/+DzgLJat5C9mk7sKcQgf0YMC51WuDdgDBY6V3xI8Y= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4o+1a4IzLpfiXF8qIjGlogXnb1dynIUdulvAMzrkz/ITiDcFBKLOOc+b7N65cjx+xclo7AYTeqbwUPfYixtQo8yIzBaS6I9yd0U/FKjgGJ9QyNQAxQpQFhPdEnjl+6tvc84kvMPwStrBKv6Ca152jw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30b0a089-9b64-4dc2-0c97-08d980fd3480 X-MS-Exchange-CrossTenant-AuthSource: SN6PR05MB4031.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 14:52:04.9062 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * 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") From patchwork Sun Sep 26 14:51:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 33315 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C2C0527BBE1; Sun, 26 Sep 2021 15:53:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F35CB27BBE5 for ; Sun, 26 Sep 2021 15:53:23 +0100 (BST) Received: from localhost ([::1]:57626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUVWt-0001gE-0H for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 10:53:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUVWa-0001ED-UV for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUVWa-0006qa-MH for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUVWa-0004OK-LY for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48767] [PATCH 2/6] gnu: Add gcc-msp430. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 14:53:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48767@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 48767-submit@debbugs.gnu.org id=B48767.163266794216758 (code B ref 48767); Sun, 26 Sep 2021 14:53:04 +0000 Received: (at 48767) by debbugs.gnu.org; 26 Sep 2021 14:52:22 +0000 Received: from localhost ([127.0.0.1]:38511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVu-0004M8-62 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:22 -0400 Received: from mail-dm6nam10olkn2016.outbound.protection.outlook.com ([40.92.41.16]:58465 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVp-0004Kx-LP for 48767@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d4CiUVyudLDPjSiNG+oacLJ1nHaudxJfS8WrRgxyCAKQ7zWD4uxgW6WLUSoMt4pNMMq2Qum+W04iet0PQICZH677jhTI4L48AcSyAl98U7i8TOaLPshen1wurH3jeQiT/qoyXX4CLWXhQ6Wd6oppIf4OKrMzs2xpre1IT1CYRPolGRl70n6JaB8xBrRrWV/NkY9l06MqR+mPj7Gqnc4BeuilSN1WgsocmjOmVNGAgbnBrG2q3X/Q6HyJPfaZp7KN90h1mEltT66tQvgqIz3RhP0mNDU8AhdTDgCjoIsUWG4Ko1zFnyKMjOlDkMuBd6tveJuqQaODgwbKuMfC27zQaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dQzSZZoIbOlAvdsMzJP9LTd89fYJ02y6zgk6iWAdKc0=; b=QSm1ul/7sKlGWMyKOSzFGkGb1zZiFe7oQaHsCj0W7r8Yey09/iH2Cml7/1yNoxf+XzwsdzsN++lWntHXseu0i8SaDeohjblHkfA4A/uKpcBp1q/MH+V4moXAP+FsSAx9a3yQC/Xz/xQ0M8UTSW/eGWrSTsCTc+VwGHeAkpSgy4Kx5fjR1mPLKsdJdFBM+i/bI17T5iiqAV6yZ9e1Qnnx/3at5cU6NxzOxBKukJWno7La59arGwNNUWSLFzgIqSqre7rHKL1BtZjP+xe0N6cB87iPQog47Ard5Ge9Jk7WyTYAwCusNchrn46OnGUHuZRZgaJi7BkveIlZmxIkRJxOxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dQzSZZoIbOlAvdsMzJP9LTd89fYJ02y6zgk6iWAdKc0=; b=soJsoPjoS4k2dvQSZNxcX6XMERPgKrlKGr9FM1KyscRApfNtBEVtEdLbGFYqr2NgbEhAYpfgutNIjVZiF3VSZ9rsai4wg7Qux+8JRK0fFveNI31YmOUaYzXx5730I6B/0akrD0ebO0xgsi3wS5dVlLgpNvaGH2O0j1is3PZbAxo5X4cj64qt0bUNa5W6u+7bfORHq0rKWLt0gkkwtK4Md8aGRtN+yFoaiD76j3/NecQ7TotbR4V6Tg0EqxtUlcVZUgu8x6STOaIZZPQ4F9FkzeVR3D+s2vsJk6eT7MzoPnV5Vx+AVHfdFVdOIMhWJnRgvaca7Kh8CJveqt1JbXjnJA== Received: from SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) by SA1PR05MB8344.namprd05.prod.outlook.com (2603:10b6:806:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.5; Sun, 26 Sep 2021 14:52:06 +0000 Received: from SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf]) by SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf%7]) with mapi id 15.20.4544.013; Sun, 26 Sep 2021 14:52:06 +0000 From: Morgan.J.Smith@outlook.com Date: Sun, 26 Sep 2021 10:51:51 -0400 Message-ID: X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210926145155.966-1-Morgan.J.Smith@outlook.com> References: <20210926145155.966-1-Morgan.J.Smith@outlook.com> X-TMN: [6Fda6xy35UnQeEPNqvQk9SwO32jtAy9t] X-ClientProxiedBy: YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) To SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) X-Microsoft-Original-Message-ID: <20210926145155.966-2-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 14:52:05 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c6b617ca-090d-4c47-3303-08d980fd3503 X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UIAJF/k4bgfswkTEY4F7udz0AqcIDPzZZpaIAoda0YspddgLbYb7zI6XvzHu4RSNoWW1ZDt/wwbL0fyf7FR4h0HaAWSdvSZexs02eCQ+GVdDYlxM1OpJF6Zy8ccZtL1LcoNqI95ULEwGwHU2phXBjFhc5NF9NfA01rdaZSZqqpcV+HZUqaikwS1ASwzxR+g9grdDrKDyq2CAW/fMEldSrR1frvO8YbFflGW8PQoi9LIOKe8RP2ngvoV6s7V3tc3C18A++suz80iUDFaelQ6mcyoISRurpdrM7ieJbdmAw7FEKDsfe8zhMFnUNTuv41Rdl/8Ms5DP/5TEqrMGVgf1JLANAroNezmGr0yFYXb5UZiEa9LE5zVkpBxrRIVXyDokIyxbmV1HV1CkjXwzT/V0wMaKlzsts++9BtS9/wU8bEnGFQ/II8O0KbrwybFcJpLyq730+ryNi6sRvA32ayLw/CX7U16ieKGPcGloW6aJewI57KbnqjXrLDRMaT7gJ+8YfYPFG/ocTY4rzKgQDy1RrBJ5HSAXZEq269M5phAOoe/8jNfHfO4rGrMF/Ro7dY/x1KECPnpkmneizvum6aTr1CLNVrXG4zQ7Ng3fF5AON3Xj+vLmBbCqahHM8KFNeR3JE9zWI6egJZaCQOIlPGg2fen4r5YQcb0nNEfvpbdI8O8XFi5BtPaxvtkXh9rvO12r00MDh8iFteJrQ== X-MS-TrafficTypeDiagnostic: SA1PR05MB8344: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YR2wMq+ofb6zfY//AGpo9E2I9O1YxlX9D5NpOgRDghBifnWqrJtoS8e/RTpbAn9GPSN6i54y0AAiV2AfQTT/RcKbNRxYw2iGADglOkeswwwRm/00M0cm9vnQIH5mW4RHHG0v2S80FIM3wLdQWbLWObAoGUBOX459tfPlG87K4LS2Zb7QF/HO/A/D0N3apc1XVf9Motk3rLyylVmKheDBiH1W25INFK6acKmwdtZHLpYHsm1ugg1goVoYTrKLizF1paK7lZQh2E0544gl7yadyuc34oyQxyzn+5uCkt2rQAqYhYlb0axlQvxk0XO5GEDLP8w4dij/MjgB0cPMhaX+TMsH716TM/m6RkBojIJ3xl5sMFkQiPPCjcCBLdAwtxWbAmoC98hYM3Ew7vwzPB0GRE/LjWkIt5sa7zC1GeUbjPKDQ7eFiBEdm+qEBB4r3gGP X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: diLZCmVrR9b2QUlhLUhNE06xjB8BUOPT0FOVNE3SjCYiUW+MhDfQLmnaizfveIWKepEf39xttzeHAjkzqNQ6cw5D+Yq0thkrk/NC7kz0vc1DpIjByYCJQfnoLl1Ze9buxn1vAP1ojOkJh4EUajqQLQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6b617ca-090d-4c47-3303-08d980fd3503 X-MS-Exchange-CrossTenant-AuthSource: SN6PR05MB4031.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 14:52:06.2014 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/embedded.scm (gcc-msp430): New variable. --- gnu/packages/bootstrap.scm | 1 + gnu/packages/embedded.scm | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index c598cedc0a..54a028e977 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -311,6 +311,7 @@ or false to signal an error." ((string=? system "arm-eabi") "no-ld.so") ((string=? system "xtensa-elf") "no-ld.so") ((string=? system "avr") "no-ld.so") + ((string=? system "msp430-elf") "no-ld.so") ((string=? system "propeller-elf") "no-ld.so") ((string=? system "i686-mingw") "no-ld.so") ((string=? system "x86_64-mingw") "no-ld.so") diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index f1f17e83a7..7073168b57 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -530,6 +530,39 @@ languages are C and C++.") `(("unzip" ,unzip))) (license license:bsd-3))) +(define-public gcc-msp430 + (let ((xgcc (cross-gcc "msp430-elf" + #:xgcc gcc-9 + #:xbinutils (cross-binutils "msp430-elf")))) + (package + (inherit xgcc) + (name "gcc-msp430") + (arguments + (substitute-keyword-arguments (package-arguments xgcc) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'set-paths 'augment-CPLUS_INCLUDE_PATH + (lambda* (#:key inputs #:allow-other-keys) + (let ((gcc (assoc-ref inputs "gcc"))) + ;; Remove the default compiler from CPLUS_INCLUDE_PATH to + ;; prevent header conflict with the GCC from native-inputs. + (setenv "CPLUS_INCLUDE_PATH" + (string-join + (delete (string-append gcc "/include/c++") + (string-split (getenv "CPLUS_INCLUDE_PATH") + #\:)) + ":")) + (format #t + "environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%" + (getenv "CPLUS_INCLUDE_PATH"))))))))) + (native-search-paths + (list (search-path-specification + (variable "CROSS_C_INCLUDE_PATH") + (files '("msp430-elf/include"))) + (search-path-specification + (variable "CROSS_LIBRARY_PATH") + (files '("msp430-elf/lib")))))))) + (define-public libjaylink (package (name "libjaylink") From patchwork Sun Sep 26 14:51:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 33312 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DD6BA27BBE3; Sun, 26 Sep 2021 15:53:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4FD2C27BBE1 for ; Sun, 26 Sep 2021 15:53:14 +0100 (BST) Received: from localhost ([::1]:56964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUVWj-0001EH-CQ for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 10:53:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUVWZ-0001CF-9J for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUVWZ-0006p8-2F for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUVWZ-0004Nq-0w for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48767] [PATCH 3/6] gnu: Add newlib-msp430. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 14:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48767@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 48767-submit@debbugs.gnu.org id=B48767.163266794016729 (code B ref 48767); Sun, 26 Sep 2021 14:53:02 +0000 Received: (at 48767) by debbugs.gnu.org; 26 Sep 2021 14:52:20 +0000 Received: from localhost ([127.0.0.1]:38503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVs-0004Lk-Ea for submit@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:20 -0400 Received: from mail-dm6nam10olkn2040.outbound.protection.outlook.com ([40.92.41.40]:34848 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVm-0004Kr-4A for 48767@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SLAG4tVElYgAQxxKXxoMc180Kaoh5LH/Yg83LnbzSp14f6SLPE0Q7C2HpeWMhkja50nm3Dav8RN3Jv1NFxqC2LbA5eVaB18cZFuTcfli1dJxIZyFQYMATciwD89QQhlPXdzIRtfD8TmE1Nal23CQFN0NAlXJlNCNO9KxviBq/mYSTPF+Uy0WhYi50aqBTLB8I2/P5huKo1hr/5CICpYW1l6+4dP8zUJoyVP41wrBlJZ2wktoQvnAKPobzvfrJCc9I+nmMlZvLTbsX4vszyY8U5gSRgZ/qL/qva3stvttU9jsuw5gMt1By6bgxajAawJ/naRSbeiNT9ctW/ijJgeiAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ji1fpUYeUUpGOTHbgKYEH4p7yKzo7AoViMWwwWrR7Hk=; b=SRe63Y/Y8oTVQLJkC4/6W9ewTywlgBe+nI0OPsHhaykLhBp7EnyOh4oKAkMtXj4ZOxyD3762MDbn3X1snWgUhQkmKj5ZVkgHOyDbVI0zLZFEuKab5Y0wYlXHVH5f5K1LxWKpV5c8KrOqIB5H/1raGNhAD//C9+GJATd8NnQKQML9QYJW94z4BPaqtoTXm4H+rycdtFJU4f3vRYxa4PXL8Rr3ze3Hj3j9s9UZCnLoFNm1LiQwnx1hR6v5snWO0kWja5kdRjeJI3gznkU/CNnIxeQkUwrtpDVQd1Z84SWh6JNhmesCpcyicPLwL+BznFFuAtNIs1d2de1aWF5N9Jw4kQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ji1fpUYeUUpGOTHbgKYEH4p7yKzo7AoViMWwwWrR7Hk=; b=uhDmna9PpFdyHZlT5kEaLF2PsMdl/mswsn+uwFInAFpzRv3HWylcvCNY9iuqcvocF8VG/LbVm6BrI7EMZz9+hsteB/mZon7tWF0R9uvZ3zcfTE1zsh9q0/RT3bvfRgtV8ZkBfHw7tKR01ypbyzWVNp8iFrgm4kcZEsvKNhMFE1yOFm8m7cINEda0cqcbd9y/BXwjqd0JtHJhzaKRKa2PnplL+W/k9VtgSFdPH8pR3t5U4/BSHuhZDjJjkviRW2neYzSA05DNH+B/F8X2OX64smU4pNCniRSxKbp8xNoqcWXNiOWNW/iJ0812F98QqGn5hlG6aTS7qHJJlv8KXQK2UA== Received: from SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) by SA1PR05MB8344.namprd05.prod.outlook.com (2603:10b6:806:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.5; Sun, 26 Sep 2021 14:52:06 +0000 Received: from SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf]) by SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf%7]) with mapi id 15.20.4544.013; Sun, 26 Sep 2021 14:52:06 +0000 From: Morgan.J.Smith@outlook.com Date: Sun, 26 Sep 2021 10:51:52 -0400 Message-ID: X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210926145155.966-1-Morgan.J.Smith@outlook.com> References: <20210926145155.966-1-Morgan.J.Smith@outlook.com> X-TMN: [3/U6LK54ZhWxBXvbUp00s1ePm283C8I2] X-ClientProxiedBy: YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) To SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) X-Microsoft-Original-Message-ID: <20210926145155.966-3-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 14:52:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6de3a977-c89e-453a-550f-08d980fd35c5 X-MS-Exchange-SLBlob-MailProps: +LiGfBxqLEup9gYfrM7RF5KY2nZcELFU22f3ILrIFZRWRSJrYMzgi7pOu9eiH8Et5uzn/k9sNPLzJYMqpds7ZkY9PTiowG+yN9C+u7V8lOCLkJh0xlS3Qj16MBGnIAsLQLUlyGq68gQqgX+/49AIeF7M1mWrWpMGTx+LIjuAbrJCJWV7cqsuaP3vIMYDW0kYjU6WHZMhAGkUrwSehAGUbYrCS+XLYwMMqDREZfyFFa6hJLHCstIWbm2uPOZhiUhpoM32nYpXPCtwvhlLX2wO8nhlozHc+CU2X9sflNTpo8nOwoRyIJw5Kh+HNLYfiMBwvKrQy77A1sZCs9Gl6ot5Lb6e+d/GtVLA3pHrRbYP4RQ8TuwqfpydDz7vDY/bV8y0HJS8EF+z+tR1CApSja7p91YM6TD9sEUPVBGEFzhuk8mjSssXqcvDYSAt8ARacfQwY2c1kEo2ieOzXDEoBL05uerzpNAUkQFfSLv8icFbzUNoaRPf7Gpb9m7J9LVhSvf70mWRO5WyQqKrqq0YJPdgbGjPwzZSCn60YqTgvJ8JRnEQbu254Gmk5wi4cSHSX7FpSXGN4TIUCznQWpoCDuFeI1kx13x0h/HPdabNWWITISJ+K0CtbxeilbJyrxlqV8XFyUsOuhKx/CBPXRfMVT/RtkINeJMWR0WycgGjETlSnAI8VYofCA7qGdmOuaLH7wO0kVtGddUmAp/BFCIOxv9/vGOWJSjjwWQHsNDgrcx+/LtSKaeIHdEFiLRbquLP0YniGj0UJNDlgaG6AR4GvLs6hnmiUtChwvje X-MS-TrafficTypeDiagnostic: SA1PR05MB8344: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ym5OZ3KOfiW9T2WUtdAF9A6l5FClmvTLBk8w0jHiI09mJheg5WyWYXVipGa6I3WDmBrRBhDnyiahBJ1MA9i0WPjKYASm4SmOTKQLcsnHmmpWvGp0tusr4cXE05OuuIComKVKufvbZDEhEdP2yxBD/7A7W86tlvjG90iHlCgSlhNbhYHUhhYq/XTaB+nflwT06zPF1BPdZkC1E5OgfwPtxVqkiS9ksRi8Lhv0ZYyiG4yrsB1cpNfRopVvTdIO4KQ1lpPVB4f0bqNQCDJfenrvWPTMp/m2klFm6/K6/CqJeuhGl13ICdEzCPWOs640iYjh/i9tbVjbUxzb3yoxgK32O3B4xtLQJ0DsnowlxSDi4B8REuHMMelHAc9w0YRpAq03dNhQLMLW9snwFamlqWXsQrH3GlZKMEpO1JN8sU7jaxmRDP0LdHJT3hf83qj53xKzLoS5L0Oiq3A8BTrjRXP5/uYKex05r4UdyKeJ5wvBqIA= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OLdf18e8Ev1Qcf9NVKkhrJZe4o85zYp/tPnW+sqJVdRGObfrBUgvDHavP5cirXiR44vjOBN8YxZvwRLNE7HLpttdUHHf9BLd77sXUUSUjIlIZYqxl28EPYxIS/FAnfNxyNfKKyEOrX9bKRuPGmGoeA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6de3a977-c89e-453a-550f-08d980fd35c5 X-MS-Exchange-CrossTenant-AuthSource: SN6PR05MB4031.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 14:52:06.8810 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/embedded.scm (newlib-msp430): New variable. --- gnu/packages/embedded.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 7073168b57..49f3eda5fb 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -563,6 +563,41 @@ languages are C and C++.") (variable "CROSS_LIBRARY_PATH") (files '("msp430-elf/lib")))))))) +(define-public newlib-msp430 + (package + (name "newlib") + (version "2.4.0") + (source (origin + (method url-fetch) + (uri (string-append "ftp://sourceware.org/pub/newlib/newlib-" + version ".tar.gz")) + (sha256 + (base32 + "01i7qllwicf05vsvh39qj7qp5fdifpvvky0x95hjq39mbqiksnsl")))) + (build-system gnu-build-system) + (arguments + `(#:out-of-source? #t + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-references-to-/bin/sh + (lambda _ + (substitute* '("libgloss/msp430/Makefile.in" + "libgloss/libnosys/Makefile.in" + "libgloss/Makefile.in") + (("/bin/sh") (which "sh")))))) + #:configure-flags '("--target=msp430-elf"))) + (native-inputs + `(("xbinutils" ,(cross-binutils "msp430-elf")) + ("xgcc" ,gcc-msp430) + ("texinfo" ,texinfo))) + (home-page "https://www.sourceware.org/newlib/") + (synopsis "C library for use on embedded systems") + (description "Newlib is a C library intended for use on embedded +systems. It is a conglomeration of several library parts that are easily +usable on embedded products.") + (license (license:non-copyleft + "https://www.sourceware.org/newlib/COPYING.NEWLIB")))) + (define-public libjaylink (package (name "libjaylink") From patchwork Sun Sep 26 14:51:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 33313 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 11E2A27BBE5; Sun, 26 Sep 2021 15:53:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 919B527BBE3 for ; Sun, 26 Sep 2021 15:53:22 +0100 (BST) Received: from localhost ([::1]:57534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUVWr-0001cr-Kv for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 10:53:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUVWZ-0001CR-ML for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUVWZ-0006pn-FL for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUVWZ-0004Nx-Df for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48767] [PATCH 4/6] gnu: Add msp430-toolchain. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 14:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48767@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 48767-submit@debbugs.gnu.org id=B48767.163266794116737 (code B ref 48767); Sun, 26 Sep 2021 14:53:03 +0000 Received: (at 48767) by debbugs.gnu.org; 26 Sep 2021 14:52:21 +0000 Received: from localhost ([127.0.0.1]:38505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVs-0004Lm-Nw for submit@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:21 -0400 Received: from mail-dm6nam10olkn2040.outbound.protection.outlook.com ([40.92.41.40]:34848 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVn-0004Kr-Lg for 48767@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LHGg9/GMqzTAwDN/2pZ3krU3aYaRqvukCGSdUEW8vV5T/Qi0Dis8LRUPRIs+nkQCv3JXJM4PzGjqvvguOuJHT3ZUzDgSKoHsth0haZoV53U3kMPT7P+qMLV+gNjjGwCs04NcjqS7y4RRT1tuI9DPshVkRQHtCyi1qXtRxTGST+GTa6BoexldVdG6SzNtk6IHfJnD6Ck8928N1eTDJzQR9xhgmbFCv6jhVU+7WKIvG9oF3E9Qa4gkEi0ELfgCtQe8ddSO2WfXoaZge9WPr2AXilnQpLnSk95X4DR15juKq1qSzlxc6SDHynW2rg8FaDoyN0wHLny4mTwpmBY+v46kiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H+stfaf4kAKIutfBgVl1xryw1tCoLSXlb15h/oHLe/Y=; b=HI6kcyOO71g5Fj+jwzQYzh3+SPonPG7/BgRoNcXYHiLRuX2r12dSmqUjAai6e6ruUQfGyjTrnRPwTsCCuMajP5+c4NuvRC6giJyK6JhSpacDhoXQXb77aDL4+j7ov7FpPnD3QKz37r8yh/W/Ds5j2M/FlJIkSJI0rIuc42Bl1HHR1JIicLDS/GVQvJuL2CEn8V7pPsv9Pkb2ZwOwnq6NuVoMyiNEN1u6usbgsWGFJMRqma/PVp6a6LaYM5hPQLIiRU4PECZx+qulppk0/h0/RbBu9a0XK+h0D9Xa+l1VkMJOTG/tOipk+nLZ8ksyTciVvwKNLYq4DKl23vqT8dTGsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H+stfaf4kAKIutfBgVl1xryw1tCoLSXlb15h/oHLe/Y=; b=UKqHIjD5ckmDt1nw/JkfkTtvzmbqKkbjpzfsj2bLKpfq+k9nnDeqRsMPtV8EkHv7k+8fgPrLPYf783S22NxuzXQAyhrFFraqlVKQDNdjTZ9z8IG0EGJdwq6Y1bGV7djxfO5jebuqLFaVqPhq+9fOXg93dg1m85+pmEjMxMS8wvktLhwjEyFX+onEf3/1A/Xa5Bl8tQDsMYVaEur1pggQmyn5bD9oIz5lgiSOrTyPez1imQanCedR+syqOfhXMmnQKkvU5+lx9ucKqlqyLJ8XaJ7svJslSaQVRcoAfW8RhRULRtw/bbKQiRRfVdBUR5GpNnPyCJYxvU9lZLwmbpa9pQ== Received: from SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) by SA1PR05MB8344.namprd05.prod.outlook.com (2603:10b6:806:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.5; Sun, 26 Sep 2021 14:52:08 +0000 Received: from SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf]) by SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf%7]) with mapi id 15.20.4544.013; Sun, 26 Sep 2021 14:52:08 +0000 From: Morgan.J.Smith@outlook.com Date: Sun, 26 Sep 2021 10:51:53 -0400 Message-ID: X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210926145155.966-1-Morgan.J.Smith@outlook.com> References: <20210926145155.966-1-Morgan.J.Smith@outlook.com> X-TMN: [vApvpOKFW+3IgmUjl0ARn3eCwnnjfBj0] X-ClientProxiedBy: YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) To SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) X-Microsoft-Original-Message-ID: <20210926145155.966-4-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 14:52:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0215e3da-b764-41fc-2f5d-08d980fd362d X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UIAJF/k4bgfswkTEY4F7udz+83piO9uZOAFFi0wgn3V7R5umZSd8sRM6n8i5gLSo9i4+dqB1RShofEHX9Yfdi/mLh8DCahAA86cjTEMYI2UjhRNuu6k7Ps3ZsyYAsFyVltOC//jO+LFAGwe8/zPHtMO8Q1m46yFvuEYOtgtbNEkcRy4hH2gyJ+Tsi9F30+uSNCc3NwxWfeOM6HgoQf2fdQQky3OdoJwDg+nsKN/sjJPxVZmMo3KQ+EI8buCU6XIH1AEUZZNAuw3iMSE2qAO4HGihX/czo/m4dd5oid1I25AXaP6HogY0TTZInR807pu6mWOHet13Sxcp+cDHMQvtea778clNUHrA/QztTxhoMrfw1QaBssuw7IlW717HDEquUmm2HVVMdZHvS+U4EKfHIifm3WL8I8NBfCAiKcZqtBbV+/EgjPh61oT0OSfW8uMDEbTjOKMLd09O9Hij3s9pvIzMcrcye8Y1PvoXYMcvOGqURPcZZbVW71ohPBe8/HnR2sI6+IclkDbud3zu46gd9zCiNLk6GVIVW86mo5HKmS4wA1QjC54d+4NQ/UiH3ihplxKHru326x5Swu+a0oajAeom1hpd6ViEklhi7/j+bD2YEq8uO7Xy0Lfuvia34kmgWOuBKPTUi4HJIw4KuCS1aj6xa2KlRj9k0BHN7BAA+Toz2BsIUJHwiPdzdD32iTR5FHYEE4G/P0fGg== X-MS-TrafficTypeDiagnostic: SA1PR05MB8344: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5DK1pAT911XLBKjrJNFQ5eBJXc5A/QIdHVteBHSB+7qeLK4t8kVKvK1+96AcA+n0nylUmsQLII4oCSW6hiExKdGkK8Tubb+GA2IXzCY58Y59r2vhA6o9B64jBSwIWbumQIVtgsavnJbecDMG6XpPVJo+TbAtg5dLWfh3g+bHAeakppUljQFIFb72ypFziEMiIrpIKnPBXDeDi4raSeOcnxRexo7GYo/ZdsjjX8GeujDdQag9X7se7ze1WGSGxzaD4VBwIlcXn732a3PkdLzOFLgDLHpklYyx9WxRTD3F65QzNyXGanMR/PuPjWgLWSzwM8fg+cCoAGxzyVtD4Li5pNJ6rUG6dkKw6k6f0ipSWv7OkkyH/zpnQdJLtB9U2Mt8kvBnG8P+a1aDYecQCDI2wT8CLeS60Az2pJCnJAGrcfhsFTXl4np8ENhjWdFpU50ahkDDd9rdXusBUfZOssFlavOc+x50WZUh8V1g8iEdI78= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HJAdU7kyj+Om7XGGfjBQgCTKojCxoF6yfiQAk/UCevtnL9zKawiLKcO0dJ82iVzWX6oZ4vsKenHb0XR2fw3KgQSDs8TXhzwLPssb0Rm8ohpq9CI8v11N7fyv6k2fhJfxQ+pacYEw6SqOGWNqGS+LxA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0215e3da-b764-41fc-2f5d-08d980fd362d X-MS-Exchange-CrossTenant-AuthSource: SN6PR05MB4031.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 14:52:08.0943 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/embedded.scm (msp430-toolchain): New variable. --- gnu/packages/embedded.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 49f3eda5fb..8401f68542 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -598,6 +598,44 @@ usable on embedded products.") (license (license:non-copyleft "https://www.sourceware.org/newlib/COPYING.NEWLIB")))) +(define (make-msp430-toolchain xgcc newlib) + "Produce a cross-compiler toolchain package with the compiler XGCC and the C +library variant NEWLIB." + (let ((newlib-with-xgcc (package (inherit newlib) + (native-inputs + (alist-replace "xgcc" (list xgcc) + (package-native-inputs newlib)))))) + (package + (name "msp430-toolchain") + (version (package-version xgcc)) + (source #f) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build union)) + #:builder + (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories) + #t))))) + (propagated-inputs + `(("binutils" ,(cross-binutils "msp430-elf")) + ("gcc" ,xgcc) + ("gcc-msp430-support-files" ,gcc-msp430-support-files) + ("newlib" ,newlib-with-xgcc))) + (synopsis "Complete GCC tool chain for MSP430") + (description "This package provides a complete GCC tool chain for MSP430. +This includes the GCC msp430-elf cross compiler and newlib as the C library. +The supported programming language is C.") + (home-page (package-home-page xgcc)) + (license (package-license xgcc))))) + +(define-public msp430-toolchain + (make-msp430-toolchain gcc-msp430 newlib-msp430)) + (define-public libjaylink (package (name "libjaylink") From patchwork Sun Sep 26 14:51:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 33314 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1CF5D27BBE6; Sun, 26 Sep 2021 15:53:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A882F27BBE3 for ; Sun, 26 Sep 2021 15:53:23 +0100 (BST) Received: from localhost ([::1]:57586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUVWs-0001ev-M7 for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 10:53:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUVWa-0001Ca-3y for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUVWZ-0006qB-T0 for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUVWZ-0004O5-Ra for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48767] [PATCH 5/6] gnu: Add gdb-msp430. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 14:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48767@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 48767-submit@debbugs.gnu.org id=B48767.163266794116744 (code B ref 48767); Sun, 26 Sep 2021 14:53:03 +0000 Received: (at 48767) by debbugs.gnu.org; 26 Sep 2021 14:52:21 +0000 Received: from localhost ([127.0.0.1]:38507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVt-0004Lt-49 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:21 -0400 Received: from mail-dm6nam10olkn2040.outbound.protection.outlook.com ([40.92.41.40]:34848 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVo-0004Kr-0z for 48767@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m0+zhhECNK3aZMuADAVJfXtf+muF1RXDQGffl8ux7blwwwTnYYZlhfbLrqTfohblF7eaCuyMr0tVbZqIcSDBmdr0hcJ+SlDlfje5lbKPh1h66k8LeWk5eYllUB2CJXJB1h/ErR7LoPdgZ/7SJrF1FaTBVfpIbsymkQ1OwtsVEWS7/ygzDPLyH0LiYUOrgF2ALDfeqlN4Grd7FzbbHSCEX0f5Sr5w4r9XUnd5Ea3Vu0Qog7eFcPn/36wdhFOg0EJMZIzOzBDKList8X/jBt8QCgCrjZX1CQMUu2Z+8rSAmwYv2sEwtm70nfmNhEJNBusNPG3TmlcbHv3mB6jz0A3exQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VpRPAgsvfECMPeBQtVyjVUhXoSgVwdnsux19+RQMXxw=; b=HKe6oiodR4ofSWVPkLMX5+bgsp5f0jf1ERsioyFjyNVE92gBgSlN7gxUOB/9umuGX+O5z5MrO1d88YDPYZ4qdqGivJfwak9jATktaSfgE8VijS1pQVu3a9yDtCym4Ub2TysrFjHKeVl2kUO2xa59isaPp0E8jVO2PUAMprHBAgz5ZgidbWv1+bLfDw8vLabQoXTc4WmSUktFDHwhdALCsrZaInmcS6KWQcVX2xBiz3YwTyYIGnYDXH3j+SxnXHFsJBpBPHBMK5Qlgi0v8tEXqD8+BmPAgQZ0zo6KXSwutLXy9KoXH5SmMmI1+TFISgyqDM+pScccZWKj5ar/tJYHew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VpRPAgsvfECMPeBQtVyjVUhXoSgVwdnsux19+RQMXxw=; b=Qf60Eo4CApMdRQP5kXoC2PpdIM9dZrG3Y37LLqKsrDjiZbR/qhOayZdo292Ufi3uNAUAg012G4SR5xGLzb95RDb02W5kwvD9F65YS1zTUQj3iT6sQzzZiVzenR3e4eTnAtfFFgjyv8e9algVl5nNevLnwHU5/y9p7uypkbmL1y0bHvf/DJzY//TlAemYj3jMyCfMYKg/or441unV78QV0BKF+2XIeQt5OKRI8WtOuER9r3HRiU53M8i/RuKBWux4ac3MpuxA5ACvZmK3WIMUqb39kOxs/x54CYSyRNtnCD3uMhGuUsCObkl7rc2LRa/LO1WSHS/ONkR+iQlbQ58FYQ== Received: from SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) by SA1PR05MB8344.namprd05.prod.outlook.com (2603:10b6:806:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.5; Sun, 26 Sep 2021 14:52:09 +0000 Received: from SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf]) by SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf%7]) with mapi id 15.20.4544.013; Sun, 26 Sep 2021 14:52:08 +0000 From: Morgan.J.Smith@outlook.com Date: Sun, 26 Sep 2021 10:51:54 -0400 Message-ID: X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210926145155.966-1-Morgan.J.Smith@outlook.com> References: <20210926145155.966-1-Morgan.J.Smith@outlook.com> X-TMN: [dtOccuwc9uIuKcSFpHXr48RfzRdSXTgJ] X-ClientProxiedBy: YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) To SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) X-Microsoft-Original-Message-ID: <20210926145155.966-5-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 14:52:08 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 23434b75-958a-486f-034f-08d980fd36ef X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UIAJF/k4bgfswkTEY4F7udzWogne3enNYIm+4jUM0BMYbj8jCpXu0sMRiQODLGvIkQZ0FWozaULUByW0/jygTFYAM5p4n1Trbc8YGrSr1Jr9O2eR7C1DuSor7amxfjbdmpTVNfwg1RgHW0kEyURc7E32SSAUfVhG2yJJ/Ydu3fYrOMKmM5+8N5SQ01tHZHYvYX7haokIY1EITq/jIdWDpiNe+zL0gM0cd+bKLyzWAjBAZOoHVGqUdk5A5WYl+v83GXzjfvyLfq3B3p9aClzxdmTk0oDzOniIxKKbvzzZrUd+Jy91dulVnpvpl6+dhYC/lFwRPhXzld8gVE869ofAvEl4E53/mHMrjoyyskZc5FrQVtkHgx5jLukqL1/zlEEsCuAItVlhw2781sNrtb+9AQ+CtqDjw6u5pNt7ImYvuEP/JaMgr9Zfi1nnB7KnyMBUn4meqXuLCAGcMNYa7I/NWxGS3hKNLxHt3UHxmZGa9caqKShIJAs4ImjjGvTzeXHys9RvqmnNl9PFXyFvE8kllvYlp6eX4a7TxWQnvJLyHrAHeCIeSr3ztoYoXBw1cE8zR7UX0dqLyx0WNggg3vYumo8mHqLG4MwIRhyzwMwnREW38yNdm1CDWmnw3myGk7cXi3rg94qN/ZIQ5ZSEhpS0tlxoWnIJ0coav9o3MGaNeOqcNJviH0pUPI7cx4KaMmWZ/XpgIuhQ9iQhg== X-MS-TrafficTypeDiagnostic: SA1PR05MB8344: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bcEU95t/wyxCmFm0l/9E8E3cR3xlnhq95lDzk53SePXwY3+nozUXuJrrmopFlkPe34zrJepKzbHoW/ORnNN0cg9icDlZHaLBRDwnRtm+CLYJR6C2B+TN1z5kiNfouZ31af8R7qmg8z35uIUKhP3pGyvdWuRzGE5yaAuUszesjnUlrpl15v5NHlVnl3teHtlPIluqPper9HcoOr85QbhQabLwL8OOqIS82mz+JPeFvI4UDc177RajkAB94p3mjGlOhaldG9kX9uIqoB+WRAzRxDQ8tjus+dN/5sVnmrXqxct2aCWE3CEOjxuP1195KHVoa9IJlVC6u8EUfxghGMRuo+HuMN1umDaV/4j8QZvsFbBPg+KoSrJq02O78hqzzYZ6ogR5ui4iGXdbNlZLRpTfdFt3R2oPMNpcECXc/nE0pB3W69JNuX7ahXpGTswJtxgj X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4NQvbDz2n+3dbfQC0ZZbvIJZGJOVbigy76JH2V1QH0+YHVHGmjfhXhxfb6WSfDdsjCLVSKRheC09A5M3JaqFpURWRuORCZxEQv23uNTG/m/Hlzm+vEwTcCrr0HztQN3Zy9q8VfrpRE+4UEtQwIxezg== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23434b75-958a-486f-034f-08d980fd36ef X-MS-Exchange-CrossTenant-AuthSource: SN6PR05MB4031.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 14:52:08.8839 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/embedded.scm (gdb-msp430): New variable. --- gnu/packages/embedded.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 8401f68542..f79092de72 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -636,6 +636,17 @@ The supported programming language is C.") (define-public msp430-toolchain (make-msp430-toolchain gcc-msp430 newlib-msp430)) +(define-public gdb-msp430 + (package + (inherit gdb) + (name "gdb-msp430") + (arguments + `(#:configure-flags '("--target=msp430-elf" + "--enable-languages=c,c++" + "--disable-nls" + "--enable-initfini-array") + ,@(package-arguments gdb))))) + (define-public libjaylink (package (name "libjaylink") From patchwork Sun Sep 26 14:51:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 33316 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7559627BBE3; Sun, 26 Sep 2021 15:53:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DC95327BBE1 for ; Sun, 26 Sep 2021 15:53:29 +0100 (BST) Received: from localhost ([::1]:58174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUVWz-00022n-0J for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 10:53:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUVWa-0001DA-IA for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUVWa-0006qH-A3 for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUVWa-0004OC-94 for guix-patches@gnu.org; Sun, 26 Sep 2021 10:53:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48767] [PATCH 6/6] gnu: Add msp430lib. Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 14:53:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48767@debbugs.gnu.org Cc: Morgan Smith Received: via spool by 48767-submit@debbugs.gnu.org id=B48767.163266794216751 (code B ref 48767); Sun, 26 Sep 2021 14:53:04 +0000 Received: (at 48767) by debbugs.gnu.org; 26 Sep 2021 14:52:22 +0000 Received: from localhost ([127.0.0.1]:38509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVt-0004M1-EU for submit@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:22 -0400 Received: from mail-dm6nam10olkn2040.outbound.protection.outlook.com ([40.92.41.40]:34848 helo=NAM10-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUVVo-0004Kr-AT for 48767@debbugs.gnu.org; Sun, 26 Sep 2021 10:52:17 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=loWMXYjpk9aP5fVSGIdCqpgOpGkNmtunXt9QB8DlqHeAlYx6WInik9cZZcv1C0ZLPYlSwB3FAOTm2fQ22b6V0AI+SgACcgA0RmDOkJ9gof4Q4tfYSEC0fFBzSsQGgmZVM/fPPZ7F1mMnl5n4FM/wxD14oRUZIwJ59G4PKgQ9/neicWfjwk+eSSIydWYJCmXC986vmZYx6qCHs/DW+GcwNwv4EIDLi18QwdZ8Cq3sRdrX9lgOPHOUmHEivj1GTQXNvYRyHmbZ72vSThTybReDQq4lqACat3GwxtXZcRvNFT2fvWblcTPyZcjxro0f7YhIv3CroBLS5mEW4DnsjzGhtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lUSZoKXukFJybiKY+enp8dJm9h3UBoHDkspud1c+J5U=; b=e96fiIGIxWiI5cOfQtw7BQdMMXL+igCDV3sCv8cZvD8P8fYS1FACBrzhw/uV+CPPbg6v7vs3lKBvsEllATon6/rtSsnl28dYyjiYhA0c29BCbabPG34EGwjJGU/PwpvforJdF3ZpBaR8guilEHq4IcwPV2IyWWixhk1B/0yvkM8qxSPlyVoOyA+WzGZ7DeLOEAvAoAbEzNiA5QxamM2pcvDttVtlG5eoLg/FQvZIFtgxPcICpOVSXgpawmRUUdejqDpk/MBdONcdpafFX8xJ3x5WyRM9hjsCm7D/NfIceoGxT9ElFVnkPEjb+vVjPeCtf1ScIX/B7bQj46nH1GvdoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lUSZoKXukFJybiKY+enp8dJm9h3UBoHDkspud1c+J5U=; b=VpYrKDWcfbX40jk+Iz698owETB6og76Sr6t6RSbxDgtIKW7pHIK+vJJJdgxzLjiunvWQ2ne6Au1zIYtSE+8bcPWdjhnbxj688bmg1qSHHLGApzNE/qsFjgIs12Mm6ZrWn+3Xn4kNMCcohhHIYgFb+Vgie23aNf6tzI1SuRhURGhq9Lp5ZDf0NLcmy+R403n8hJT85AlAzN/Ln137eeMsC7JXX7YHMuwZn41Gt6axNpnO/np9hPEODkD7RxrQrAgkjFMDN6Krt8nKesG/PVVIEXNOJ2k9M7odoIzh2h9OaLoNKyGpNsV+cDAA8IME12DyT6QRNmZ1L2SUmGqjyvoHVQ== Received: from SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) by SA1PR05MB8344.namprd05.prod.outlook.com (2603:10b6:806:1d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.5; Sun, 26 Sep 2021 14:52:09 +0000 Received: from SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf]) by SN6PR05MB4031.namprd05.prod.outlook.com ([fe80::39d4:1130:ae2e:47bf%7]) with mapi id 15.20.4544.013; Sun, 26 Sep 2021 14:52:09 +0000 From: Morgan.J.Smith@outlook.com Date: Sun, 26 Sep 2021 10:51:55 -0400 Message-ID: X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210926145155.966-1-Morgan.J.Smith@outlook.com> References: <20210926145155.966-1-Morgan.J.Smith@outlook.com> X-TMN: [Cbp/cw46rZCSg9kT3AlOiMJu59hpETqy] X-ClientProxiedBy: YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) To SN6PR05MB4031.namprd05.prod.outlook.com (2603:10b6:805:17::33) X-Microsoft-Original-Message-ID: <20210926145155.966-6-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from workpad.hitronhub.home (170.52.80.188) by YQBPR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Sun, 26 Sep 2021 14:52:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 584d1b87-0642-4361-7d99-08d980fd375e X-MS-Exchange-SLBlob-MailProps: gjx25WM8ZNWLGUKWLgTOPy/PES8jMJOBfcDK9kjF9vjhljjGXbZ1ikmBUyfcdArPfd0OozX+AejcmrJxiTLz4x96gS6eGqGQTr13isWzzhbXMvojJ7ZmSbYeltMn07PxrecUn2nVGaNapt8NIU3PXxiP/O6PrNHzTvzQNGacBxDWKjX9ghYBXd9bE1ypg1kwNAP4Znvshc4ofXpwrz1QfqBIQeLSPpXyMos9KGsehj1hiYN7J22tOtNzb4+S4+9li/btrOKZg5IwMplVOmFcoI/Da66ZYzteIv8idmrEZqZfg3W+IQobKLllTo4yu5LExNl4ina2/tN8eoiQGYZ8/OqhXkRDrab6MIvPYyRWD3J91DHUOhBbpRU2r8YCrIN4zaPFcKB/11B/7z40I50jidSbAwGLuOGJuHU4tIDmrKfDP8Iowiprw9pOwm3VswmlXCQ/LlQFZhtBvU0lYMc0keSsaDx6BfqShErPBpCN2N7fIoR7zqzqO3oNilWmewqM07Vcwjg/hx50emCw6MCNDiFm3gpvXy+8wvUrR+HDND76LdIw/1FXBjwtd8CpxpllpS0C0zv38UNEmM2vqN9MEbjryYoPtlB1tcetJxz7SD8sMIH4+xvem07QrdDo1nLselRfCZUcoIvXt6l86SnZJqOKv02P33uOuPxQ5idYxeimQ2bT9Ix1W4JxW1DqNfXquOfFYLhKQIUsJvyUjCnzIl6lWdjQcNHuWDe3WHTnEQw= X-MS-TrafficTypeDiagnostic: SA1PR05MB8344: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: w/C+Kag8x6cMJY5VyVFJc2gLLNEDbVCW7L3AGRAadMrCwtqUpVaJi9vvOS/GnEMikx8Hn5jWBVvkxFZjgCld15xWulE/LZirqxj1rMPpxuYBHMrqIKP63dSHy4UFK7QGoDXBRrQCmkWbb+WMeI5UbOHG6idlXeSnnKJavKe++AVT9wRZG3uLM/F023mW1TpfDqP6nNcfJmkQi/w7ctLGnybOTB6nPkQS62EJ9YcLWRmgESp+Bg0Lv0iTnYz6xtrQJWKAHZ11S1UEUmQD79iOVObeqYwVJ2nWZs/q0ngfhhuSvawSbyGeUaOcPEJfEMBSywXkbAkyi0wmuEisOtPtdCXQWe2Pwhk8MZEzdb2JNcHcz1EdgnVVDWuO7ECv7MyDxUlD+LklEkDyhc8/0cepX1cZ9qAdFFjdwjJrYkFFEFvX4RxNpkebPXHkasmt4idozPgP2YI0zcD+Jshdt+1JfazX4lsY/RX3szPElQUUS/6L9ak54FItAjvpRcmHChBiY7Kk/XESSVnwfJY+WIhctA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AVWKs89LwH8U6w9e3fnqbdgJlGS5F7JaMleDJHfha3KUWIQEfWLHa5aib9EOx/wi6gWIphGnWKqtMRcFbog0lHn17OrIqAB4OOoSG0JmWW2Ke5aPp3QHJ8mfJ9lcmwlN9l5zEyIIi1LPlh1R42CAvQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 584d1b87-0642-4361-7d99-08d980fd375e X-MS-Exchange-CrossTenant-AuthSource: SN6PR05MB4031.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2021 14:52:09.6804 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8344 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/debug.scm (msp430lib): New variable. --- gnu/packages/debug.scm | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 7363d45c43..263a72e5ce 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -36,6 +36,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages boost) #:use-module (gnu packages bison) #:use-module (gnu packages c) #:use-module (gnu packages check) @@ -789,3 +790,59 @@ debugger with support for programming, disassembly and reverse engineering.") (home-page "https://github.com/dlbeer/mspdebug") (license license:gpl2+))) + +(define (version-with-underscores version) + (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)) + +(define-public msp430lib + (package + (name "msp430lib") + (version "3.15.1.1") + (source (origin + (method url-fetch/zipbomb) + (uri (string-append + "https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPDS/" + (version-with-underscores (version-major+minor+point version)) + "_001/export/MSPDebugStack_OS_Package_" + (version-with-underscores version) ".zip")) + (sha256 + (base32 + "1j5sljqwc20zrb50mrji4mnmw5i680qc7n0lb0pakrrxqjc9m9g3")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list + (string-append "BOOST_DIR=" (assoc-ref %build-inputs "boost")) + (string-append "HIDOBJ=-I" (assoc-ref %build-inputs "hidapi") "/include/hidapi" + " -lhidapi-libusb")) + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'fix-hidapi-includes + (lambda _ + (substitute* + '("ThirdParty/BSL430_DLL/BSL430_DLL/Physical_Interfaces/MSPBSL_PhysicalInterfaceUSB.h" + "DLL430_v3/src/TI/DLL430/HidUpdateManager.cpp") + (("hidapi.h") "hidapi/hidapi.h")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (install-file "libmsp430.so" + (string-append (assoc-ref outputs "out") "/lib"))))))) + (inputs + `(("boost" ,boost) + ("hidapi" ,hidapi) + ("libusb" ,libusb))) + (native-search-paths + (list (search-path-specification + ;; Used by mspdebug. mspdebug has a few different drivers it can + ;; use to interact with MSP430's so this is an optional dependency + (variable "MSPDEBUG_TILIB_PATH") + (files '("lib"))))) + (home-page "https://www.ti.com/tool/MSPDS") + (synopsis "Library used to program and debug MSP430 microcontrollers") + (description "This library facilitates communication between a host computer and certain +MSP430 debuggers. It is also know as @acronym{MSPDS, MSP430 Debug Stack}. +This is an optional dependency of mspdebug (which calls this library +@code{tilib})") + (license license:bsd-3)))