improved arrangement
This commit is contained in:
parent
7c0be04696
commit
a5b60647be
@ -143,8 +143,7 @@ Building
|
|||||||
|
|
||||||
Before building the firmware for a given board, there are two additional steps.
|
Before building the firmware for a given board, there are two additional steps.
|
||||||
These commands should be executed from the root directory of the repository
|
These commands should be executed from the root directory of the repository
|
||||||
(``%clone_location%/circuitpython/``). All other commands are run from the
|
(``~/circuitpython/``).
|
||||||
``%clone_location%/circuitpython/ports/atmel-samd/`` directory.
|
|
||||||
|
|
||||||
1. There are various submodules that reside in different repositories. In order
|
1. There are various submodules that reside in different repositories. In order
|
||||||
to have these submodules locally, you must pull them into your clone, using:
|
to have these submodules locally, you must pull them into your clone, using:
|
||||||
@ -162,14 +161,15 @@ These commands should be executed from the root directory of the repository
|
|||||||
make -C mpy-cross
|
make -C mpy-cross
|
||||||
|
|
||||||
|
|
||||||
|
Build commands are run from the ``~/circuitpython/ports/atmel-samd`` directory.
|
||||||
|
|
||||||
To build for the Arduino Zero:
|
To build for the Arduino Zero:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
To build for other boards you must change it by setting ``BOARD``. This command
|
To build for other boards you must change it by setting ``BOARD``. For example:
|
||||||
is executed from the ``~/circuitpython/ports/atmel-samd`` directory. For example:
|
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user