Skip to content

Commit cfa4f82

Browse files
Dat-NguyenDuykartben
authored andcommitted
boards: s32z: improve boards docs
Document missing supported features and correct the commands used for west flash/debug Signed-off-by: Dat Nguyen Duy <[email protected]>
1 parent 6b6cc6c commit cfa4f82

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

boards/nxp/s32z2xxdc2/doc/index.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ The boards support the following hardware features:
6464
+-----------+------------+-------------------------------------+
6565
| QSPI | on-chip | flash |
6666
+-----------+------------+-------------------------------------+
67+
| STM | on-chip | counter |
68+
+-----------+------------+-------------------------------------+
69+
| PIT | on-chip | counter |
70+
+-----------+------------+-------------------------------------+
6771

6872
Other hardware features are not currently supported by the port.
6973

@@ -242,13 +246,11 @@ the terminal:
242246
243247
Hello World! s32z2xxdc2
244248
245-
To debug with Lauterbach TRACE32 softare run instead:
249+
To debug with Lauterbach TRACE32 software run instead:
246250

247-
.. zephyr-app-commands::
248-
:zephyr-app: samples/hello_world
249-
:board: s32z2xxdc2/s32z270/rtu0
250-
:goals: build debug -r trace32
251-
:compact:
251+
.. code-block:: console
252+
253+
west debug -r trace32
252254
253255
Flashing
254256
========
@@ -261,7 +263,8 @@ SRAM and run.
261263
.. zephyr-app-commands::
262264
:zephyr-app: samples/hello_world
263265
:board: s32z2xxdc2/s32z270/rtu0
264-
:goals: build flash -r trace32
266+
:goals: build flash
267+
:flash-args: -r trace32
265268
:compact:
266269

267270
.. note::
@@ -273,11 +276,9 @@ SRAM and run.
273276
To imitate a similar behavior using NXP S32 Debug Probe runner, you can run the
274277
``debug`` command with GDB in batch mode:
275278

276-
.. zephyr-app-commands::
277-
:zephyr-app: samples/hello_world
278-
:board: s32z2xxdc2/s32z270/rtu0
279-
:goals: build debug --tool-opt='--batch'
280-
:compact:
279+
.. code-block:: console
280+
281+
west debug --tool-opt='--batch'
281282
282283
RTU and Core Configuration
283284
==========================
@@ -334,7 +335,7 @@ line:
334335

335336
.. code-block:: console
336337
337-
west debug --startup-args elfFile=<elf_path> rtu=<rtu_id> core=<core_id> lockstep=<yes/no>
338+
west debug -r trace32 --startup-args elfFile=<elf_path> rtu=<rtu_id> core=<core_id> lockstep=<yes/no>
338339
339340
Where ``<elf_path>`` is the path to the Zephyr application ELF in the output
340341
directory.

0 commit comments

Comments
 (0)