Open de-nordic opened 1 year ago
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
The MCUboot support code provides the
flash_area_get_sectors
implementation in https://github.com/mcu-tools/mcuboot/blob/main/boot/zephyr/flash_map_legacy.c for devices that does not have support for "flash pages layout", Devices that provide support for pages layout selectCONFIG_FLASH_HAS_PAGE_LAYOUT
that enables optionCONFIG_FLASH_PAGE_LAYOUT
; this option is selected (enforced) when available by theCONFIG_MCUBOOT_DEVICE_SETTINGS
, so to test this a device that does not selectCONFIG_FLASH_HAS_PAGE_LAYOUT
needs to be selected or https://github.com/mcu-tools/mcuboot/blob/46e554e7c080936fbcbbcae38be84995e8165d0d/boot/zephyr/Kconfig#L612-L621 has to be modified in line 613 to not select the option. After such configuration is prepared, the below command executed from Zephyr root:causes following warnings and errors (and a lot more):