Skip to content

Commit fe04349

Browse files
committed
add additional check for DELTA_UPDATE + DISABLE_BACKUP incompatibility
1 parent 11e91f8 commit fe04349

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/wolfboot/wolfboot.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,10 @@ extern "C" {
480480
#endif
481481
#endif
482482

483+
#if defined(DISABLE_BACKUP) && defined(DELTA_UPDATES)
484+
#error "DELTA_UPDATES requires swap partition (incompatible with DISABLE_BACKUP)"
485+
#endif
486+
483487
#define PART_BOOT 0
484488
#define PART_UPDATE 1
485489
#define PART_SWAP 2

0 commit comments

Comments
 (0)