You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.0 KiB
56 lines
2.0 KiB
/**
|
|
* \file
|
|
* \brief Configuration header file for SeggerSystemView
|
|
* Copyright (c) 2020, Erich Styger
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
* This header file is used to configure settings of the Segger SystemView module.
|
|
*/
|
|
#ifndef __McuSystemView_CONFIG_H
|
|
#define __McuSystemView_CONFIG_H
|
|
|
|
#ifndef McuSystemView_CONFIG_GENERATE_QUEUE_EVENTS
|
|
#define McuSystemView_CONFIG_GENERATE_QUEUE_EVENTS (1)
|
|
/*!< 1: events for queues are generated. 0: no queue events are generated */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_GENERATE_ISR_EVENTS
|
|
#define McuSystemView_CONFIG_GENERATE_ISR_EVENTS (1)
|
|
/*!< 1: events for ISR are generated. 0: no ISR events are generated */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_GENERATE_STREAMBUFFER_EVENTS
|
|
#define McuSystemView_CONFIG_GENERATE_STREAMBUFFER_EVENTS (1)
|
|
/*!< 1: events for Stream Buffer are generated. 0: no Stream Buffer events are generated */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_GENERATE_STEPTICK_EVENTS
|
|
#define McuSystemView_CONFIG_GENERATE_STEPTICK_EVENTS (1)
|
|
/*!< 1: events for tickets steps are generated. 0: no ticket step events are generated */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_USE_STATIC_BUFFER
|
|
#define McuSystemView_CONFIG_USE_STATIC_BUFFER (1)
|
|
/*!< 1: Use a static buffer to generate events instead of a buffer on the stack. 0: Use a buffer on the stack */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_POST_MORTEM_MODE
|
|
#define McuSystemView_CONFIG_POST_MORTEM_MODE (0)
|
|
/*!< 1: Enable post mortem analysis. 0: do not use it in post-morem mode */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_RTT_BUFFER_SIZE
|
|
#define McuSystemView_CONFIG_RTT_BUFFER_SIZE (1024)
|
|
/*!< Buffer size of RTT buffer, default 1024 */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_RTT_CHANNEL
|
|
#define McuSystemView_CONFIG_RTT_CHANNEL (1)
|
|
/*!< RTT channel to be used (default 1) */
|
|
#endif
|
|
|
|
#ifndef McuSystemView_CONFIG_SYSVIEW_RAM_BASE
|
|
#define McuSystemView_CONFIG_SYSVIEW_RAM_BASE (0x20000000)
|
|
#endif
|
|
|
|
#endif /* __McuSystemView_CONFIG_H */
|
|
|