Supachai Vorapojpisut
/
skeletonMbed
mbed LoRaWAN stack
trace_helper.h@2:bbb1f6ce5970, 2018-06-05 (annotated)
- Committer:
- vsupacha
- Date:
- Tue Jun 05 08:29:27 2018 +0000
- Revision:
- 2:bbb1f6ce5970
Add trace feature
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vsupacha | 2:bbb1f6ce5970 | 1 | /** |
vsupacha | 2:bbb1f6ce5970 | 2 | * Copyright (c) 2017, Arm Limited and affiliates. |
vsupacha | 2:bbb1f6ce5970 | 3 | * SPDX-License-Identifier: Apache-2.0 |
vsupacha | 2:bbb1f6ce5970 | 4 | * |
vsupacha | 2:bbb1f6ce5970 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
vsupacha | 2:bbb1f6ce5970 | 6 | * you may not use this file except in compliance with the License. |
vsupacha | 2:bbb1f6ce5970 | 7 | * You may obtain a copy of the License at |
vsupacha | 2:bbb1f6ce5970 | 8 | * |
vsupacha | 2:bbb1f6ce5970 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
vsupacha | 2:bbb1f6ce5970 | 10 | * |
vsupacha | 2:bbb1f6ce5970 | 11 | * Unless required by applicable law or agreed to in writing, software |
vsupacha | 2:bbb1f6ce5970 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
vsupacha | 2:bbb1f6ce5970 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vsupacha | 2:bbb1f6ce5970 | 14 | * See the License for the specific language governing permissions and |
vsupacha | 2:bbb1f6ce5970 | 15 | * limitations under the License. |
vsupacha | 2:bbb1f6ce5970 | 16 | */ |
vsupacha | 2:bbb1f6ce5970 | 17 | |
vsupacha | 2:bbb1f6ce5970 | 18 | #ifndef APP_TRACE_HELPER_H_ |
vsupacha | 2:bbb1f6ce5970 | 19 | #define APP_TRACE_HELPER_H_ |
vsupacha | 2:bbb1f6ce5970 | 20 | |
vsupacha | 2:bbb1f6ce5970 | 21 | /** |
vsupacha | 2:bbb1f6ce5970 | 22 | * Helper function for the application to setup Mbed trace. |
vsupacha | 2:bbb1f6ce5970 | 23 | * It Wouldn't do anything if the FEATURE_COMMON_PAL is not added |
vsupacha | 2:bbb1f6ce5970 | 24 | * or if the trace is disabled using mbed_app.json |
vsupacha | 2:bbb1f6ce5970 | 25 | */ |
vsupacha | 2:bbb1f6ce5970 | 26 | void setup_trace(); |
vsupacha | 2:bbb1f6ce5970 | 27 | |
vsupacha | 2:bbb1f6ce5970 | 28 | #endif /* APP_TRACE_HELPER_H_ */ |