From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CHmdBLnQZWVX9AAA9RJhRA:P1 (envelope-from ) for ; Tue, 28 Nov 2023 12:36:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CHmdBLnQZWVX9AAA9RJhRA (envelope-from ) for ; Tue, 28 Nov 2023 12:36:25 +0100 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 C24DB5552C for ; Tue, 28 Nov 2023 12:36:24 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=Au55Qlvy; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701171384; 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=JOhsgnbKn4rQmWin1rIgInxd8nT/JV42ZAIue/VrGdc=; b=SHStuFKmHxI1ruLhBbzbfgbezH6zV4aNqm4JAyHT808Xf5IO2RqhjZZRdUQWDaonE86X5S V5M0i3Nr7C6eqsaUt18rSeA6y2bh0huCy2L8xt/HAIHjeUrIOdpOnABF32F1VQ9iZmsU6/ cjUvLWRCdd6GwqqRPxM0awc73hi/2gpDnzbs+SGs9BJRBmuQ36ZEOjz59J/XqjKY6yZNe6 Z1Ow78G/WlaWyTGt53R3RmCjSvxwU1htPaUkoORV4glP6uTyTgfvjDjnkmJfMpagLy77Dx XtVTxfUlHf1gBhfVQZqj4zth+8iHFv537gu8mudt2xDzjuOdg2jjFRzpToYSOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701171384; a=rsa-sha256; cv=none; b=d2fuiMSPEO3icnyvjO1fxhQBPtvmpFvord88TLM7TDabsYNy26TQMfREKnIvp/+XONx0MM xZnr7TZHi95KWYUBxd4/f92wUuJBizT53i2IGEJ8r7nNcHeN0llt/CrX1SRw6lV7MLwOL9 G87EaGLOLakHt+naerYRW3ruKyBrv/Ft2uzBAOS0eyy071JxYqh9wvdxrElh5ZGE5nYhc9 8qRm5tsfyVSJX/3zBirUjgVb3pJ5JpA4vtgCQCdQN13II7fdThT6yQa5psFtiI4LEBf7xE bq4Pe8o65llaO1dxGaFejP7ZyccAnMMqrxm8gSsfCIzcKYF5aHW7nwcJpYRlIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=Au55Qlvy; dmarc=pass (policy=none) header.from=gnu.org; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wNk-0005Zu-Ox; Tue, 28 Nov 2023 06:36:00 -0500 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 1r7wNi-0005Z6-P3 for guix-patches@gnu.org; Tue, 28 Nov 2023 06:35:58 -0500 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 1r7wNi-00080k-Ga; Tue, 28 Nov 2023 06:35:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7wNm-0003Hu-S0; Tue, 28 Nov 2023 06:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH v1 03/22] guix: Add avr platform. References: <20230929091333.7623-1-jean@foundationdevices.com> In-Reply-To: <20230929091333.7623-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 11:36: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: moreinfo patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.170117135312588 (code B ref 66263); Tue, 28 Nov 2023 11:36:02 +0000 Received: (at 66263) by debbugs.gnu.org; 28 Nov 2023 11:35:53 +0000 Received: from localhost ([127.0.0.1]:45580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wNc-0003Gy-Tu for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:35:53 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:52389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wNa-0003Gk-Pm for 66263@debbugs.gnu.org; Tue, 28 Nov 2023 06:35:51 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40b27b498c3so42393325e9.0 for <66263@debbugs.gnu.org>; Tue, 28 Nov 2023 03:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701171338; x=1701776138; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JOhsgnbKn4rQmWin1rIgInxd8nT/JV42ZAIue/VrGdc=; b=Au55QlvyQBWZSm0pOh4qsVnHpxGqNjKbXKHK+DErrHvsdOJYspQVkbugETPl+x6nb9 ImXmbYytKjqBTmG0Xco+y7DP+9Iro7sKwOJVPpVDywKrVFYAxg/0zpJlf4r41gtjuAuJ IvPCWbMlss8psiCYBxc8F1lBNeVFlCvr2keY6yWFT1nP3VSyubME5Drv1CM4q2mMUSSq XBvfs008sw3tfP6z9zGP0R6zqyrhJ+Woz7AEv0dsSB6gUF2+C5JPvf3oJgPneJGYqCwy 3vLWBlyCOqMsM4Z4RyN1guqq9ZzlPneUzHKXWa2GJZeJZDbOkegVGF8DZcP/14VzbKDd +OOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701171338; x=1701776138; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JOhsgnbKn4rQmWin1rIgInxd8nT/JV42ZAIue/VrGdc=; b=dNtOotRKKMaodKPY0gAbZd2RL++qkbxAOCXq7P8UjQouSM7lkeqfMecU5ibXBNVwO4 /s08RzdvwnrMtKlhHbxo66dcv7/a0ihU57FKOpFyN7pGeI+saMQbH5/otxppzRmfDVEA ytX9UqAtUyytHiroUIXZVaeGsaxINUx1aQqc1bj74XQsQNuSf8aLsXVFoa7vsSuT6Cxq u5WDaZPnOB/5h4kEnYkp5fuIgI2oJOxFdFVpFIL7N98f92NotYSYkQggyL1NxdkAMEqJ SzojQOP2ngvBXMBr12yAwPJ63+WDtOfMPanJK6ZMHTQAaLW/hH2GUquDdTWaTDtO1PJA 9b8Q== X-Gm-Message-State: AOJu0YxScpXS20bYWJnq2GDDhOBjlCegJv9c+0987wFmZQxMwkD2r32r 5q6ly2nEeNREywLVKL/ZcN2Y+yJNBvtxNAA0gL8= X-Google-Smtp-Source: AGHT+IHlRk12kj3+26ZPpczh9ADANrwuSEWONRWw5Ib0o0W4q9mRXoHxdHbBMhLM2kzLMQmLVI4bnQ== X-Received: by 2002:a7b:c7c5:0:b0:40b:2bad:7f61 with SMTP id z5-20020a7bc7c5000000b0040b2bad7f61mr10517304wmk.10.1701171337028; Tue, 28 Nov 2023 03:35:37 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id f7-20020a05600c154700b0040b4cb14d40sm1848769wmg.19.2023.11.28.03.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 03:35:36 -0800 (PST) Date: Tue, 28 Nov 2023 12:34:46 +0100 Message-ID: <20231128113510.11214-3-jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.13 X-Spam-Score: -5.13 X-Migadu-Queue-Id: C24DB5552C X-TUID: pxHLUGpnqepX * Makefile.am (MODULES): Add avr platform module. * doc/guix.texi: Add documentation for avr platform. * guix/platforms/avr.scm (avr): New variable. Change-Id: I0f425eac61a71390b618e093f5a034ad4205a6f4 --- Makefile.am | 1 + doc/guix.texi | 7 +++++++ guix/platforms/avr.scm | 28 ++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 guix/platforms/avr.scm diff --git a/Makefile.am b/Makefile.am index cbc3191dfc..9784b19054 100644 --- a/Makefile.am +++ b/Makefile.am @@ -138,6 +138,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 1fd2e21608..1026e24ebe 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -119,6 +119,7 @@ Copyright @copyright{} 2023 Tanguy Le Carrour@* Copyright @copyright{} 2023 Zheng Junjie@* Copyright @copyright{} 2023 Brian Cully@* Copyright @copyright{} 2023 Felix Lechner@* +Copyright @copyright{} 2023 Foundation Devices, Inc.@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -16699,6 +16700,7 @@ The available targets are: - aarch64-linux-gnu - arm-linux-gnueabihf + - avr - i586-pc-gnu - i686-linux-gnu - i686-w64-mingw32 @@ -45789,6 +45791,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..ba178db6ea --- /dev/null +++ b/guix/platforms/avr.scm @@ -0,0 +1,28 @@ +;;; 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.41.0