SmartSnippets DA1459x SDK
Modules | Files | Macros
Default Configuration

Middleware default configuration values. More...

Modules

 Adapters enabled by default
 Adapter selection.
 
 Console I/O Settings
 Console IO configuration settings.
 
 Debug Settings
 

Files

file  middleware_defaults.h
 Middleware. System Configuration file default values.
 

Macros

#define dg_configUSE_DGTL   (0)
 Enable D.GTL interface. More...
 
#define dg_configUSE_SYS_BOOT   (0)
 When set to 1, the sys adc service is used to monitor gpadc and support: More...
 
#define dg_configSYS_TRNG_ENTROPY_SRC_ADDR   MEMORY_CMAC_CACHERAM_BASE
 When set to 1, the sys trng service is enabled. More...
 
#define dg_configUSE_SYS_DRBG_BUFFER_LENGTH   (30)
 The length of the buffer which holds the random numbers. More...
 
#define dg_configUSE_SYS_DRBG_BUFFER_THRESHOLD   (24)
 Threshold (index) in the buffer which holds the random numbers. When the buffer index reaches the threshold or becomes greater than the threshold a request for buffer update will be issued. More...
 
#define dg_configUSE_STDLIB_RAND   (0)
 When set to 1, the ChaCha20 random number generator is enabled. More...
 

Detailed Description

Middleware default configuration values.

The following tags are used to describe the type of each configuration option.

Macro Definition Documentation

◆ dg_configSYS_TRNG_ENTROPY_SRC_ADDR

#define dg_configSYS_TRNG_ENTROPY_SRC_ADDR   MEMORY_CMAC_CACHERAM_BASE

When set to 1, the sys trng service is enabled.

APP

When set to 1, the sys drbg service is enabled.

APP

A pointer to the physical address of the SYSRAM that is used as entropy source.

APP
Note
The address MUST be word aligned!

◆ dg_configUSE_DGTL

#define dg_configUSE_DGTL   (0)

Enable D.GTL interface.

When this macro is enabled, the DGTL framework is available for use. The framework must furthermore be initialized in the application using dgtl_init(). Additionally, the UART adapter must be initialized accordingly.

Please see sdk/middleware/dgtl/include/ for further DGTL configuration (in dgtl_config.h) and API.

APP

◆ dg_configUSE_STDLIB_RAND

#define dg_configUSE_STDLIB_RAND   (0)

When set to 1, the ChaCha20 random number generator is enabled.

APP

When set to 1, the stdlib.h random number generator is enabled.

APP

◆ dg_configUSE_SYS_BOOT

#define dg_configUSE_SYS_BOOT   (0)

When set to 1, the sys adc service is used to monitor gpadc and support:

  • RF calibration if dg_configRF_ENABLE_RECALIBRATION is set.
  • RCX calibration if RCX is used as low power clock.
  • RCLP and RC32M calibration.
APP EXPERT-only

Enable System Boot handler

APP

◆ dg_configUSE_SYS_DRBG_BUFFER_LENGTH

#define dg_configUSE_SYS_DRBG_BUFFER_LENGTH   (30)

The length of the buffer which holds the random numbers.

APP

◆ dg_configUSE_SYS_DRBG_BUFFER_THRESHOLD

#define dg_configUSE_SYS_DRBG_BUFFER_THRESHOLD   (24)

Threshold (index) in the buffer which holds the random numbers. When the buffer index reaches the threshold or becomes greater than the threshold a request for buffer update will be issued.

APP