more rtt software

This commit is contained in:
hathach 2020-04-22 17:13:40 +07:00
parent afc4042375
commit 7784b9c48f
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 3 additions and 1 deletions

View File

@ -44,12 +44,14 @@ $ make LOG=2 BOARD=feather_nrf52840_express all
### Logger
By default log message is printed via on-board UART which is slow and take lots of CPU time comparing to USB speed. If your board support on-board/external JLink debugger, it would be more efficient to use it with RTT protocol for logging. To do that add option `LOGGER=rtt` to build command e.g
By default log message is printed via on-board UART which is slow and take lots of CPU time comparing to USB speed. If your board support on-board/external JLink debugger, it would be more efficient to use it with [RTT protocol](https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/) for logging. To do that add option `LOGGER=rtt` to build command e.g
```
$ make LOG=2 LOGGER=rtt BOARD=feather_nrf52840_express all
```
The log can be retrieved by JLink RTT Viewer/Client/Logger software which is bundled with their JLink driver.
## Flash
`flash` target will use the default on-board debugger (jlink/cmsisdap/stlink/dfu) to flash the binary, please install those support software in advance. Some board use bootloader/DFU via serial which is required to pass to make command