Commit 8408f46
committed
Add mpos.partitions.get_next_update_partition() helper that alternates between ota_0 and ota_1 only
And use it from About and OSUpdate app.1 parent 216b471 commit 8408f46
4 files changed
Lines changed: 28 additions & 20 deletions
File tree
- internal_filesystem
- builtin/apps
- com.micropythonos.about/assets
- com.micropythonos.osupdate/assets
- lib/mpos
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
Lines changed: 6 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
472 | 469 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | 470 | | |
477 | 471 | | |
478 | 472 | | |
| |||
690 | 684 | | |
691 | 685 | | |
692 | 686 | | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
699 | 690 | | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | 691 | | |
704 | 692 | | |
705 | 693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments