From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2059) id 068CE3858D28; Wed, 21 Feb 2024 08:36:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 068CE3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708504580; bh=9U3bQfu1BuMFL4n/kjUlhMbZGEAho6YwCFTrdScXeIE=; h=From:To:Subject:Date:From; b=RLCq7M76E1U0uzVLGJgflbZboxoLybdIz/JtQFoIJWzT167SFjCROQQ/pri/34FW5 Cy0VhfUwXEznWlqZreAnImCZudmqQGJeFiQyW23qjROsO90jnooIUaFeWx3GC03YK7 JingqWb6XbFdYZd6DxrI56jiAWEP/DVb9gylIA20= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Dimitar Dimitrov To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9094] pru: Document how -mmcu option uses MCU specs X-Act-Checkin: gcc X-Git-Author: Dimitar Dimitrov X-Git-Refname: refs/heads/master X-Git-Oldrev: e3dfc150512c331805b8701e9117bd711025800a X-Git-Newrev: 608d40fde0c7e7e72a0acf4f262bf76c16443be0 Message-Id: <20240221083620.068CE3858D28@sourceware.org> Date: Wed, 21 Feb 2024 08:36:19 +0000 (GMT) List-Id: https://gcc.gnu.org/g:608d40fde0c7e7e72a0acf4f262bf76c16443be0 commit r14-9094-g608d40fde0c7e7e72a0acf4f262bf76c16443be0 Author: Dimitar Dimitrov Date: Thu Feb 1 19:19:54 2024 +0200 pru: Document how -mmcu option uses MCU specs 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 Diff: --- 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 69020245b256..d75b28484bb2 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