Commit 0b1e0c3
committed
application: installer: added verification dealys infrastructre
Added configurable infrastructure for delay NVM memory operation.
These delay are needed for making detail testing of the instalation
interrupts possible.
Kconfig added:
* CONFIG_APP_BM_INSTALLER_SELF_DELAYS:
Enable optional installer verification delays (testing);
* CONFIG_APP_BM_INSTALLER_POST_METADATA_INVALIDATION_DELAY_MS:
Delay [ms] after metadata invalidation, before image copy;
emits LOG_INF "V_DELAY_POST_METADATA_INVALIDATION" before the delay.
* CONFIG_APP_BM_INSTALLER_INTER_IMAGE_CHUNK_COPY_DELAY_MS:
Delay [ms] between image chunk copies;
emits LOG_INF "V_DELAY_IMAGE_CHUNK_COPY" before the delay.
* CONFIG_APP_BM_INSTALLER_NEXT_IMAGE_COPY_DELAY_MS:
Delay [ms] before next image copy;
emits LOG_INF "V_DELAY_NEXT_IMAGE_COPY" before the delay.
* CONFIG_APP_BM_INSTALLER_PRIOR_METADATA_UPDATE_DELAY_MS:
Delay [ms] after image copy, before metadata update;
emits LOG_INF "V_DELAY_METADATA_UPDATE" before the delay.
* CONFIG_APP_BM_INSTALLER_PRIOR_SELF_DESTRUCTION_DELAY_MS:
Delay [ms] before clearing installer header;
emits LOG_INF "V_DELAY_SELF_DESTRUCTION" before the delay.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>1 parent 6fb08c6 commit 0b1e0c3
2 files changed
+74
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
11 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| |||
138 | 148 | | |
139 | 149 | | |
140 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
141 | 155 | | |
142 | 156 | | |
143 | 157 | | |
| |||
198 | 212 | | |
199 | 213 | | |
200 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
201 | 219 | | |
202 | 220 | | |
203 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
204 | 227 | | |
205 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
206 | 233 | | |
207 | 234 | | |
208 | 235 | | |
| |||
217 | 244 | | |
218 | 245 | | |
219 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
220 | 252 | | |
221 | 253 | | |
222 | 254 | | |
| |||
227 | 259 | | |
228 | 260 | | |
229 | 261 | | |
230 | | - | |
| 262 | + | |
231 | 263 | | |
232 | 264 | | |
233 | 265 | | |
| |||
0 commit comments