xref: /btstack/port/stm32-wb55xx-nucleo-freertos/Inc/ble_dbg_conf.h (revision 0561b2d8d5dba972c7daa57d5e677f7a1327edfd)
1 /**
2  ******************************************************************************
3  * @file    ble_dbg_conf.h
4  * @author  MCD Application Team
5  * @brief   BLE Debug configuration file
6  ******************************************************************************
7  * @attention
8  *
9  * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10  * All rights reserved.</center></h2>
11  *
12  * This software component is licensed by ST under Ultimate Liberty license
13  * SLA0044, the "License"; You may not use this file except in compliance with
14  * the License. You may obtain a copy of the License at:
15  *                             www.st.com/SLA0044
16  *
17  ******************************************************************************
18  */
19 
20 
21 /* Define to prevent recursive inclusion -------------------------------------*/
22 #ifndef __BLE_DBG_CONF_H
23 #define __BLE_DBG_CONF_H
24 
25 /**
26  * Enable or Disable traces from BLE
27  */
28 
29 #define BLE_DBG_DIS_EN          0
30 #define BLE_DBG_HRS_EN          0
31 #define BLE_DBG_EDS_STM_EN      0
32 #define BLE_DBG_LBS_STM_EN      0
33 #define BLE_DBG_SVCCTL_EN       0
34 #define BLE_DBG_CTS_EN          0
35 #define BLE_DBG_HIDS_EN         0
36 #define BLE_DBG_PASS_EN         0
37 #define BLE_DBG_BLS_EN          0
38 #define BLE_DBG_HTS_EN          0
39 #define BLE_DBG_ANS_EN          0
40 #define BLE_DBG_ESS_EN          0
41 #define BLE_DBG_GLS_EN          0
42 #define BLE_DBG_BAS_EN          0
43 #define BLE_DBG_RTUS_EN         0
44 #define BLE_DBG_HPS_EN          0
45 #define BLE_DBG_TPS_EN          0
46 #define BLE_DBG_LLS_EN          0
47 #define BLE_DBG_IAS_EN          0
48 #define BLE_DBG_DTS_EN          0
49 #define BLE_DBG_WSS_EN          0
50 #define BLE_DBG_LNS_EN          0
51 #define BLE_DBG_SCPS_EN         0
52 #define BLE_DBG_P2P_STM_EN      0
53 #define BLE_DBG_CRS_STM_EN      0
54 
55 
56 /**
57  * Macro definition
58  */
59 #if ( BLE_DBG_DIS_EN != 0 )
60 #define BLE_DBG_DIS_MSG             PRINT_MESG_DBG
61 #else
62 #define BLE_DBG_DIS_MSG             PRINT_NO_MESG
63 #endif
64 
65 #if ( BLE_DBG_HRS_EN != 0 )
66 #define BLE_DBG_HRS_MSG             PRINT_MESG_DBG
67 #else
68 #define BLE_DBG_HRS_MSG             PRINT_NO_MESG
69 #endif
70 
71 #if ( BLE_DBG_P2P_STM_EN != 0 )
72 #define BLE_DBG_P2P_STM_MSG         PRINT_MESG_DBG
73 #else
74 #define BLE_DBG_P2P_STM_MSG         PRINT_NO_MESG
75 #endif
76 
77 #if ( BLE_DBG_EDS_STM_EN != 0 )
78 #define BLE_DBG_EDS_STM_MSG         PRINT_MESG_DBG
79 #else
80 #define BLE_DBG_EDS_STM_MSG         PRINT_NO_MESG
81 #endif
82 
83 #if ( BLE_DBG_LBS_STM_EN != 0 )
84 #define BLE_DBG_LBS_STM_MSG         PRINT_MESG_DBG
85 #else
86 #define BLE_DBG_LBS_STM_MSG         PRINT_NO_MESG
87 #endif
88 
89 #if ( BLE_DBG_SVCCTL_EN != 0 )
90 #define BLE_DBG_SVCCTL_MSG          PRINT_MESG_DBG
91 #else
92 #define BLE_DBG_SVCCTL_MSG          PRINT_NO_MESG
93 #endif
94 
95 #if (BLE_DBG_CTS_EN != 0)
96 #define BLE_DBG_CTS_MSG             PRINT_MESG_DBG
97 #else
98 #define BLE_DBG_CTS_MSG             PRINT_NO_MESG
99 #endif
100 
101 #if (BLE_DBG_HIDS_EN != 0)
102 #define BLE_DBG_HIDS_MSG            PRINT_MESG_DBG
103 #else
104 #define BLE_DBG_HIDS_MSG            PRINT_NO_MESG
105 #endif
106 
107 #if (BLE_DBG_PASS_EN != 0)
108 #define BLE_DBG_PASS_MSG            PRINT_MESG_DBG
109 #else
110 #define BLE_DBG_PASS_MSG            PRINT_NO_MESG
111 #endif
112 
113 #if (BLE_DBG_BLS_EN != 0)
114 #define BLE_DBG_BLS_MSG             PRINT_MESG_DBG
115 #else
116 #define BLE_DBG_BLS_MSG             PRINT_NO_MESG
117 #endif
118 
119 #if (BLE_DBG_HTS_EN != 0)
120 #define BLE_DBG_HTS_MSG             PRINT_MESG_DBG
121 #else
122 #define BLE_DBG_HTS_MSG             PRINT_NO_MESG
123 #endif
124 
125 #if (BLE_DBG_ANS_EN != 0)
126 #define BLE_DBG_ANS_MSG             PRINT_MESG_DBG
127 #else
128 #define BLE_DBG_ANS_MSG             PRINT_NO_MESG
129 #endif
130 
131 #if (BLE_DBG_ESS_EN != 0)
132 #define BLE_DBG_ESS_MSG             PRINT_MESG_DBG
133 #else
134 #define BLE_DBG_ESS_MSG             PRINT_NO_MESG
135 #endif
136 
137 #if (BLE_DBG_GLS_EN != 0)
138 #define BLE_DBG_GLS_MSG             PRINT_MESG_DBG
139 #else
140 #define BLE_DBG_GLS_MSG             PRINT_NO_MESG
141 #endif
142 
143 #if (BLE_DBG_BAS_EN != 0)
144 #define BLE_DBG_BAS_MSG             PRINT_MESG_DBG
145 #else
146 #define BLE_DBG_BAS_MSG             PRINT_NO_MESG
147 #endif
148 
149 #if (BLE_DBG_RTUS_EN != 0)
150 #define BLE_DBG_RTUS_MSG            PRINT_MESG_DBG
151 #else
152 #define BLE_DBG_RTUS_MSG            PRINT_NO_MESG
153 #endif
154 
155 #if (BLE_DBG_HPS_EN != 0)
156 #define BLE_DBG_HPS_MSG             PRINT_MESG_DBG
157 #else
158 #define BLE_DBG_HPS_MSG             PRINT_NO_MESG
159 #endif
160 
161 #if (BLE_DBG_TPS_EN != 0)
162 #define BLE_DBG_TPS_MSG             PRINT_MESG_DBG
163 #else
164 #define BLE_DBG_TPS_MSG             PRINT_NO_MESG
165 #endif
166 
167 #if (BLE_DBG_LLS_EN != 0)
168 #define BLE_DBG_LLS_MSG             PRINT_MESG_DBG
169 #else
170 #define BLE_DBG_LLS_MSG             PRINT_NO_MESG
171 #endif
172 
173 #if (BLE_DBG_IAS_EN != 0)
174 #define BLE_DBG_IAS_MSG             PRINT_MESG_DBG
175 #else
176 #define BLE_DBG_IAS_MSG             PRINT_NO_MESG
177 #endif
178 
179 #if (BLE_DBG_WSS_EN != 0)
180 #define BLE_DBG_WSS_MSG             PRINT_MESG_DBG
181 #else
182 #define BLE_DBG_WSS_MSG             PRINT_NO_MESG
183 #endif
184 
185 #if (BLE_DBG_LNS_EN != 0)
186 #define BLE_DBG_LNS_MSG             PRINT_MESG_DBG
187 #else
188 #define BLE_DBG_LNS_MSG             PRINT_NO_MESG
189 #endif
190 
191 #if (BLE_DBG_SCPS_EN != 0)
192 #define BLE_DBG_SCPS_MSG            PRINT_MESG_DBG
193 #else
194 #define BLE_DBG_SCPS_MSG            PRINT_NO_MESG
195 #endif
196 
197 #if (BLE_DBG_DTS_EN != 0)
198 #define BLE_DBG_DTS_MSG             PRINT_MESG_DBG
199 #define BLE_DBG_DTS_BUF             PRINT_LOG_BUFF_DBG
200 #else
201 #define BLE_DBG_DTS_MSG             PRINT_NO_MESG
202 #define BLE_DBG_DTS_BUF             PRINT_NO_MESG
203 #endif
204 
205 #if ( BLE_DBG_CRS_STM_EN != 0 )
206 #define BLE_DBG_CRS_STM_MSG         PRINT_MESG_DBG
207 #else
208 #define BLE_DBG_CRS_STM_MSG         PRINT_NO_MESG
209 #endif
210 
211 
212 #endif /*__BLE_DBG_CONF_H */
213 
214 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
215