boards: arm: 96b_wistrio: Use stm32flash runner
Now that stm32flash runner is available, let's use it. Signed-off-by: Kwon Tae-young <tykwon@m2i.co.kr>
This commit is contained in:
parent
ca795434c9
commit
f2c345a407
5
boards/arm/96b_wistrio/board.cmake
Normal file
5
boards/arm/96b_wistrio/board.cmake
Normal file
|
@ -0,0 +1,5 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
board_runner_args(stm32flash "--baud-rate=115200" "--start-addr=0x08000000")
|
||||
|
||||
include(${ZEPHYR_BASE}/boards/common/stm32flash.board.cmake)
|
|
@ -123,16 +123,6 @@ The default SPI mapping is:
|
|||
Programming and Debugging
|
||||
*************************
|
||||
|
||||
Building
|
||||
========
|
||||
|
||||
Here is an example for building the :ref:`hello_world` application.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: 96b_wistrio
|
||||
:goals: build
|
||||
|
||||
Flashing
|
||||
========
|
||||
|
||||
|
@ -161,13 +151,12 @@ More detailed information on activating the ROM bootloader can be found in
|
|||
Chapter 29 of Application note `AN2606`_. The ROM bootloader supports flashing
|
||||
via UART, and I2C protocols.
|
||||
|
||||
For flashing, `stm32flash`_ command line utility can be used. The following
|
||||
command will flash the ``zephyr.bin`` binary to the WisTrio board using UART
|
||||
and starts its execution:
|
||||
Here is an example for building and flashing the :ref:`hello_world` application using `stm32flash`_ command line utility:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ stm32flash -w zephyr.bin -v -g 0x08000000 -e 255 /dev/ttyUSB0
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: 96b_wistrio
|
||||
:goals: build flash
|
||||
|
||||
Using SWD debugger:
|
||||
-------------------
|
||||
|
|
Loading…
Reference in a new issue