-
Notifications
You must be signed in to change notification settings - Fork 666
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
zephyr: Compilation fails when CONFIG_FLASH_PAGE_LAYOUT is disabled #1565
Comments
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 select
CONFIG_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 ormcuboot/boot/zephyr/Kconfig
Lines 612 to 621 in 46e554e
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):
The text was updated successfully, but these errors were encountered: