update segger project, cleanup
This commit is contained in:
@ -41,22 +41,14 @@
|
||||
|
||||
|
||||
#if defined(NRF52832_XXAA)
|
||||
|
||||
|
||||
#define BOOTLOADER_REGION_START 0x00074000 /**< This field should correspond to start address of the bootloader, found in UICR.RESERVED, 0x10001014, register. This value is used for sanity check, so the bootloader will fail immediately if this value differs from runtime value. The value is used to determine max application size for updating. */
|
||||
#define BOOTLOADER_SETTINGS_ADDRESS 0x0007F000 /**< The field specifies the page location of the bootloader settings address. */
|
||||
#define BOOTLOADER_MBR_PARAMS_PAGE_ADDRESS 0x0007E000 /**< The field specifies the page location of the mbr params page address. */
|
||||
|
||||
|
||||
#elif defined(NRF52840_XXAA)
|
||||
|
||||
// Increase bootloader size to application data region for easy debugging
|
||||
#ifdef DEBUG_SIZE_EXPAND
|
||||
#define BOOTLOADER_REGION_START (0x000F4000 - CODE_PAGE_SIZE*7)
|
||||
#define DFU_APP_DATA_RESERVED 0
|
||||
#else
|
||||
#define BOOTLOADER_REGION_START 0x000F4000 /**< This field should correspond to start address of the bootloader, found in UICR.RESERVED, 0x10001014, register. This value is used for sanity check, so the bootloader will fail immediately if this value differs from runtime value. The value is used to determine max application size for updating. */
|
||||
#endif
|
||||
|
||||
#define BOOTLOADER_SETTINGS_ADDRESS 0x000FF000 /**< The field specifies the page location of the bootloader settings address. */
|
||||
#define BOOTLOADER_MBR_PARAMS_PAGE_ADDRESS 0x000FE000 /**< The field specifies the page location of the mbr params page address. */
|
||||
|
||||
|
Reference in New Issue
Block a user