px-fwlib 0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers generated with Doxygen 1.9.2
px_dbg_ft_cfg_template.h
1#ifndef __PX_DBG_FT_CFG_H__
2#define __PX_DBG_FT_CFG_H__
3/* =============================================================================
4 ____ ___ ____ ___ _ _ ___ __ __ ___ __ __ TM
5 | _ \ |_ _| / ___| / _ \ | \ | | / _ \ | \/ | |_ _| \ \/ /
6 | |_) | | | | | | | | | | \| | | | | | | |\/| | | | \ /
7 | __/ | | | |___ | |_| | | |\ | | |_| | | | | | | | / \
8 |_| |___| \____| \___/ |_| \_| \___/ |_| |_| |___| /_/\_\
9
10 Copyright (c) 2021 Pieter Conradie <https://piconomix.com>
11
12 License: MIT
13 https://github.com/piconomix/px-fwlib/blob/master/LICENSE.md
14
15 Title: px_dbg_ft.h : Debug Flow Trace module configuration
16 Author(s): Pieter Conradie
17 Creation Date: 2021-05-31
18
19============================================================================= */
20
21/**
22 * @addtogroup PX_DBG_FT
23 *
24 * @{
25 */
26
27/* _____STANDARD INCLUDES____________________________________________________ */
28
29/* _____PROJECT INCLUDES_____________________________________________________ */
30#include "px_defs.h"
31
32/* _____DEFINITIONS__________________________________________________________ */
33// PX_DBG_FT symbol not defined in Makefile?
34#ifndef PX_DBG_FT
35/// Disable (0) or Enable (1) debug flow trace
36#define PX_DBG_FT 0
37#endif
38
39/// Debug output string buffer size
40#define PX_DBG_FT_CFG_BUF_SIZE 16
41
42/// Customized name values (must be sequential starting at 0, e.g. 0, 1, 2, 3, ...)
43typedef enum
44{
45 PX_DBG_FT_NAME_NONE = 0,
46 PX_DBG_FT_NAME_MAIN = 1,
48
49/// Optional: provide name strings for each value (must be sequential starting at 0, e.g. 0, 1, 2, 3, ...)
50#if 0
51#define PX_LOG_CFG_NAMES() \
52static const char * px_dbg_ft_name_str[] = \
53{ \
54 "", \
55 "MAIN", \
56};
57#endif
58
59/// @}
60#endif
px_dbg_ft_name_t
Customized name values (must be sequential starting at 0, e.g. 0, 1, 2, 3, ...)