Trident IoT Zigbee SDK
 
Loading...
Searching...
No Matches
tr_plugin_config.h
Go to the documentation of this file.
1
10#ifndef TR_PLUGIN_CONFIG_H
11#define TR_PLUGIN_CONFIG_H
12
13#include <stdio.h>
14
15#ifdef TR_CLI_PROMPT
16#undef TR_CLI_PROMPT
17#endif
18#define TR_CLI_PROMPT "empty> "
19
20#ifdef TR_CLI_MAX_PROMPT_LEN
21#undef TR_CLI_MAX_PROMPT_LEN
22#endif
23#define TR_CLI_MAX_PROMPT_LEN sizeof(TR_CLI_PROMPT)
24
25// Debug print user configuration
26#ifndef TR_TEST_BUILD
27#define TR_DEBUG_PRINT_COLOR_ENABLED
28#endif
29
30#define TR_DEBUG_PRINT_STACK_ENABLED
31#define TR_DEBUG_PRINT_CORE_ENABLED
32#define TR_DEBUG_PRINT_APP_ENABLED
33#define TR_DEBUG_PRINT_ZCL_ENABLED
34#define TR_DEBUG_PRINT_RX_MSGS_ENABLED
35
36// Debug print color configuration
37#ifdef TR_DEBUG_PRINT_COLOR_ENABLED
38#define TR_DEBUG_PRINT_STACK_COLOR DEBUG_BLUE
39#define TR_DEBUG_PRINT_CORE_COLOR DEBUG_DEFAULT
40#define TR_DEBUG_PRINT_APP_COLOR DEBUG_MAGENTA
41#define TR_DEBUG_PRINT_ZCL_COLOR DEBUG_GREEN
42#define TR_DEBUG_PRINT_RX_MSGS_COLOR DEBUG_YELLOW
43#endif
44
45#endif /* TR_PLUGIN_CONFIG_H */