This links an example from the avr-gcc wiki that shows how to set up
a linker script for the __flashN avr address spaces in
section AVR Named Address Spaces of the GCC user manual.

Johann

--

AVR: Documentation: Web-Link an example ld-Script for Address-Space __flashN.

gcc/
        * doc/extend.texi (AVR Named Address Spaces, Limitations and Caveats):
        Add web-link to the avr-gcc wiki.

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index eb4a42588c7..b9129d1b464 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -1608,6 +1608,8 @@ supports reading across the 64@tie{}KiB flash segment boundaries is
 If you use one of the @code{__flash@var{N}} address spaces
 you must arrange your linker script to locate the
 @code{.progmem@var{N}.data} sections according to your needs.
+For an example, see the
+@w{@uref{https://gcc.gnu.org/wiki/avr-gcc#Address_Spaces,avr-gcc wiki}}

 @item
 Any data or pointers to the non-generic address spaces must

Reply via email to