doc: board_porting: add link to west flash/debug info
Makes this page a little more visible to porters. Suggested-by: Lucian Copeland <hierophect@gmail.com> Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
24ce05c841
commit
f2469ce576
1 changed files with 15 additions and 0 deletions
|
@ -173,3 +173,18 @@ peripherals should be disabled by default.
|
|||
- Enable all GPIO ports.
|
||||
|
||||
- If available, enable pinmux and interrupt controller drivers.
|
||||
|
||||
Flash and debug support
|
||||
***********************
|
||||
|
||||
Zephyr supports :ref:`west-build-flash-debug` via west extension commands.
|
||||
|
||||
To add ``west flash`` and ``west debug`` support, you need to add a
|
||||
:file:`board.cmake` file to your board directory which configures a "runner"
|
||||
for your board. (There's nothing special you need to do to get ``west build``
|
||||
support for your board.)
|
||||
|
||||
If you're using one of the :ref:`debug-host-tools` that Zephyr already
|
||||
supports, this should only be a few lines of code. See the flashing and
|
||||
debugging page for more details, and look at :file:`board.cmake` files for
|
||||
other boards which support your runner for examples.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue