Percepio Trace Recorder
v4.11.0
Loading...
Searching...
No Matches
trcConfig.h
1
/*
2
* Trace Recorder for Tracealyzer v4.11.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
166
#define TRC_CFG_ENTRY_SYMBOL_MAX_LENGTH 28
167
175
#define TRC_CFG_ENABLE_TASK_MONITOR 0
176
181
#define TRC_CFG_TASK_MONITOR_MAX_TASKS 10
182
192
#define TRC_CFG_ENABLE_STACK_MONITOR 0
193
203
#define TRC_CFG_STACK_MONITOR_MAX_TASKS 10
204
223
#define TRC_CFG_STACK_MONITOR_MAX_REPORTS 1
224
240
#define TRC_CFG_CTRL_TASK_PRIORITY 1
241
255
#define TRC_CFG_CTRL_TASK_DELAY 10
256
262
#define TRC_CFG_CTRL_TASK_STACK_SIZE 256
263
279
#define TRC_CFG_RECORDER_BUFFER_ALLOCATION TRC_RECORDER_BUFFER_ALLOCATION_STATIC
280
293
#define TRC_CFG_MAX_ISR_NESTING 8
294
313
#define TRC_CFG_ISR_TAILCHAINING_THRESHOLD 0
314
335
#define TRC_CFG_RECORDER_DATA_INIT 1
336
349
#define TRC_CFG_RECORDER_DATA_ATTRIBUTE
350
356
#define TRC_CFG_USE_TRACE_ASSERT 0
357
358
#ifdef __cplusplus
359
}
360
#endif
361
362
#endif
/* _TRC_CONFIG_H */
config
trcConfig.h
Generated by
1.15.0