SmartSnippets DA1459x SDK
Modules | Macros

Debugging settings. More...

Modules

 SYSTEM_VIEW
 System View configuration settings.
 

Macros

#define dg_configENABLE_DEBUGGER   (1)
 Enable debugger. More...
 
#define dg_configFREERTOS_ENABLE_THREAD_AWARENESS   (1)
 Enable FreeRTOS thread aware debugging. More...
 
#define dg_configENABLE_CMAC_DEBUGGER   (0)
 Enable CMAC debugger. More...
 
#define dg_configUSE_SW_CURSOR   (0)
 Use SW cursor. More...
 
#define dg_configENABLE_MTB   (dg_configIMAGE_SETUP == DEVELOPMENT_MODE)
 Enable Micro Trace Buffer. More...
 
#define dg_configMTB_MASK   (6)
 Micro Trace Buffer mask. More...
 

Detailed Description

Debugging settings.

Macro Definition Documentation

◆ dg_configENABLE_CMAC_DEBUGGER

#define dg_configENABLE_CMAC_DEBUGGER   (0)

Enable CMAC debugger.

APP

◆ dg_configENABLE_DEBUGGER

#define dg_configENABLE_DEBUGGER   (1)

Enable debugger.

APP

◆ dg_configENABLE_MTB

#define dg_configENABLE_MTB   (dg_configIMAGE_SETUP == DEVELOPMENT_MODE)

Enable Micro Trace Buffer.

Note
MTB is available only on Cortex-M33.
APP

◆ dg_configFREERTOS_ENABLE_THREAD_AWARENESS

#define dg_configFREERTOS_ENABLE_THREAD_AWARENESS   (1)

Enable FreeRTOS thread aware debugging.

  • 0 : Disabled
  • 1 : Enabled
APP

◆ dg_configMTB_MASK

#define dg_configMTB_MASK   (6)

Micro Trace Buffer mask.

This value determines the maximum size of the trace buffer in SRAM. A circular buffer of size 2 ^ (dg_configMTB_MASK + 4) in bytes is reserved. The buffer is located at the end of RAM.

Note
The larger the MTB buffer the less RAM for the application is available.
Since the total RAM size is limited, dg_configMTB_MASK should certainly not be set to a value higher than 12 (which corresponds to an MTB buffer of 64 KB), and depending on the code size of the application, the actual maximum allowed value may be even lower!
See also
dg_configENABLE_MTB
APP EXPERT-only

◆ dg_configUSE_SW_CURSOR

#define dg_configUSE_SW_CURSOR   (0)

Use SW cursor.

APP