Skip to content

Commit

Permalink
[nrf noup] boot/zephyr/Kconfig: conditionally disable BOOT_MAX_IMG_SE…
Browse files Browse the repository at this point in the history
…CTORS_AUTO

Automatic calculation are based on DTS data which are no the right
source on partition layout in case Partition manager does
the partitioning.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
  • Loading branch information
nvlsianpu authored and bjarki-andreasen committed Sep 19, 2024
1 parent 771aee9 commit 9d12227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ config BOOT_ENCRYPTION_KEY_FILE

config BOOT_MAX_IMG_SECTORS_AUTO
bool "Calculate maximum sectors automatically"
default y
default y if !PARTITION_MANAGER_ENABLED
help
If this option is enabled then the maximum number of supported sectors per image will
be calculated automatically from the flash erase sizes and size of each partition for
Expand Down

0 comments on commit 9d12227

Please sign in to comment.