Percepio Trace Recorder
v4.12.0
Loading...
Searching...
No Matches
trcConfig.h
1
/*
2
* Percepio TraceRecorder for Tracealyzer v4.12.0
3
* Copyright 2025 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
*/
10
11
#ifndef TRC_CONFIG_H
12
#define TRC_CONFIG_H
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
/******************************************************************************
19
* Include of processor header file
20
*
21
* Here you may need to include the header file for your processor. This is
22
* required at least for the ARM Cortex-M port, that uses the ARM CMSIS API.
23
* Try that in case of build problems. Otherwise, remove the #error line below.
24
*****************************************************************************/
25
#error "Trace Recorder: Please include your processor's header file here and remove this line."
26
44
#define TRC_CFG_HARDWARE_PORT TRC_HARDWARE_PORT_NOT_SET
45
55
#define TRC_CFG_SCHEDULING_ONLY 0
56
66
#define TRC_CFG_INCLUDE_MEMMANG_EVENTS 1
67
90
#define TRC_CFG_INCLUDE_USER_EVENTS 1
91
109
#define TRC_CFG_INCLUDE_ISR_TRACING 1
110
126
#define TRC_CFG_INCLUDE_READY_EVENTS 1
127
138
#define TRC_CFG_INCLUDE_OSTICK_EVENTS 1
139
152
#define TRC_CFG_ENTRY_SLOTS 50
153
171
#define TRC_CFG_ENTRY_SYMBOL_MAX_LENGTH 28
172
180
#define TRC_CFG_ENABLE_TASK_MONITOR 0
181
186
#define TRC_CFG_TASK_MONITOR_MAX_TASKS 10
187
197
#define TRC_CFG_ENABLE_STACK_MONITOR 0
198
208
#define TRC_CFG_STACK_MONITOR_MAX_TASKS 10
209
228
#define TRC_CFG_STACK_MONITOR_MAX_REPORTS 1
229
245
#define TRC_CFG_CTRL_TASK_PRIORITY 1
246
260
#define TRC_CFG_CTRL_TASK_DELAY 10
261
267
#define TRC_CFG_CTRL_TASK_STACK_SIZE 256
268
284
#define TRC_CFG_RECORDER_BUFFER_ALLOCATION TRC_RECORDER_BUFFER_ALLOCATION_STATIC
285
298
#define TRC_CFG_MAX_ISR_NESTING 8
299
318
#define TRC_CFG_ISR_TAILCHAINING_THRESHOLD 0
319
340
#define TRC_CFG_RECORDER_DATA_INIT 1
341
354
#define TRC_CFG_RECORDER_DATA_ATTRIBUTE
355
361
#define TRC_CFG_USE_TRACE_ASSERT 0
362
363
#ifdef __cplusplus
364
}
365
#endif
366
367
#endif
/* _TRC_CONFIG_H */
config
trcConfig.h
Generated by
1.15.0