Skip to content

Commit a6065ac

Browse files
author
Liyou Zhou
committed
Add note about debuggin
1 parent daf7beb commit a6065ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,7 @@ The firmware update candidates can be stored on an external sd card. The firmwar
118118
| |
119119
+--------------------------+ <-+ Start of SD card block device (ie 0x0)
120120
```
121+
122+
## Debug
123+
124+
Debug prints can be turned on by enabling the define `#define tr_debug(fmt, ...) printf("[DBG ] " fmt "\r\n", ##__VA_ARGS__)` in `source/bootloader_common.h` and setting the `ARM_UC_ALL_TRACE_ENABLE=1` macro on command line `mbed compile -DARM_UC_ALL_TRACE_ENABLE=1`.

0 commit comments

Comments
 (0)