]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pru: Document how -mmcu option uses MCU specs
authorDimitar Dimitrov <dimitar@dinux.eu>
Thu, 1 Feb 2024 17:19:54 +0000 (19:19 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Wed, 21 Feb 2024 08:35:40 +0000 (10:35 +0200)
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 <dimitar@dinux.eu>
gcc/doc/invoke.texi

index 69020245b2565cb5fbe59255127a405fb3a454f7..d75b28484bb2845a00b6dbd83e3bcbd2246666db 100644 (file)
@@ -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