Skip to content

Commit

Permalink
Merge pull request #198 from sifive/update-docs
Browse files Browse the repository at this point in the history
Update docs with latest SDK contents
  • Loading branch information
nategraff-sifive authored Mar 7, 2019
2 parents 7b036c0 + 4978fca commit c6c0fbf
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
33 changes: 28 additions & 5 deletions doc/sphinx/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,35 @@ Freedom E SDK comes packaged with the following board support packages under the

- sifive-hifive1

- SiFive HiFive 1 Rev B

- sifive-hifive1-revb

- `SiFive Freedom E310 Arty <https://github.com/sifive/freedom>`_

- freedom-e310-arty

- SiFive CoreIP
- SiFive CoreIP RTL

- coreip-e31
- coreip-s51
- coreip-e20-rtl
- coreip-e21-rtl
- coreip-e24-rtl
- coreip-e31-rtl
- coreip-s51-rtl
- coreip-s54-rtl
- coreip-e76-rtl
- coreip-s76-rtl

- SiFive CoreIP Arty FPGA Evaluation targets

- coreip-e20-arty
- coreip-e21-arty
- coreip-e24-arty
- coreip-e31-arty
- coreip-s51-arty
- coreip-s54-arty
- coreip-e76-arty
- coreip-s76-arty

The board support files for the Freedom Metal library are located entirely
within a single target directory in ``bsp/<target>/``. For example, the HiFive 1
Expand All @@ -38,12 +53,12 @@ and consist of the following:
so that users of Freedom Metal are aware of what features and peripherals
are available on the target.

* ``mee.h``
* ``metal.h``

- The Freedom Metal machine header which is used internally to Freedom Metal
to instantiate structures to support the target device.

* ``mee.lds``
* ``metal.lds``

- The linker script for the target device.

Expand Down Expand Up @@ -75,10 +90,18 @@ Example Programs

The example programs can be found under the ``software/`` directory.

- empty

- An empty project. Serves as a good starting point for your own program.

- hello

- Prints "Hello, World!" to stdout, if a serial device is present on the target.

- example-coreip-welcome

- Prints a welcome message and interacts with the LEDs.

- return-pass

- Returns status code 0 indicating program success.
Expand Down
6 changes: 3 additions & 3 deletions doc/sphinx/userguide/buildingcoreip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To compile a bare-metal RISC-V program:

.. code-block:: bash
make [PROGRAM=hello] [TARGET=coreip-e31] software
make [PROGRAM=hello] [TARGET=coreip-e31-rtl] software
The square brackets in the above command indicate optional parameters for the
Make invocation. As you can see, the default values of these parameters tell
Expand All @@ -18,7 +18,7 @@ Core IP target, you would instead run the command

.. code-block:: bash
make PROGRAM=timer-interrupt TARGET=coreip-s51 software
make PROGRAM=timer-interrupt TARGET=coreip-s51-rtl software
Cleaning a Target Program Build Directory
-----------------------------------------
Expand All @@ -27,5 +27,5 @@ The ``clean`` target can be used to restore a target program's directory to a cl

.. code-block:: bash
make [PROGRAM=hello] [TARGET=coreip-e31] clean
make [PROGRAM=hello] [TARGET=coreip-e31-rtl] clean

0 comments on commit c6c0fbf

Please sign in to comment.