@@ -59,12 +59,13 @@ application binary. :ref:`nxp_opensda_firmware` with this application.
59
59
Flashing
60
60
========
61
61
62
- Use the ``make flash `` build target to build your Zephyr application, invoke
63
- the pyOCD flash tool and program your Zephyr application to flash.
62
+ Use the ``make flash `` build target with ``OPENSDA_FW=daplink `` to build your
63
+ Zephyr application, invoke the pyOCD flash tool and program your Zephyr
64
+ application to flash.
64
65
65
66
.. code-block :: console
66
67
67
- $ make FLASH_SCRIPT=pyocd.sh flash
68
+ $ make OPENSDA_FW=daplink flash
68
69
Using /home/maureen/zephyr/boards/arm/frdm_k64f/frdm_k64f_defconfig as base
69
70
Merging /home/maureen/zephyr/tests/include/test.config
70
71
Merging /home/maureen/zephyr/kernel/configs/kernel.config
@@ -130,13 +131,13 @@ the pyOCD flash tool and program your Zephyr application to flash.
130
131
Debugging
131
132
=========
132
133
133
- Use the ``make debug `` build target to build your Zephyr application, invoke
134
- the pyOCD GDB server, attach a GDB client, and program your Zephyr application
135
- to flash. It will leave you at a gdb prompt.
134
+ Use the ``make debug `` build target with `` OPENSDA_FW=daplink `` to build your
135
+ Zephyr application, invoke the pyOCD GDB server, attach a GDB client, and
136
+ program your Zephyr application to flash. It will leave you at a gdb prompt.
136
137
137
138
.. code-block :: console
138
139
139
- $ make DEBUG_SCRIPT=pyocd.sh debug
140
+ $ make OPENSDA_FW=daplink debug
140
141
Using /home/maureen/zephyr/boards/arm/frdm_k64f/frdm_k64f_defconfig as base
141
142
Merging /home/maureen/zephyr/tests/include/test.config
142
143
Merging /home/maureen/zephyr/kernel/configs/kernel.config
@@ -254,13 +255,13 @@ the ``make flash`` build target is not supported.
254
255
Debugging
255
256
=========
256
257
257
- Use the ``make debug `` build target to build your Zephyr application, invoke
258
- the J-Link GDB server, attach a GDB client, and program your Zephyr application
259
- to flash. It will leave you at a gdb prompt.
258
+ Use the ``make debug `` build target with `` OPENSDA_FW=jlink `` to build your
259
+ Zephyr application, invoke the J-Link GDB server, attach a GDB client, and
260
+ program your Zephyr application to flash. It will leave you at a gdb prompt.
260
261
261
262
.. code-block :: console
262
263
263
- $ make DEBUG_SCRIPT =jlink.sh debug
264
+ $ make OPENSDA_FW =jlink debug
264
265
Using /home/maureen/zephyr/boards/arm/frdm_k64f/frdm_k64f_defconfig as base
265
266
Merging /home/maureen/zephyr/tests/include/test.config
266
267
Merging /home/maureen/zephyr/kernel/configs/kernel.config
0 commit comments