Master Thesis  V1.0
Research and Design of Sensor Node for NMSD Treatment
debug_dbprint.h File Reference

Enable or disable printing to UART with dbprint. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG_DBPRINT   0
 

Detailed Description

Enable or disable printing to UART with dbprint.

This header file should be called in every other file where there are UART dbprint debugging statements. Depending on the value of DEBUG_DBPRINT, UART statements are enabled or disabled.

Version
6.2
Author
Brecht Van Eeckhoudt

License

Copyright (C) 2019 - Brecht Van Eeckhoudt

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License can be found in the LICENSE file along with this source code.


Some methods also use code obtained from examples from Silicon Labs' GitHub. These sections are licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file debug_dbprint.h.

Macro Definition Documentation

◆ DEBUG_DBPRINT

#define DEBUG_DBPRINT   0

Public definition to enable/disable UART debugging

  • 1 - Enable the UART debugging statements.
  • 0 - Remove all UART debugging statements from the uploaded code.

Definition at line 48 of file debug_dbprint.h.