Skip to content

Conversation

ahasztag
Copy link
Contributor

The warning was the result of the MCUBOOT_UPDATE_FOOTER_SIZE Kconfig option being under "if IMG_MANAGER", but at the same time being unconditionally set in by CMake mcuboot.

At the same there is no way for CMake to find out if CONFIG_IMG_MANAGER is set before setting the value of CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE (as the value of CONFIG_IMG_MANAGER is uknown before finishing
Kconfig parsing).

Upstream PR #: 90721

The warning was the result of the MCUBOOT_UPDATE_FOOTER_SIZE
Kconfig option being under "if IMG_MANAGER", but at the
same time being unconditionally set in by CMake mcuboot.

At the same there is no way for CMake to find out if
CONFIG_IMG_MANAGER is set before setting the value
of CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE (as the value
of CONFIG_IMG_MANAGER is uknown before finishing
Kconfig parsing).

Upstream PR #: 90721

Signed-off-by: Artur Hadasz <[email protected]>
@ahasztag ahasztag force-pushed the NCSDK-29615_fix_mcuboot_build_warnings branch from 001f630 to 04f2a74 Compare May 28, 2025 09:04
The warning was the result of the MCUBOOT_UPDATE_FOOTER_SIZE
Kconfig option being under "if IMG_MANAGER", but at the
same time being unconditionally set in by CMake mcuboot.

At the same there is no way for CMake to find out if
CONFIG_IMG_MANAGER is set before setting the value
of CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE (as the value
of CONFIG_IMG_MANAGER is uknown before finishing
Kconfig parsing).

Upstream PR #: 90721

Signed-off-by: Artur Hadasz <[email protected]>
@ahasztag ahasztag force-pushed the NCSDK-29615_fix_mcuboot_build_warnings branch from 04f2a74 to 7d75836 Compare May 28, 2025 10:44
Copy link

@ahasztag ahasztag closed this May 30, 2025
@ahasztag ahasztag deleted the NCSDK-29615_fix_mcuboot_build_warnings branch September 17, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant