You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2018/01/29 14:29:00 UTC
[jira] [Created] (MYNEWT-888) Build error if FLASH_AREA_IMAGE_1 is
undefined
Christopher Collins created MYNEWT-888:
------------------------------------------
Summary: 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
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)