Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCUboot: configuration file ignored #86172

Open
JordanYates opened this issue Feb 22, 2025 · 0 comments
Open

MCUboot: configuration file ignored #86172

JordanYates opened this issue Feb 22, 2025 · 0 comments
Assignees
Labels
area: MCUBoot bug The issue is a bug, or the PR is fixing a bug
Milestone

Comments

@JordanYates
Copy link
Collaborator

Describe the bug

When building an application with MCUboot support, the configuration file specified by MCUboot is overridden, resulting in build system warnings.

To Reproduce

west build -b nrf52840dk/nrf52840 samples/hello_world/ --sysbuild -p -- -DSB_CONFIG_BOOTLOADER_MCUBOOT=y
...
warning: MBEDTLS_CFG_FILE (defined at
/home/jordan/code/zephyr/bootloader/mcuboot/boot/zephyr/Kconfig:288, modules/mbedtls/Kconfig:52,
modules/mbedtls/Kconfig:52) was assigned the value 'mcuboot-mbedtls-cfg.h' but got the value
'config-tls-generic.h'. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MBEDTLS_CFG_FILE and/or look up
MBEDTLS_CFG_FILE in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.
...

Expected behavior

No build system warnings when building a default MCUboot application

Environment (please complete the following information):

  • Zephyr v4.1.0-rc2
@JordanYates JordanYates added the bug The issue is a bug, or the PR is fixing a bug label Feb 22, 2025
@JordanYates JordanYates added this to the v4.1.0 milestone Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: MCUBoot bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

3 participants