From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6OvLMhFdGWSkjgAASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 08:30:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qD3OMhFdGWQq6QAA9RJhRA (envelope-from ) for ; Tue, 21 Mar 2023 08:30: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 78817EA1 for ; Tue, 21 Mar 2023 08:30:25 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foxmail.com header.s=s201512 header.b=YLBCZ+i9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=foxmail.com (policy=none); 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=1679383825; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0GsAKgTejAKO4y4VKYOUTD56NL9vn/aQh8i4vmoviWM=; b=FgH+iyoIN8mnG1nAxaDi3J1YHc9zdEHueGFbMGHIjNw8edwZlS3J6tQipcUfksT41KfqdS C5IBTSmQhB5gDlIM+DQK8b/dE+QvJqI1X90kwP3QN3Ofr/6D7BMU6hRAR+TNwz0Hznrkwg Ogh7vzM5P6yjP7+OxzC26ksqsiOGVA3DtI1D6DBWHfWH47oPs1L6ukAum2XMFsInUT5SBG TooeBQfZi09XFVF0ES+Vf8xjI72rly+qaRLXMXdegKWBjGQjDxsbckeOcb8PbogZTVyNQv j5AkXXXF4nkqbOLf1J/M1tRRoJrfHGL/s003PIkVP8hIum1TXXT9i21lkAWJTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foxmail.com header.s=s201512 header.b=YLBCZ+i9; dmarc=fail reason="SPF not aligned (relaxed)" header.from=foxmail.com (policy=none); 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-Seal: i=1; s=key1; d=yhetil.org; t=1679383825; a=rsa-sha256; cv=none; b=Lzq1gWLjD+zJeBa4LRl7bBF/MKztjbwpbTqxBWee7FdbCF/g2+QdbV0gm7pwhEpGGpVklH H4LrlFrVG5Ew1nr26JeXhL67KlbIjUOgXR1iDpD9ATeGzyOKmFH3lqwQVlprNff8snKBP8 D+f7elY9fihFutMyXD978RfDCNPJRGn+axdByM3UAHxjM7b2avR2ukePbEBithzcMXIfGe ImKtIAPA4CUsqBtsMwr7xzw4ZoZiCoAgzM5saGC8T5j3RtLYwM/H0mcbHNygKhRKYJncHF 3QWkwheOQQq1mGXhrMIBNr6tf/EcLREArkp+9pAlwBoe9Dl0zqeF04EEZ83Gwg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peWRZ-0001pQ-P1; Tue, 21 Mar 2023 03:30:06 -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 1peWRW-0001ov-LS for guix-patches@gnu.org; Tue, 21 Mar 2023 03:30:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peWRW-0000mR-Ar for guix-patches@gnu.org; Tue, 21 Mar 2023 03:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peWRV-0007V6-Rp for guix-patches@gnu.org; Tue, 21 Mar 2023 03:30:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62324] gnu: Add emu8051 Resent-From: c4droid Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 07:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 62324@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167938377928774 (code B ref -1); Tue, 21 Mar 2023 07:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Mar 2023 07:29:39 +0000 Received: from localhost ([127.0.0.1]:57445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peWR8-0007U2-L9 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 03:29:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:33306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peWR3-0007Tr-OT for submit@debbugs.gnu.org; Tue, 21 Mar 2023 03:29:37 -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 1peWR3-0001no-FB for guix-patches@gnu.org; Tue, 21 Mar 2023 03:29:33 -0400 Received: from out203-205-221-235.mail.qq.com ([203.205.221.235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peWQx-000878-UQ for guix-patches@gnu.org; Tue, 21 Mar 2023 03:29:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1679383753; bh=0GsAKgTejAKO4y4VKYOUTD56NL9vn/aQh8i4vmoviWM=; h=From:To:Subject:Date; b=YLBCZ+i9YbGvL710iefyyZpbcV3eH9k+0PaB1SEbS0T7JM7UlkKba2Fm0rOU0Rusd fAYIqHrx8vSjV3DaguUCd6RMT8JiG09t3jtY31M5SlCrMlGo+/aWg/mHyonuIgZD3r pi0mZAfAISPE65LxD9+wXOoijL5csjv8UzxRfjq0= Received: from Workstation ([113.200.58.204]) by newxmesmtplogicsvrsza10-0.qq.com (NewEsmtp) with SMTP id 74C2C415; Tue, 21 Mar 2023 15:29:12 +0800 X-QQ-mid: xmsmtpt1679383752tinq3g0mj Message-ID: X-QQ-XMAILINFO: MpO6L0LObisW4p7gUQ0g4wGOUcpwnTU8YncV9nSS0nooBa7yjnrGtwp5l2lR2h ieN7qNd1lywAbcpPNqOqLbGLelMLoCziZScFTUk3A2FffIO+jncdGf5OmxmF78Zbw8ON0vK537Z8 js0AaHiYbUC6lF4fl6eNO+C/8IaiVTmvYQzuSX7LkmjCq36wb6pPzPZPo1pyIYt5GaA5udia3Bjx td3+w0lNV24gmlcgtHqbcyugeaCAXp9E10sYYt3ovpKZKbyVQsUJqr9CnA5mFNXa4VxrHIeO04e8 8YDRFnueq/UcVVqxNN9YfCXbWaqkoB1Kt8NYFTZOyqbCwZL7MPIc0mvMWpcOehP1nhezK4365gcn U4AGhC6/HrDVzWLPVKAxb7PHqhRbf4SKVtbdFhkTvsliw0OfJNrrB110OR75OH51uB6GNMcYP1wY n5SI+zPiNLf5VlNVqZ500tzAveVRaUdS7+V/cco7eiQg1NcG5BrPj5ftofuzHXK2TAuvRPBZOClc DNm8XAlEkcEKwqBy2h8btz+h+LHy4qr5BNRegUg2mORvsI45ewydh6XxhgPEokItYC4ZhPdhIUs6 C2jaR7DfaTSEH4FavDhhMmyjvD9C7s0lLW5CEIkfZHlarVHFnN3eOrB5Zqsbz7b/u2zfXk2a0KYL aAsaaKlFk1VOGSZRVUXMsJAaMZ1mNAF+C9w9sZG/OwyRfRYdZZPFTxNFNkb/S8ibVr6+CreHg6tz UYvcR8gCzC0Te1J9RMBqs+tLl0oSgYf0LzT44InRPooeRZlB0EI1ThIErL2VlQk0JoRljNXHPJCM PnSRnN0Nwrm1DJW+aK62g5ciIB+qJnqOgpFeS+3rJniD2Sh3vTQL5nXaC6S1ryuIo= User-agent: mu4e 1.8.13; emacs 28.2 From: c4droid Date: Tue, 21 Mar 2023 15:20:27 +0800 X-OQ-MSGID: <87jzzain7q.fsf@foxmail.com> MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-emu8051.patch Content-Transfer-Encoding: quoted-printable Content-Description: emu8051 definition Received-SPF: pass client-ip=203.205.221.235; envelope-from=c4droid@foxmail.com; helo=out203-205-221-235.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: X-Migadu-Queue-Id: 78817EA1 X-Spam-Score: -2.35 X-Migadu-Spam-Score: -2.35 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , 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-TUID: Ii/4gAl24lB0 >From 351280951b0ad515dc6b725dca51a986def1f93f Mon Sep 17 00:00:00 2001 From: c4droid Date: Tue, 21 Mar 2023 15:16:10 +0800 Subject: [PATCH] gnu: Add emu8051. * gnu/packages/embedded.scm (emu8051): New variable. --- gnu/packages/embedded.scm | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 8d854c7..50658e4 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -12,6 +12,7 @@ ;;; Copyright =C2=A9 2021 Morgan Smith ;;; Copyright =C2=A9 2022 Mathieu Othacehe ;;; Copyright =C2=A9 2022 Maxim Cournoyer +;;; Copyright =C2=A9 2023 c4droid ;;; ;;; This file is part of GNU Guix. ;;; @@ -1747,3 +1748,43 @@ (define-public ts4900-utils @item tssilomon @end itemize") (license license:bsd-2)))) + +(define-public emu8051 + (let ((commit "5dc681275151c4a5d7b85ec9ff4ceb1b25abd5a8") + (revision "1")) + (package + (name "emu8051") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jarikomppa/emu8051") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xxmkcwvd5fjnhwbricafg4xvxvr8dxhfanyfp4rbksw37dgk2fx"))= )) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;No test suite + #:make-flags (list (string-append "CC=3D" + ,(cc-for-target))) + #:phases (modify-phases %standard-phases + (delete 'configure) ;No ./configure script + (add-before 'build 'patch-ncurses + ;; Replace LDFLAGS -lcurses to -lncurses + (lambda* _ + (substitute* "Makefile" + (("-lcurses") + "-lncurses")))) + (replace 'install + ;; No installation procedure + (lambda _ + (install-file "emu" + (string-append (assoc-ref %outputs "= out") + "/bin"))))))) + (inputs (list ncurses)) + (home-page "https://github.comjarikomppa/emu8051") + (synopsis "8051/8052 emulator with curses-based UI") + (description "emu8051 is a simulator of the 8051/8052 microcontrolle= rs.") + (license license:expat)))) --=20 2.39.2