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 · 2 comments
Open

MCUboot: configuration file ignored #86172

JordanYates opened this issue Feb 22, 2025 · 2 comments
Assignees
Labels
area: MCUBoot bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

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
@de-nordic
Copy link
Collaborator

FYI @valeriosetti

@fabiobaltieri fabiobaltieri added priority: low Low impact/importance bug priority: medium Medium impact/importance bug and removed priority: low Low impact/importance bug labels Feb 25, 2025
@valeriosetti
Copy link
Collaborator

It seems that the fix I proposed here zephyrproject-rtos/mcuboot#124 also removes this warning. @de-nordic can you please take a look and let me know if that looks OK to you?
If so I can then open the proper PR as suggested by @nordicjm here

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 priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

6 participants