From f45383993efe41542c0de2ca030a1ff05f765b6e Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Mon, 29 Apr 2019 14:49:56 -0700 Subject: Update Metal and build scripts for platform header Signed-off-by: Nathaniel Graff --- doc/sphinx/contents.rst | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'doc/sphinx') diff --git a/doc/sphinx/contents.rst b/doc/sphinx/contents.rst index d0d7cc5..cad7f78 100644 --- a/doc/sphinx/contents.rst +++ b/doc/sphinx/contents.rst @@ -64,9 +64,16 @@ and consist of the following: - The Freedom Metal machine header which is used internally to Freedom Metal to instantiate structures to support the target device. -* ``metal.lds`` +* ``metal-platform.h`` - - The linker script for the target device. + - The Freedom Metal platform header which is used internally to Freedom Metal + as the source for each device's memory-mapped base address, memory-mapped + size, properties, and memory-mapped register offsets. + +* ``metal.%.lds`` + + - Linker scripts for the target device. Scripts other than ``metal.default.lds`` + are used for alternative memory layouts. * ``openocd.cfg`` (for development board and FPGA targets) @@ -74,7 +81,8 @@ and consist of the following: * ``settings.mk`` - - Used to set ``-march`` and ``-mabi`` arguments to the RISC-V GNU Toolchain. + - Used to set ``-march`` and ``-mabi`` arguments to the RISC-V GNU Toolchain + as well as configure target-specific build steps. Freedom Metal ------------- -- cgit v1.2.3