[
https://issues.apache.org/jira/browse/MYNEWT-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Collins updated MYNEWT-888:
---------------------------------------
Description:
In {{flash_map.c}}, {{flash_area_id_from_image_slot()}} and
{{flash_area_id_to_image_slot()}} unconditionally reference the
{{FLASH_AREA_IMAGE_1}} macro. This causes build errors for a BSP using the
[single setup|http://mynewt.apache.org/latest/os/modules/split/split/].
These functions should be modified to only reference these constants in the
unified and split setups.
was:
In {{flash_map.c}},{{flash_area_id_from_image_slot()}} and
{{flash_area_id_to_image_slot()}} unconditionally reference the
{{FLASH_AREA_IMAGE_1}} macro. This causes build errors for a BSP using the
[single setup|http://mynewt.apache.org/latest/os/modules/split/split/].
These functions should be modified to only reference these constants in the
unified and split setups.
> Build error if FLASH_AREA_IMAGE_1 is undefined
> ----------------------------------------------
>
> Key: MYNEWT-888
> URL: https://issues.apache.org/jira/browse/MYNEWT-888
> Project: Mynewt
> Issue Type: Bug
> Security Level: Public(Viewable by anyone)
> Components: Image Mgmt
> Affects Versions: 1.3
> Reporter: Christopher Collins
> Assignee: Marko Kiiskila
> Priority: Minor
>
> In {{flash_map.c}}, {{flash_area_id_from_image_slot()}} and
> {{flash_area_id_to_image_slot()}} unconditionally reference the
> {{FLASH_AREA_IMAGE_1}} macro. This causes build errors for a BSP using the
> [single setup|http://mynewt.apache.org/latest/os/modules/split/split/].
> These functions should be modified to only reference these constants in the
> unified and split setups.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)