From 0206feb6bc111207d0970b144c7fc5abca7636f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Tue, 17 Mar 2020 16:38:22 -0700 Subject: [PATCH] doc: west: add pointer to board porting guide for flash/debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The board porting guide now has useful information on supporting flash/debug commands. Link to it from the top of the page describing these commands to hopefully make it easier to find. Signed-off-by: Martí Bolívar --- doc/guides/west/build-flash-debug.rst | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/doc/guides/west/build-flash-debug.rst b/doc/guides/west/build-flash-debug.rst index 04a59710a82..ed3b0c47a10 100644 --- a/doc/guides/west/build-flash-debug.rst +++ b/doc/guides/west/build-flash-debug.rst @@ -7,12 +7,8 @@ Zephyr provides several :ref:`west extension commands ` for building, flashing, and interacting with Zephyr programs running on a board: ``build``, ``flash``, ``debug``, ``debugserver`` and ``attach``. -These use information stored in the CMake cache [#cmakecache]_ to -flash or attach a debugger to a board supported by Zephyr. The exception is -starting a clean build (i.e. with no previous artifacts) which will in fact -run CMake thus creating the corresponding cache. -The CMake build system commands with the same names (i.e. all but ``build``) -directly delegate to West. +For information on adding board support for the flashing and debugging +commands, see :ref:`flash-and-debug-support` in the board porting guide. .. Add a per-page contents at the top of the page. This page is nested deeply enough that it doesn't have any subheadings in the main nav. @@ -612,12 +608,6 @@ commands do it). .. rubric:: Footnotes -.. [#cmakecache] - - The CMake cache is a file containing saved variables and values - which is created by CMake when it is first run to generate a build - system. See the `cmake(1)`_ manual for more details. - .. _cmake(1): https://cmake.org/cmake/help/latest/manual/cmake.1.html