File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Expand file tree Collapse file tree 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
5019850198kodedot.build.flash_freq=80m
5019950199kodedot.build.flash_mode=dio
5020050200
50201- kodedot.menu.PartitionScheme.kodeos=Custom kodeOS
50202- kodedot.menu.PartitionScheme.kodeos.build.partitions=kodedot_partitions
50203-
5020450201kodedot.build.partitions=kodedot_partitions
5020550202
5020650203kodedot.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.
134 return true ;
14- }
5+ }
You can’t perform that action at this time.
0 commit comments