You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

60 lines
2.2 KiB

  1. /*******************************************************************************
  2. File Name:
  3. nm_debug.h
  4. Summary:
  5. This module contains debug API declarations.
  6. Description:
  7. This module contains debug API declarations.
  8. *******************************************************************************/
  9. //DOM-IGNORE-BEGIN
  10. /*******************************************************************************
  11. * Copyright (C) 2021 Microchip Technology Inc. and its subsidiaries.
  12. *
  13. * Subject to your compliance with these terms, you may use Microchip software
  14. * and any derivatives exclusively with Microchip products. It is your
  15. * responsibility to comply with third party license terms applicable to your
  16. * use of third party software (including open source software) that may
  17. * accompany Microchip software.
  18. *
  19. * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER
  20. * EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED
  21. * WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A
  22. * PARTICULAR PURPOSE.
  23. *
  24. * IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE,
  25. * INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND
  26. * WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS
  27. * BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE
  28. * FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN
  29. * ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY,
  30. * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
  31. *******************************************************************************/
  32. #ifndef _NM_DEBUG_H_
  33. #define _NM_DEBUG_H_
  34. //#include "wdrv_winc_debug.h" //JFM replaced include by direct definitions below
  35. #define WDRV_DBG_VERBOSE_PRINT(...)
  36. #define WDRV_DBG_TRACE_PRINT(...)
  37. #define WDRV_DBG_INFORM_PRINT(...)
  38. #define WDRV_DBG_ERROR_PRINT(...)
  39. /**
  40. * @defgroup DebugDefines DebugDefines
  41. * @ingroup WlanDefines
  42. */
  43. /**@{*/
  44. #define M2M_ERR(...) WDRV_DBG_ERROR_PRINT(__VA_ARGS__)
  45. #define M2M_INFO(...) WDRV_DBG_INFORM_PRINT(__VA_ARGS__)
  46. #define M2M_DBG(...) WDRV_DBG_VERBOSE_PRINT(__VA_ARGS__)
  47. #define M2M_PRINT(...) WDRV_DBG_VERBOSE_PRINT(__VA_ARGS__)
  48. /**@}*/
  49. #endif /* _NM_DEBUG_H_ */