Debug Serial para programa resetar o buffer quando houver tamanhos errados na mensagem
Dependencies: pulga-lorawan-drv PingPong-P2P-ClickButtonToWork-SX1272
trace_helper.h@15:b27ab44dc2c8, 2021-04-29 (annotated)
- Committer:
- MatteusCarr
- Date:
- Thu Apr 29 16:54:10 2021 +0000
- Revision:
- 15:b27ab44dc2c8
- Parent:
- 9:cf555a570349
Debug travamento para resetar e nao travar
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pancotinho | 9:cf555a570349 | 1 | /** |
pancotinho | 9:cf555a570349 | 2 | * Copyright (c) 2017, Arm Limited and affiliates. |
pancotinho | 9:cf555a570349 | 3 | * SPDX-License-Identifier: Apache-2.0 |
pancotinho | 9:cf555a570349 | 4 | * |
pancotinho | 9:cf555a570349 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
pancotinho | 9:cf555a570349 | 6 | * you may not use this file except in compliance with the License. |
pancotinho | 9:cf555a570349 | 7 | * You may obtain a copy of the License at |
pancotinho | 9:cf555a570349 | 8 | * |
pancotinho | 9:cf555a570349 | 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
pancotinho | 9:cf555a570349 | 10 | * |
pancotinho | 9:cf555a570349 | 11 | * Unless required by applicable law or agreed to in writing, software |
pancotinho | 9:cf555a570349 | 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
pancotinho | 9:cf555a570349 | 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
pancotinho | 9:cf555a570349 | 14 | * See the License for the specific language governing permissions and |
pancotinho | 9:cf555a570349 | 15 | * limitations under the License. |
pancotinho | 9:cf555a570349 | 16 | */ |
pancotinho | 9:cf555a570349 | 17 | |
pancotinho | 9:cf555a570349 | 18 | #ifndef APP_TRACE_HELPER_H_ |
pancotinho | 9:cf555a570349 | 19 | #define APP_TRACE_HELPER_H_ |
pancotinho | 9:cf555a570349 | 20 | |
pancotinho | 9:cf555a570349 | 21 | /** |
pancotinho | 9:cf555a570349 | 22 | * Helper function for the application to setup Mbed trace. |
pancotinho | 9:cf555a570349 | 23 | * It Wouldn't do anything if the FEATURE_COMMON_PAL is not added |
pancotinho | 9:cf555a570349 | 24 | * or if the trace is disabled using mbed_app.json |
pancotinho | 9:cf555a570349 | 25 | */ |
pancotinho | 9:cf555a570349 | 26 | void setup_trace(); |
pancotinho | 9:cf555a570349 | 27 | |
pancotinho | 9:cf555a570349 | 28 | #endif /* APP_TRACE_HELPER_H_ */ |