-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Describe the bug
To integrate an SMP Client, you must pull through prj.conf CONFIG_SMP_CLIENT=y and CONFIG_MCUBOOT_BOOTUTIL_LIB=y. From there, the __flash_area_ids_for_slot function requires 2 slots via the ALL_AVAILABLE_SLOTS define. In fact, two slots are not necessary and cannot always be implemented, which prevents the feature from being implemented for no good reason.
Regression
- This is a regression.
Steps to reproduce
First of all, the SMP client associated TU should compile.
Go there : zephyr/tests/subsys/mgmt/mcumgr/mcumgr_client
Try to compile ; west build -b native_posix . -p
The TU does not compile but you will not face the same pb as native_posix has 2 slots. Delete the slot 1 and you will face the same pb.
Relevant log output
Impact
Annoyance β Minor irritation; no significant impact on usability or functionality.
Environment
No response
Additional Context
No response