shrink cf2 from 2KB to 1KB
This commit is contained in:
parent
80c3a8401b
commit
890fefafbe
4 changed files with 8 additions and 8 deletions
|
|
@ -11,9 +11,9 @@ MEMORY
|
||||||
* those values do not match. The check is performed in main.c, see
|
* those values do not match. The check is performed in main.c, see
|
||||||
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
||||||
*/
|
*/
|
||||||
FLASH (rx) : ORIGIN = 0x74000, LENGTH = 0x7E000-0x74000-2K /* 38 KB */
|
FLASH (rx) : ORIGIN = 0x74000, LENGTH = 0x7E000-0x74000-1K /* 39 KB */
|
||||||
|
|
||||||
BOOTLOADER_CONFIG (r): ORIGIN = 0x7E000 - 2K, LENGTH = 2K
|
BOOTLOADER_CONFIG (r): ORIGIN = 0x7E000 - 1K, LENGTH = 1K
|
||||||
|
|
||||||
/** Location of mbr params page in flash. */
|
/** Location of mbr params page in flash. */
|
||||||
MBR_PARAMS_PAGE (rw) : ORIGIN = 0x0007E000, LENGTH = 0x1000
|
MBR_PARAMS_PAGE (rw) : ORIGIN = 0x0007E000, LENGTH = 0x1000
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@ MEMORY
|
||||||
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
||||||
*/
|
*/
|
||||||
/* due to lack of flash for debug, we will use reserved app to extend bootloader size */
|
/* due to lack of flash for debug, we will use reserved app to extend bootloader size */
|
||||||
FLASH (rx) : ORIGIN = 0x74000-28K, LENGTH = 0x7E000-0x74000-2K + 28K
|
FLASH (rx) : ORIGIN = 0x74000-28K, LENGTH = 0x7E000-0x74000-1K + 28K
|
||||||
|
|
||||||
BOOTLOADER_CONFIG (r): ORIGIN = 0x7E000 - 2K, LENGTH = 2K
|
BOOTLOADER_CONFIG (r): ORIGIN = 0x7E000 - 1K, LENGTH = 1K
|
||||||
|
|
||||||
/** Location of mbr params page in flash. */
|
/** Location of mbr params page in flash. */
|
||||||
MBR_PARAMS_PAGE (rw) : ORIGIN = 0x0007E000, LENGTH = 0x1000
|
MBR_PARAMS_PAGE (rw) : ORIGIN = 0x0007E000, LENGTH = 0x1000
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@ MEMORY
|
||||||
* those values do not match. The check is performed in main.c, see
|
* those values do not match. The check is performed in main.c, see
|
||||||
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
||||||
*/
|
*/
|
||||||
FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xFE000-0xF4000 - 2K /* 38 KB */
|
FLASH (rx) : ORIGIN = 0xF4000, LENGTH = 0xFE000 - 0xF4000 - 1K /* 39 KB */
|
||||||
|
|
||||||
BOOTLOADER_CONFIG (r): ORIGIN = 0xFE000 - 2K, LENGTH = 2K
|
BOOTLOADER_CONFIG (r): ORIGIN = 0xFE000 - 1K, LENGTH = 1K
|
||||||
|
|
||||||
/** Location of mbr params page in flash. */
|
/** Location of mbr params page in flash. */
|
||||||
MBR_PARAMS_PAGE (rw) : ORIGIN = 0xFE000, LENGTH = 0x1000
|
MBR_PARAMS_PAGE (rw) : ORIGIN = 0xFE000, LENGTH = 0x1000
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,9 @@ MEMORY
|
||||||
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
* APP_ERROR_CHECK_BOOL(*((uint32_t *)NRF_UICR_BOOT_START_ADDRESS) == BOOTLOADER_REGION_START);
|
||||||
*/
|
*/
|
||||||
/* due to lack of flash for debug, we will use reserved app to extend bootloader size */
|
/* due to lack of flash for debug, we will use reserved app to extend bootloader size */
|
||||||
FLASH (rx) : ORIGIN = 0xF4000-28K, LENGTH = 0xFE000-0xF4000 - 2K + 28K /* 38 KB */
|
FLASH (rx) : ORIGIN = 0xF4000-28K, LENGTH = 0xFE000-0xF4000 - 1K + 28K
|
||||||
|
|
||||||
BOOTLOADER_CONFIG (r): ORIGIN = 0xFE000 - 2K, LENGTH = 2K
|
BOOTLOADER_CONFIG (r): ORIGIN = 0xFE000 - 1K, LENGTH = 1K
|
||||||
|
|
||||||
/** Location of mbr params page in flash. */
|
/** Location of mbr params page in flash. */
|
||||||
MBR_PARAMS_PAGE (rw) : ORIGIN = 0xFE000, LENGTH = 0x1000
|
MBR_PARAMS_PAGE (rw) : ORIGIN = 0xFE000, LENGTH = 0x1000
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue