bootloader: fix bootloader_sha256_flash_contents mmap issue

This commit is contained in:
Armando 2022-12-01 21:39:57 +08:00
parent 7f5ecbe533
commit c60257e862

View File

@ -20,7 +20,7 @@ extern "C" {
#define FLASH_SECTOR_SIZE 0x1000
#define FLASH_BLOCK_SIZE 0x10000
#define MMAP_ALIGNED_MASK 0x0000FFFF
#define MMAP_ALIGNED_MASK (SPI_FLASH_MMU_PAGE_SIZE - 1)
#define MMU_FLASH_MASK (~(SPI_FLASH_MMU_PAGE_SIZE - 1))
/**