mirror of https://github.com/wolfSSL/wolfBoot.git
In the unaligned/partial-word path, address/len were advanced by the full flash-word-relative loop index "i" (which starts at start_off), instead of by the number of data bytes actually consumed (i - start_off). On a write spanning more than one flash word this drops start_off bytes of input data and misdirects the following word write. Mirrors the already-correct form in hal/kinetis_kl26.c. |
||
|---|---|---|
| .. | ||
| fsl_clock.h | ||
| fsl_common.h | ||
| fsl_romapi.h | ||
| fsl_spc.h | ||