File tree 2 files changed +4
-16
lines changed
2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -50198,9 +50198,6 @@ kodedot.build.flash_size=16MB
50198
50198
kodedot.build.flash_freq=80m
50199
50199
kodedot.build.flash_mode=dio
50200
50200
50201
- kodedot.menu.PartitionScheme.kodeos=Custom kodeOS
50202
- kodedot.menu.PartitionScheme.kodeos.build.partitions=kodedot_partitions
50203
-
50204
50201
kodedot.build.partitions=kodedot_partitions
50205
50202
50206
50203
kodedot.build.psram_type=qspi
Original file line number Diff line number Diff line change 1
- // custom_ota_override.cpp
2
- // This function overrides the weak definition of `verifyRollbackLater()` in the kode dot board.
3
-
4
- extern " C" {
5
- // Declare the weak function symbol to override it
6
- bool verifyRollbackLater () __attribute__((weak));
7
- }
8
-
9
- // Custom implementation of verifyRollbackLater()
10
- // Returning `true` prevents the OTA image from being automatically marked as valid.
11
- // This ensures that the system will roll back to the previous image unless it is explicitly validated later.
12
- bool verifyRollbackLater () {
1
+ extern " C" bool verifyRollbackLater () {
2
+ // Returning true prevents the OTA image from being marked as valid
3
+ // until you explicitly confirm it after the first boot.
13
4
return true ;
14
- }
5
+ }
You can’t perform that action at this time.
0 commit comments