more rtt software
This commit is contained in:
parent
afc4042375
commit
7784b9c48f
|
@ -44,12 +44,14 @@ $ make LOG=2 BOARD=feather_nrf52840_express all
|
||||||
|
|
||||||
### Logger
|
### 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
|
$ 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
|
||||||
|
|
||||||
`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
|
`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
|
||||||
|
|
Loading…
Reference in New Issue