SmartSnippets DA1459x SDK
Macros

System View configuration settings. More...

Macros

#define dg_configSYSTEMVIEW   (0)
 Segger's System View. More...
 
#define dg_configSYSTEMVIEW_STACK_OVERHEAD   (0)
 Stack size overhead when System View API is used. More...
 
#define dg_configSYSTEMVIEW_MONITOR_BLE_ISR   (1)
 Let System View monitor BLE related ISRs (BLE_GEN_Handler / BLE_WAKEUP_LP_Handler). More...
 
#define dg_configSYSTEMVIEW_MONITOR_CPM_ISR   (1)
 Let System View monitor CPM related ISRs (SWTIM1_Handler / WKUP_GPIO_Handler). More...
 
#define dg_configSYSTEMVIEW_MONITOR_USB_ISR   (1)
 Let System View monitor USB related ISRs (USB_Handler / VBUS_Handler). More...
 

Detailed Description

System View configuration settings.

Macro Definition Documentation

◆ dg_configSYSTEMVIEW

#define dg_configSYSTEMVIEW   (0)

Segger's System View.

When enabled the application should also call SEGGER_SYSVIEW_Conf() to enable system monitoring. configTOTAL_HEAP_SIZE should be increased by dg_configSYSTEMVIEW_STACK_OVERHEAD bytes for each system task. For example, if there are 8 system tasks configTOTAL_HEAP_SIZE should be increased by (8 * dg_configSYSTEMVIEW_STACK_OVERHEAD) bytes.

  • 0 : Disabled
  • 1 : Enabled
APP

◆ dg_configSYSTEMVIEW_MONITOR_BLE_ISR

#define dg_configSYSTEMVIEW_MONITOR_BLE_ISR   (1)

Let System View monitor BLE related ISRs (BLE_GEN_Handler / BLE_WAKEUP_LP_Handler).

  • 0 : Disabled
  • 1 : Enabled
APP EXPERT-only

◆ dg_configSYSTEMVIEW_MONITOR_CPM_ISR

#define dg_configSYSTEMVIEW_MONITOR_CPM_ISR   (1)

Let System View monitor CPM related ISRs (SWTIM1_Handler / WKUP_GPIO_Handler).

  • 0 : Disabled
  • 1 : Enabled
APP EXPERT-only

◆ dg_configSYSTEMVIEW_MONITOR_USB_ISR

#define dg_configSYSTEMVIEW_MONITOR_USB_ISR   (1)

Let System View monitor USB related ISRs (USB_Handler / VBUS_Handler).

  • 0 : Disabled
  • 1 : Enabled
APP EXPERT-only

◆ dg_configSYSTEMVIEW_STACK_OVERHEAD

#define dg_configSYSTEMVIEW_STACK_OVERHEAD   (0)

Stack size overhead when System View API is used.

Threads' and IRQ handlers' stack size will be increased by dg_configSYSTEMVIEW_STACK_OVERHEAD bytes to avoid stack overflow when System View is monitoring the system.

APP EXPERT-only