parent
0f95a9bc37
commit
a7e9d0ce8e
|
@ -32,6 +32,7 @@ SDRAM_SIZE = DEFINED(STM32_HAS_SDRAM) ? 8M : 0;
|
|||
/* change address & length if bootloader */
|
||||
bootloader_size = 32k;
|
||||
flash_start = 0x08000000 + (DEFINED(HAS_BOOTLOADER) ? bootloader_size : 0);
|
||||
/* see also getFlashAddrFirstCopy() method */
|
||||
flash_size = DEFINED(IS_BOOTLOADER) ? bootloader_size : 768k;
|
||||
image_size = DEFINED(HAS_BOOTLOADER) ? (flash_size - bootloader_size) : flash_size;
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
/* WARNING same bootloader_size is hard-coded in CHECKSUM_ADDRESS variable in bundle.mk */
|
||||
bootloader_size = 32k;
|
||||
flash_start = 0x08000000 + (DEFINED(HAS_BOOTLOADER) ? bootloader_size : 0);
|
||||
/* see also getFlashAddrFirstCopy() method */
|
||||
flash_size = DEFINED(IS_BOOTLOADER) ? bootloader_size : (DEFINED(EFI_FLASH_SIZE) ? EFI_FLASH_SIZE : 768k);
|
||||
image_size = DEFINED(HAS_BOOTLOADER) ? (flash_size - bootloader_size) : flash_size;
|
||||
|
||||
|
|
Loading…
Reference in New Issue