Commit 3e30633
dfu_target: Do not erase last page in dfu_target_mcuboot_done
Erasing the last page is already done before writing the trailer
in dfu_target_mcuboot_schedule_update.
It seems the erasing comes from a time a couple of years ago
when the page was not erased inside mcuboot. Currently
the code was not necessary and it caused flash wear out.
Signed-off-by: Artur Hadasz <[email protected]>1 parent 940a3bf commit 3e30633
1 file changed
+0
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 81 | | |
86 | 82 | | |
87 | 83 | | |
| |||
187 | 183 | | |
188 | 184 | | |
189 | 185 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | 186 | | |
198 | 187 | | |
199 | 188 | | |
| |||
0 commit comments