-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 with enabled serial recovery does not compile #35048
Comments
The issue is MULTITHREADING is off so kernel files for scheduling are not included but there are modules fetched that are using multithreading essentially making it multithreading app. Is see 2 ways:
|
The removal significantly increase the binary size (4k) The problem is with |
I will make PR to fix it in uarte driver. As for |
Actually, there is already a fix in uarte: zephyr/drivers/serial/uart_nrfx_uarte.c Line 494 in 977aba6
can you check if that is not working in this case? |
Yes, but it is compiled-out using complier, and now need to use preprocessor instead. |
Allow to compile when multithreadin is disabled. Needed for fix zephyrproject-rtos#35048. Signed-off-by: Andrzej Puzdrowski <[email protected]>
MCUboot upstream fix: mcu-tools/mcuboot#1009 |
* boot_serial: allow to build when CONFIG_MULTITHREADING=n * allow to not provide scratch area definition if scratch algorithm is not used. fixes zephyrproject-rtos#35048 Signed-off-by: Andrzej Puzdrowski <[email protected]>
* boot_serial: allow to build when CONFIG_MULTITHREADING=n * allow to not provide scratch area definition if scratch algorithm is not used. fixes #35048 Signed-off-by: Andrzej Puzdrowski <[email protected]>
Describe the bug
The mcuboot, selected by west, does not compile since b852501 commit to Zephyr.
To Reproduce
0. Download overlay file and replace with the download dir
Expected behavior
A clear and concise description of what you expected to happen.
Impact
Not able to compile mcuboot for serial recovery.
Environment (please complete the following information):
serial-recovery.overlay.txt
The text was updated successfully, but these errors were encountered: