mirror of https://github.com/wolfSSL/wolfBoot.git
The wait loop increments timeout past FLASH_TIMEOUT_TRIES on its way out, so "timeout == FLASH_TIMEOUT_TRIES" never matched and a hung command returned success. Test the completion flag instead. That made the failure path reachable for the first time, and it did not exit: the break left the inner block loop only, so the outer loop respun the same failing command forever with pos unchanged. |
||
|---|---|---|
| .. | ||
| armclang | ||
| bin-assemble | ||
| check_config | ||
| ci | ||
| delta | ||
| efi | ||
| elf-parser | ||
| fdt-parser | ||
| keytools | ||
| lms | ||
| openocd | ||
| 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 | ||