1 /**
2   ******************************************************************************
3   * @file    tae32f53xx_dbg_conf.h
4   * @author  MCD Application Team
5   * @brief   Configuration for dbg
6   *
7   ******************************************************************************
8   * @attention
9   *
10   * <h2><center>&copy; Copyright (c) 2020 Tai-Action.
11   * All rights reserved.</center></h2>
12   *
13   * This software is licensed by Tai-Action under BSD 3-Clause license,
14   * the "License"; You may not use this file except in compliance with the
15   * License. You may obtain a copy of the License at:
16   *                        opensource.org/licenses/BSD-3-Clause
17   *
18   ******************************************************************************
19   */
20 
21 /* Define to prevent recursive inclusion -------------------------------------*/
22 #ifndef _TAE32F53XX_DBG_CONF_H_
23 #define _TAE32F53XX_DBG_CONF_H_
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* __cplusplus */
28 
29 /* Includes ------------------------------------------------------------------*/
30 #include <stdio.h>
31 
32 
33 /** @addtogroup TAE32F53xx_Examples
34   * @{
35   */
36 
37 /** @addtogroup TAE32F53xx_Template
38   * @{
39   */
40 
41 
42 /* Exported types ------------------------------------------------------------*/
43 /* Exported constants --------------------------------------------------------*/
44 /** @defgroup TAE32F53xx_Debug_Conf_Exported_Constants TAE32F53xx Debug Conf Exported Constants
45   * @brief    TAE32F53xx Debug Conf Exported Constants
46   * @{
47   */
48 
49 /**
50   * @brief Define TAE_USING_DBG to enable dbg
51   */
52 #define TAE_USING_DBG
53 
54 /**
55   * @brief Define TAE_USING_DBG_COLOR to enable dbg color mode
56   */
57 //#define TAE_USING_DBG_COLOR
58 
59 /**
60   * @}
61   */
62 
63 
64 /* Exported macro ------------------------------------------------------------*/
65 /** @defgroup TAE32F53xx_Debug_Conf_Exported_Macros TAE32F53xx Debug Conf Exported Macros
66   * @brief    TAE32F53xx Debug Conf Exported Macros
67   * @{
68   */
69 
70 /**
71   * @brief Define your own print interface here
72   */
73 #ifdef TAE_USING_DBG
74 #define TAE_DBG_PRINT(fmt, ...)             printf(fmt, ##__VA_ARGS__)
75 #else
76 #define TAE_DBG_PRINT(fmt, ...)
77 #endif
78 
79 /**
80   * @}
81   */
82 
83 
84 /* Exported functions --------------------------------------------------------*/
85 /* Private types -------------------------------------------------------------*/
86 /* Private variables ---------------------------------------------------------*/
87 /* Private constants ---------------------------------------------------------*/
88 /* Private macros ------------------------------------------------------------*/
89 /* Private functions ---------------------------------------------------------*/
90 
91 
92 /**
93   * @}
94   */
95 
96 /**
97   * @}
98   */
99 
100 
101 #ifdef __cplusplus
102 }
103 #endif /* __cplusplus */
104 
105 
106 #endif /* _TAE32F53XX_DBG_CONF_H_ */
107 
108 
109 /************************* (C) COPYRIGHT Tai-Action *****END OF FILE***********/
110 
111