Skip to content

Commit 681f511

Browse files
author
Arto Kinnunen
committed
Squashed 'features/frameworks/mbed-trace/' changes from 6ced9711c4..b98f6a9050
b98f6a9050 Merge remote-tracking branch 'origin/master' into release_for_mbed_os 7a60a77390 Enable libservice by default fc7503c1a6 Make IPv6 tracing conditional to nanostack-libservce git-subtree-dir: features/frameworks/mbed-trace git-subtree-split: b98f6a9050afd1d0b9354bc82d5d363fff5a1405
1 parent df0d0e1 commit 681f511

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

features/frameworks/mbed-trace/mbed-trace/mbed_trace.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ extern "C" {
6969
#define MBED_CONF_MBED_TRACE_ENABLE 0
7070
#endif
7171

72-
#ifndef MBED_CONF_MBED_TRACE_FEA_IPV6
72+
#ifndef MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT
73+
/* if libservice presence is not configured, enable it by default */
74+
#define MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT 1
75+
#endif
76+
77+
#if !defined(MBED_CONF_MBED_TRACE_FEA_IPV6) && MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT
7378
#define MBED_CONF_MBED_TRACE_FEA_IPV6 1
7479
#endif
7580

features/frameworks/mbed-trace/source/mbed_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#undef MBED_CONF_MBED_TRACE_ENABLE
2222
#endif
2323
#define MBED_CONF_MBED_TRACE_ENABLE 1
24-
#ifndef MBED_CONF_MBED_TRACE_FEA_IPV6
24+
#if !defined(MBED_CONF_MBED_TRACE_FEA_IPV6) && MBED_CONF_NANOSTACK_LIBSERVICE_PRESENT
2525
#define MBED_CONF_MBED_TRACE_FEA_IPV6 1
2626
#endif
2727

0 commit comments

Comments
 (0)