samples: olimex_stm32_e407: ccm: trivial README.rst fix

Use zephyr-app-commands for portability instead of assuming Make and
Unix, and add a missing "run" goal.

Signed-off-by: Marti Bolivar <marti@opensourcefoundries.com>
This commit is contained in:
Marti Bolivar 2018-05-16 19:14:04 -04:00 committed by Anas Nashif
commit 7588680afb

View file

@ -39,18 +39,12 @@ For example the olimex STM32 E407 DTS file looks like this:
.. literalinclude:: ../../../../boards/arm/olimex_stm32_e407/olimex_stm32_e407.dts
:linenos:
Building
********
Building and Running
********************
.. code-block:: console
$ cd samples/boards/olimex_stm32_e407/ccm
$ mkdir build
$ cmake ../ -DBOARD=olimex_stm32_e407
$ make
Running
*******
.. zephyr-app-commands::
:app: samples/boards/olimex_stm32_e407/ccm
:goals: build flash
The first time the example is run after power on, the output will
look like this: