Skip to content

Commit

Permalink
doc: guides: arm: add a brief section for cortex-M linker
Browse files Browse the repository at this point in the history
A small paragraph about linking Cortex-M
applications using GCC.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
  • Loading branch information
ioannisg authored and cfriedt committed Jul 16, 2021
1 parent e0abb2d commit 334e596
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/guides/arch/arm_cortex_m.rst
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,16 @@ into SRAM, without relocating the whole image text
and data sections. More details on the code relocation
feature can be found in :ref:`code_data_relocation`.


Linking Cortex-M applications
*****************************

Most Cortex-M platforms make use of the default Cortex-M
GCC linker script in :file:`include/arch/arm/aarch32/cortex-m/scripts/linked.ld`,
although it is possible for platforms to use a custom linker
script as well.


CMSIS
*****

Expand Down

0 comments on commit 334e596

Please sign in to comment.