Percepio Trace Recorder v4.8.0.hotfix1
Loading...
Searching...
No Matches
trcConfig.h
1/*
2 * Trace Recorder for Tracealyzer v4.8.0.hotfix1
3 * Copyright 2023 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
16extern "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 0
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
212#define TRC_CFG_CTRL_TASK_DELAY 10
213
219#define TRC_CFG_CTRL_TASK_STACK_SIZE 1024
220
236#define TRC_CFG_RECORDER_BUFFER_ALLOCATION TRC_RECORDER_BUFFER_ALLOCATION_STATIC
237
250#define TRC_CFG_MAX_ISR_NESTING 8
251
274#define TRC_CFG_ISR_TAILCHAINING_THRESHOLD 0
275
296#define TRC_CFG_RECORDER_DATA_INIT 1
297
310#define TRC_CFG_RECORDER_DATA_ATTRIBUTE
311
317#define TRC_CFG_USE_TRACE_ASSERT 0
318
319#ifdef __cplusplus
320}
321#endif
322
323#endif /* _TRC_CONFIG_H */