Skip to content

Commit

Permalink
bootloader: fix bootloader_sha256_flash_contents mmap issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Icarus113 committed Dec 1, 2022
1 parent 7f5ecbe commit c60257e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))

/**
Expand Down

0 comments on commit c60257e

Please sign in to comment.