Skip to content

Commit a1c4db2

Browse files
author
Arto Kinnunen
committed
Merge commit '33b0820afc856ebe8808cb0a8c1071bc74780743'
* commit '33b0820afc856ebe8808cb0a8c1071bc74780743': Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from af5f59c..b731d95
2 parents 8e3df07 + 33b0820 commit a1c4db2

File tree

1 file changed

+1
-0
lines changed
  • features/FEATURE_COMMON_PAL/mbed-trace

1 file changed

+1
-0
lines changed

features/FEATURE_COMMON_PAL/mbed-trace/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ The purpose of the library is to provide a light, simple and general tracing sol
5252
* With yotta: set `YOTTA_CFG_MBED_TRACE_FEA_IPV6 = 0`.
5353
* With mbed OS 5: set `MBED_CONF_MBED_TRACE_FEA_IPV6 = 0`.
5454
* If thread safety is needed, configure the wait and release callback functions before initialization to enable the protection. Usually, this needs to be done only once in the application's lifetime.
55+
* If [helping functions](#helping-functions) are used the mutex must be **recursive** (counting) so it can be acquired from a single thread repeatedly.
5556
* Call the trace initialization (`mbed_trace_init`) once before using any other APIs. It allocates the trace buffer and initializes the internal variables.
5657
* Define `TRACE_GROUP` in your source code (not in the header!) to use traces. It is a 1-4 characters long char-array (for example `#define TRACE_GROUP "APPL"`). This will be printed on every trace line.
5758

0 commit comments

Comments
 (0)