zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.03k stars 6.17k forks source link

mcuboot: nordic development kits fail to compile #73301

Open JordanYates opened 1 month ago

JordanYates commented 1 month ago

Describe the bug

The following Nordic development kits fail to compile the upstream mcuboot application.

Enabling multithreading by removing the following line lets them all compile: https://github.com/zephyrproject-rtos/mcuboot/blob/d4394c2f9b76e0a7b758441cea3a8ceb896f66c8/boot/zephyr/Kconfig#L751

To Reproduce

west build -b nrf9161dk@0.7.0/nrf9161 bootloader/mcuboot/boot/zephyr/ -p
west build -b thingy52/nrf52832 bootloader/mcuboot/boot/zephyr/ -p
west build -b thingy53/nrf5340/cpuapp bootloader/mcuboot/boot/zephyr/ -p

Expected behavior

Development kits should successfully compile the standard Zephyr bootloader

Environment (please complete the following information):

nashif commented 1 month ago

why is this a zephyr bug? Please report at nordic NCS.

JordanYates commented 1 month ago

why is this a zephyr bug? Please report at nordic NCS.

Why is this a NCS bug? It's a Zephyr bug because these are Zephyr supported platforms failing to compile the Zephyr bootloader.

nordicjm commented 2 weeks ago

Fix: https://github.com/mcu-tools/mcuboot/pull/1984