mirror of https://github.com/wolfSSL/wolfBoot.git
end_address = address + len - 1 (inclusive) combined with p < end_address (strict less-than) skipped the last page when len % FLASH_PAGE_SIZE == 1. Use the exclusive form end_address = address + len, mirroring the stm32h5 fix. Add WOLFBOOT_UNIT_TEST_FLASH_ERASE guards and a new unit test that proves the regression before the fix and passes after. |
||
|---|---|---|
| .. | ||
| bin-assemble | ||
| check_config | ||
| delta | ||
| efi | ||
| elf-parser | ||
| fdt-parser | ||
| keytools | ||
| lms | ||
| renode | ||
| scripts | ||
| squashelf | ||
| test-expect-version | ||
| test-update-server | ||
| tpm | ||
| uart-flash-server | ||
| unit-tests | ||
| xmss | ||
| config.mk | ||
| test-delta.mk | ||
| test-enc.mk | ||
| test-renode.mk | ||
| test.mk | ||
| wolfboot-rpi-devicetree.diff | ||