From patchwork Wed Feb 21 08:36:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 1901911 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=dinux.eu header.i=@dinux.eu header.a=rsa-sha256 header.s=default header.b=f5eWgfnv; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TfqRx3C2Yz20RF for ; Wed, 21 Feb 2024 19:38:35 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 01B4B3858D3C for ; Wed, 21 Feb 2024 08:38:33 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 6C9793858D20 for ; Wed, 21 Feb 2024 08:36:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C9793858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6C9793858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.174.156.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708504617; cv=none; b=fJt5mLjpb3r22PodxVnJ44Q0p4jWOnlzpeW/W38PjvK4r5hVyReRKBMXvxxTwFaU9Z15EWS9dZgSoynjxQDVK9/j5//MeqWpqlHEiDoQMt4tlOYGAipttixEp9bcFZmRgTxHUXP9p+bx2b03kqnvNW8vSuXIh46RsXlqDba/AUE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708504617; c=relaxed/simple; bh=S4rMoRrrougtnjElfhdKH8ZhQbLkUn3MtlKf1bjqaVc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GGl754BIX9uZQMFHpVLCSYW7Q6ZWYWSTDEIgedf5ZxhsgvrYutT/JLmRQB9z2YSSDk6yP64owDAe092btX1nRTKSBf5lbEmlqLNvXYBR3Osg/YfeMVI5LobZe6blwXnN7hRhpWnbFx1mUE4oAK+dmu4SkGJBI51DlPaviUJtxpA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IrHow0FY/Qx0oPcrIcHMeFW4TxHBkRjxnVLRhk5wuwM=; b=f5eWgfnv4RXFpvEd5Y8p/k5jx7 Q3lex5Qd2y22U6VRg+nNHqARK8JWGsUug09YHjM57yLNSsgY2WUbUCmr5eXgimfon5jsj9VY3p0yl 1uNf+Nu3nuVJhmwEO1p830JHtdcfcGSHKfdYy64JfCkkQV3RhKrDeBycEAwKT0BYQjr6R64aFWWcj SC+/L1xjtEa3RbVxsYoVHSBMVmmm6mnFe+ZVG7fTvBtxtW0oZVkB6XR9krXNA8y5mFKoEMCeljPQI D6KCSpCfgoBKOMG2xEG2/DwWVou54CDWRi3wIwaG/tSrQ6UDCAaEgg6YoijHRgshA0O9dKsDv+4Z2 7GPzp58A==; Received: from 95-42-20-142.ip.btc-net.bg ([95.42.20.142]:33620 helo=kendros.lan) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rci5v-0004Iy-1x; Wed, 21 Feb 2024 10:36:50 +0200 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov Subject: [committed] pru: Document how -mmcu option uses MCU specs Date: Wed, 21 Feb 2024 10:36:37 +0200 Message-ID: <20240221083637.1543198-2-dimitar@dinux.eu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240221083637.1543198-1-dimitar@dinux.eu> References: <20240221083637.1543198-1-dimitar@dinux.eu> MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org The plan to maintain PRU hardware-specific specs in newlib tree has been abandoned in favour of a new distinct GIT project. Update the documentation accordingly. gcc/ChangeLog: * doc/invoke.texi (-mmcu): Add information about MCU specs. Signed-off-by: Dimitar Dimitrov --- gcc/doc/invoke.texi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 69020245b25..d75b28484bb 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -30106,8 +30106,14 @@ This is already the norm for most firmware projects. @opindex mmcu @item -mmcu=@var{mcu} -Specify the PRU MCU variant to use. Check Newlib for the exact list of -supported MCUs. +Specify the PRU hardware variant to use. A correspondingly named +spec file would be loaded, passing the memory region sizes to +the linker and defining hardware-specific C macros. + +Newlib provides only the @code{sim} spec, intended for running +regression tests using a simulator. Specs for real hardware can be +obtained by installing the +@w{@uref{https://github.com/dinuxbg/gnuprumcu/,GnuPruMcu}} package. @opindex mno-relax @item -mno-relax