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