From 2d2a0452b9663044cef1ae2121de979ec0276924 Mon Sep 17 00:00:00 2001 From: Piotr Mienkowski Date: Fri, 7 Dec 2018 22:23:32 +0100 Subject: [PATCH] doc: efr32_slwstk6061a: update paragraph 'Flashing' Zephyr SDK 0.9.4 added OpenOCD support for SiLabs EFR32FG1P SoC. This commit updates 'Flashing' paragraph of the board documentation to reflect this change. Signed-off-by: Piotr Mienkowski --- .../efr32_slwstk6061a/doc/efr32_slwstk6061a.rst | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/boards/arm/efr32_slwstk6061a/doc/efr32_slwstk6061a.rst b/boards/arm/efr32_slwstk6061a/doc/efr32_slwstk6061a.rst index 0ea0625fbbf..22766e888f6 100644 --- a/boards/arm/efr32_slwstk6061a/doc/efr32_slwstk6061a.rst +++ b/boards/arm/efr32_slwstk6061a/doc/efr32_slwstk6061a.rst @@ -132,7 +132,7 @@ board. The adaptor provides: - A physical UART connection which is relayed over interface USB Serial port. - An Ethernet connection to support remote debugging. -Flashing an application to EFR32-SLWstk6061A +Flashing an application to EFR32-SLWSTK6061A -------------------------------------------- The sample application :ref:`hello_world` is used for this example. @@ -145,19 +145,15 @@ Build the Zephyr kernel and application: Connect the EFR32-SLWSTK6061A to your host computer using the USB port and you should see a USB Serial Port. Use `J-Link`_ or Silicon Labs Simplicity Studio -to flash the generated zephyr.bin. - -`OpenOCD`_ included in the Zephyr SDK v0.9.3 is too old and does not support the -EFR32FG1P chip, neither does the latest OpenOCD 0.10.0 release. You will need to -compile the newest version of the source code and install the tool yourself. -Modify the following command if you install OpenOCD to a location different than -the default /usr/local/. +to flash the generated zephyr.bin. On a Linux host with Zephyr SDK installed you +can run: .. code-block:: console - cmake -GNinja -DBOARD=efr32_slwstk6061a -DOPENOCD=/usr/local/bin/openocd -DOPENOCD_DEFAULT_PATH=/usr/local/share/openocd/scripts .. ninja flash +The command is using `OpenOCD`_ runner. + Open a serial terminal (minicom, putty, etc.) with the following settings: - Speed: 115200 @@ -201,4 +197,4 @@ the following message: https://www.segger.com/downloads/jlink .. _OpenOCD: - http://openocd.org/ + http://openocd.org/