Percepio Trace Recorder
v4.6.6
trcConfig.h
1
/*
2
* Trace Recorder for Tracealyzer v4.6.6
3
* Copyright 2021 Percepio AB
4
* www.percepio.com
5
*
6
* SPDX-License-Identifier: Apache-2.0
7
*
8
* Main configuration parameters for the trace recorder library.
9
* More settings can be found in trcStreamingConfig.h and trcSnapshotConfig.h.
10
*/
11
12
#ifndef TRC_CONFIG_H
13
#define TRC_CONFIG_H
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
/******************************************************************************
20
* Include of processor header file
21
*
22
* Here you may need to include the header file for your processor. This is
23
* required at least for the ARM Cortex-M port, that uses the ARM CMSIS API.
24
* Try that in case of build problems. Otherwise, remove the #error line below.
25
*****************************************************************************/
26
#error "Trace Recorder: Please include your processor's header file here and remove this line."
27
45
#define TRC_CFG_HARDWARE_PORT TRC_HARDWARE_PORT_NOT_SET
46
56
#define TRC_CFG_SCHEDULING_ONLY 0
57
67
#define TRC_CFG_INCLUDE_MEMMANG_EVENTS 1
68
91
#define TRC_CFG_INCLUDE_USER_EVENTS 1
92
112
#define TRC_CFG_INCLUDE_ISR_TRACING 1
113
126
#define TRC_CFG_INCLUDE_READY_EVENTS 1
127
138
#define TRC_CFG_INCLUDE_OSTICK_EVENTS 1
139
149
#define TRC_CFG_ENABLE_STACK_MONITOR 1
150
160
#define TRC_CFG_STACK_MONITOR_MAX_TASKS 10
161
180
#define TRC_CFG_STACK_MONITOR_MAX_REPORTS 1
181
197
#define TRC_CFG_CTRL_TASK_PRIORITY 1
198
209
#define TRC_CFG_CTRL_TASK_DELAY 2
210
216
#define TRC_CFG_CTRL_TASK_STACK_SIZE 1024
217
233
#define TRC_CFG_RECORDER_BUFFER_ALLOCATION TRC_RECORDER_BUFFER_ALLOCATION_STATIC
234
247
#define TRC_CFG_MAX_ISR_NESTING 8
248
271
#define TRC_CFG_ISR_TAILCHAINING_THRESHOLD 0
272
293
#define TRC_CFG_RECORDER_DATA_INIT 1
294
307
#define TRC_CFG_RECORDER_DATA_ATTRIBUTE
308
314
#define TRC_CFG_USE_TRACE_ASSERT 0
315
316
#ifdef __cplusplus
317
}
318
#endif
319
320
#endif
/* _TRC_CONFIG_H */
config
trcConfig.h
Generated by
1.8.18