Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 407690b

Browse files
grgustafJimmy Huang
authored andcommitted
[readme] Correct text about native debug make targets (#1836)
Signed-off-by: Geoff Gustafson <[email protected]>
1 parent d171a03 commit 407690b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,12 @@ PgUp/PgDn. Then Esc again to get back to the latest output (out of "Copy Mode").
272272
#### Debugging
273273

274274
##### Debugging native C code
275-
You can use the commands `make debug` and `make gdb` in two separate terminals
276-
to connect to the device with a debugger. Then you can set breakpoints such as
277-
`b main` and `run` to start debugging as usual with gdb.
275+
See Zephyr's
276+
[supported boards documentation](http://docs.zephyrproject.org/boards/boards.html)
277+
for information on debugging with a specific board. For the Arduino 101, ZJS has
278+
special make targets: use the commands `make adebug` and `make agdb` in two
279+
separate terminals to connect to the device with a debugger. Then you can set
280+
breakpoints such as `b main` and `run` to start debugging as usual with gdb.
278281

279282
##### Debugging JavaScript code
280283
JerryScript has a built-in remote debugger which allows debugging JavaScript

0 commit comments

Comments
 (0)