From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KJB5D4uWFmW3kAAAG6o9tA:P1 (envelope-from ) for ; Fri, 29 Sep 2023 11:19:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KJB5D4uWFmW3kAAAG6o9tA (envelope-from ) for ; Fri, 29 Sep 2023 11:19:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1923A55877 for ; Fri, 29 Sep 2023 11:19:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=aFvloha5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695979147; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=43nNmeMVytxt9k6yfDIf0x1/PoQOFB2ENxLRaFX1usc=; b=Ow1qVsLFdiRMreymw5zAZZBG9DqrqmIcFkg1TLx+CvSIm+cs6MCNdvIe566skL/6Ex2xMc x21OUAKzt3bnBTZGqyPs8KS06cXts8a6IEMrRXEC3ARu9piZGg5HWc7+WR3t2SGkyex8co y7nVo+Sain8VcGYVNdDAWQvfdvJb+lxdUpkFrB5dC+1AjS/0UjL1kusV9yiMsDE4eayY4Y sOykxHLXG4iDfIHgFYOdFYls0AEkmNdoUyT3UC4P7hUEJyc2np0s+J9I6pTlInxyVcmdIS rhgyaO3Hhhoko80mJEZUR5lMAZjwAdF121KLb3HxZSDOaNAojk+HRhOC3JZDYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695979147; a=rsa-sha256; cv=none; b=n6FSvuVXXmuVsAZ7BNLofDUwU6e890CK9Lf+GBt27f2sMSU7bAJVVhYKc/6jLR1UeIVTNT eSRrU5nWU1RD9JzGtGogIZSduMYMLGxgt75bdG6F2lW7sRYbUz+60ztp49pvh8UpnfcMl3 MX69QA+ADG2wW0PdR5FMHWX0RIdJ1YqUMZKb8CJAD0G9sO8BkEgeF9jiwiqkr1g1NHY8Ot mIOCmB4EaCzcOtIqyAfE/DN1pHDSquOswoDCXNfi1xtX6cuhUFggYkECj9nxfLcg32eJC4 HDPAs1bzJB2Ri4VgCsNmfZ3J9Cjr6d5fm1m4AePWun17kgWPFKQ+5dmG5jeYGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=aFvloha5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm9ds-0005xd-A3; Fri, 29 Sep 2023 05:18:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qm9dF-0005Tv-1A for guix-patches@gnu.org; Fri, 29 Sep 2023 05:18:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qm9d8-0003uJ-2R for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm9dK-0004lA-SI; Fri, 29 Sep 2023 05:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 03/23] gnu: Add avr platform. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 29 Sep 2023 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com X-Debbugs-Original-Xcc: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169597903418007 (code B ref 66263); Fri, 29 Sep 2023 09:18:02 +0000 Received: (at 66263) by debbugs.gnu.org; 29 Sep 2023 09:17:14 +0000 Received: from localhost ([127.0.0.1]:55178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cX-0004gB-LC for submit@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:14 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:53291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cI-0004dn-FQ for 66263@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:09 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-406402933edso55389885e9.2 for <66263@debbugs.gnu.org>; Fri, 29 Sep 2023 02:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695978997; x=1696583797; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=43nNmeMVytxt9k6yfDIf0x1/PoQOFB2ENxLRaFX1usc=; b=aFvloha5fSGXS1YGq8wTFq5N+4MZr8cieVb2j7BhyGt0qa99AI77LtR5y9eST6DfGJ HyzJvv96arByRpCPO7XCm9bKyLqjYFzbmfwGDJOQ5U/Idv4Oc/qowB3jEGk9EQL8FvLd gBM8JCWnpxOT79T1P3+n8+XLuf6aREp1fh0y/fHReaeXh0Le/DQHTU9xiMfEYfNCHL2W u0ekVdm3ZrVXAIpIWN1/P5z05kDZGTCs1Z6GCaSTtPYSyl9mLnVyv2UatAc6dPdqqmoI BOWsdk6VLzHVI5ipxQpuAXWUf2QzpcgSNi3BmFnvmzA69fdlRoCq2TqZ6o6m5a0cUhh8 grZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695978997; x=1696583797; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=43nNmeMVytxt9k6yfDIf0x1/PoQOFB2ENxLRaFX1usc=; b=DhartgpmGrSMomY9Nr4mLryu0AeT0YiAkAo9wcwJArTWfwmr/JYtihVNsM1SmEmp8p gaRE7pyRnQkNP6Ym1Ygc4DPCjrUN+N9MN95OXszssLklNgO+hTCL1V/z8u7N0Y91PpbX 75QMi2/ubVQTUM6UJUr/xZDRxnRNb9CXImLTzOi6Wq2clVRnXcliePn/2Fj1SSxuprnl 2uGoi+aYt9gOknBuD4URvwNN1dVpMCr435haHzpYZEndB7BMqBNKMORLiCRgSFnS375J +Ua9canzrNHXio8a+U9uhzbWyRdNIvkX/4lRUfgGOvSz3bvnIYFkJKH6mdjbmM/gXjSn he1Q== X-Gm-Message-State: AOJu0YxyjWNRSZsEQ2qxtFilq6rotmhoeZ/WWzKMVfALJjawPcp0rLc2 RX/z32RcwSX4TKAo6yvCEIgRkYLNoqns4G/G6UIaKg== X-Google-Smtp-Source: AGHT+IHd8nfOXYN0HRoHcmXLek9QhT8Y30H85VD2sOKKvYgG3tisRC/FM1myQ1Qur5Cj6Zbpy5s2Rg== X-Received: by 2002:a05:600c:3786:b0:405:359a:c965 with SMTP id o6-20020a05600c378600b00405359ac965mr3308022wmr.4.1695978996822; Fri, 29 Sep 2023 02:16:36 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id k15-20020a7bc40f000000b004013797efb6sm1020933wmi.9.2023.09.29.02.16.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:16:36 -0700 (PDT) Date: Fri, 29 Sep 2023 11:16:07 +0200 Message-Id: <20230929091627.7820-3-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929091627.7820-1-jean@foundationdevices.com> References: <20230929091627.7820-1-jean@foundationdevices.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.24 X-Spam-Score: -5.24 X-Migadu-Queue-Id: 1923A55877 X-TUID: xezXjODbDqZM * Makefile.am (MODULES): Add avr platform module. * doc/guix.texi: Add documentation for avr platform. * guix/platforms/avr.scm (avr): New variable. --- Makefile.am | 1 + doc/guix.texi | 6 ++++++ guix/platforms/avr.scm | 29 +++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 guix/platforms/avr.scm diff --git a/Makefile.am b/Makefile.am index 8924974e8a..c11a1c538d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -136,6 +136,7 @@ MODULES = \ guix/ipfs.scm \ guix/platform.scm \ guix/platforms/arm.scm \ + guix/platforms/avr.scm \ guix/platforms/mips.scm \ guix/platforms/powerpc.scm \ guix/platforms/riscv.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 46591b2f64..70cde9c53c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16665,6 +16665,7 @@ The available targets are: - aarch64-linux-gnu - arm-linux-gnueabihf + - avr - i586-pc-gnu - i686-linux-gnu - i686-w64-mingw32 @@ -45332,6 +45333,11 @@ Platform targeting x86 CPU running GNU/Hurd (also referred to as ``GNU''). @end defvar +@defvar avr +Platform targeting AVR CPUs without an operating system, with run-time support +from AVR Libc. +@end defvar + @node System Images @chapter Creating System Images diff --git a/guix/platforms/avr.scm b/guix/platforms/avr.scm new file mode 100644 index 0000000000..b6ca6e4a10 --- /dev/null +++ b/guix/platforms/avr.scm @@ -0,0 +1,29 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Foundation Devices, Inc. +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix platforms avr) + #:use-module (guix platform) + #:use-module (guix records) + #:export (avr)) + +(define avr + (platform + (target "avr") + (system #f) + (glibc-dynamic-linker #f))) + -- 2.34.1