SmartSnippets DA1459x SDK
Files | Macros

Memory Layout Configuration Settings. More...

Files

file  bsp_memory_defaults_da1459x.h
 Board Support Package. Device-specific system configuration default values.
 

Macros

#define dg_configRETAINED_UNINIT_SECTION_SIZE   (128)
 Size of the RETAINED_RAM_UNINIT section, in bytes. More...
 
#define dg_configQSPI_CODE_SIZE_AA   (256 * 1024) /* Take into account CMI firmware size */
 Code size in QSPI projects for DA1459x. More...
 
#define dg_configQSPI_MAX_IMAGE_SIZE   ( IMAGE_PARTITION_SIZE )
 Maximum size (in bytes) of image in the QSPI flash. More...
 
#define dg_configQSPI_CACHED_RAM_SIZE_AA   (96 * 1024 - (dg_configRESERVED_RAM_SIZE_FOR_ROM_PATCHES))
 RAM-block size in cached mode for DA1459x. More...
 
#define dg_configEFLASH_CODE_SIZE_AA   (120 * 1024) /* Take into account CMI firmware size */
 Code size in EFLASH projects for DA1459x. More...
 
#define dg_configEFLASH_MAX_IMAGE_SIZE   ( IMAGE_PARTITION_SIZE )
 Maximum size (in bytes) of image in the EFLASH. More...
 
#define dg_configEFLASH_CACHED_RAM_SIZE_AA   (96 * 1024 - (dg_configRESERVED_RAM_SIZE_FOR_ROM_PATCHES))
 RAM-block size in EFLASH cached mode for DA1459x. More...
 
#define dg_configRAM_CODE_SIZE_AA   (96 * 1024 - (dg_configRESERVED_RAM_SIZE_FOR_ROM_PATCHES))
 Code and RAM size in RAM projects for DA1459xAA. More...
 
#define dg_configMEM_RETENTION_MODE   RETMEM_RETAIN_ALL
 Retention memory configuration. More...
 
#define dg_configUSE_SEGGER_FLASH_LOADER   (1)
 Output binary can be loaded by SEGGER FLASH Loader. More...
 

Detailed Description

Memory Layout Configuration Settings.

Macro Definition Documentation

◆ dg_configEFLASH_CACHED_RAM_SIZE_AA

#define dg_configEFLASH_CACHED_RAM_SIZE_AA   (96 * 1024 - (dg_configRESERVED_RAM_SIZE_FOR_ROM_PATCHES))

RAM-block size in EFLASH cached mode for DA1459x.

APP

◆ dg_configEFLASH_CODE_SIZE_AA

#define dg_configEFLASH_CODE_SIZE_AA   (120 * 1024) /* Take into account CMI firmware size */

Code size in EFLASH projects for DA1459x.

APP

◆ dg_configEFLASH_MAX_IMAGE_SIZE

#define dg_configEFLASH_MAX_IMAGE_SIZE   ( IMAGE_PARTITION_SIZE )

Maximum size (in bytes) of image in the EFLASH.

The image in the EFLASH contains the text (code + const data) and any other initialized data.

Note
This size should not be larger than the flash partition where the image is stored.
APP

◆ dg_configMEM_RETENTION_MODE

#define dg_configMEM_RETENTION_MODE   RETMEM_RETAIN_ALL

Retention memory configuration.

16 bits field; each couple of bits controls whether the relevant memory block will be retained or not.

  • bits 0-1 : SYSRAM1
  • bits 2-3 : SYSRAM2
  • bits 4-5 : SYSRAM3

Available presets: RETMEM_RETAIN_ALL, RETMEM_RETAIN_NONE

APP EXPERT-only

◆ dg_configQSPI_CACHED_RAM_SIZE_AA

#define dg_configQSPI_CACHED_RAM_SIZE_AA   (96 * 1024 - (dg_configRESERVED_RAM_SIZE_FOR_ROM_PATCHES))

RAM-block size in cached mode for DA1459x.

APP

◆ dg_configQSPI_CODE_SIZE_AA

#define dg_configQSPI_CODE_SIZE_AA   (256 * 1024) /* Take into account CMI firmware size */

Code size in QSPI projects for DA1459x.

APP

◆ dg_configQSPI_MAX_IMAGE_SIZE

#define dg_configQSPI_MAX_IMAGE_SIZE   ( IMAGE_PARTITION_SIZE )

Maximum size (in bytes) of image in the QSPI flash.

The image in the QSPI flash contains the text (code + const data) and any other initialized data.

Note
This size should not be larger than the flash partition where the image is stored.
APP

◆ dg_configRAM_CODE_SIZE_AA

#define dg_configRAM_CODE_SIZE_AA   (96 * 1024 - (dg_configRESERVED_RAM_SIZE_FOR_ROM_PATCHES))

Code and RAM size in RAM projects for DA1459xAA.

APP

◆ dg_configRETAINED_UNINIT_SECTION_SIZE

#define dg_configRETAINED_UNINIT_SECTION_SIZE   (128)

Size of the RETAINED_RAM_UNINIT section, in bytes.

This section is not initialized during startup by either the bootloader or the application. It can be therefore used to maintain debug or other relevant information that will no be lost after reset. It should be guaranteed that both the bootloader (if any) and the application are using the same value for this option (or otherwise the booloader can corrupt the contents of the section). To use this section for a specific variable, use the __RETAINED_UNINIT attribute.

◆ dg_configUSE_SEGGER_FLASH_LOADER

#define dg_configUSE_SEGGER_FLASH_LOADER   (1)

Output binary can be loaded by SEGGER FLASH Loader.

APP EXPERT-only