@@ -64,6 +64,10 @@ The boards support the following hardware features:
64
64
+-----------+------------+-------------------------------------+
65
65
| QSPI | on-chip | flash |
66
66
+-----------+------------+-------------------------------------+
67
+ | STM | on-chip | counter |
68
+ +-----------+------------+-------------------------------------+
69
+ | PIT | on-chip | counter |
70
+ +-----------+------------+-------------------------------------+
67
71
68
72
Other hardware features are not currently supported by the port.
69
73
@@ -242,13 +246,11 @@ the terminal:
242
246
243
247
Hello World! s32z2xxdc2
244
248
245
- To debug with Lauterbach TRACE32 softare run instead:
249
+ To debug with Lauterbach TRACE32 software run instead:
246
250
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
252
254
253
255
Flashing
254
256
========
@@ -261,7 +263,8 @@ SRAM and run.
261
263
.. zephyr-app-commands ::
262
264
:zephyr-app: samples/hello_world
263
265
:board: s32z2xxdc2/s32z270/rtu0
264
- :goals: build flash -r trace32
266
+ :goals: build flash
267
+ :flash-args: -r trace32
265
268
:compact:
266
269
267
270
.. note ::
@@ -273,11 +276,9 @@ SRAM and run.
273
276
To imitate a similar behavior using NXP S32 Debug Probe runner, you can run the
274
277
``debug `` command with GDB in batch mode:
275
278
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'
281
282
282
283
RTU and Core Configuration
283
284
==========================
@@ -334,7 +335,7 @@ line:
334
335
335
336
.. code-block :: console
336
337
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>
338
339
339
340
Where ``<elf_path> `` is the path to the Zephyr application ELF in the output
340
341
directory.
0 commit comments