NUCLEO-F767ZI STM32F767ZI 2mb flash firmware size #6242

only:docs
This commit is contained in:
rusefillc 2024-11-19 13:43:31 -05:00
parent 0f95a9bc37
commit a7e9d0ce8e
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;