Skip to content

Commit 6014c83

Browse files
Antti KauppilaArto Kinnunen
Antti Kauppila
authored and
Arto Kinnunen
committed
Moved ns_trace.h from nanostack-libservice
1 parent 6effd3d commit 6014c83

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

ns_trace.h

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// ----------------------------------------------------------------------------
2+
// Copyright 2015-2021 Pelion.
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
// ----------------------------------------------------------------------------
18+
19+
/**
20+
* \file ns_trace.h
21+
* Trace interface abstraction for NanoStack library as well as application.
22+
*
23+
* This file was moved to this library for legacy compatibility
24+
* Actual used trace library is mbed-trace. For usage details check mbed_trace.h.
25+
*
26+
*/
27+
#ifndef NS_TRACE_H_
28+
#define NS_TRACE_H_
29+
30+
#if defined(HAVE_DEBUG) && !defined(FEA_TRACE_SUPPORT)
31+
#define FEA_TRACE_SUPPORT
32+
#endif
33+
34+
#include "ns_types.h"
35+
#include "mbed-trace/mbed_trace.h"
36+
37+
#endif /* NS_TRACE_H_ */

0 commit comments

Comments
 (0)