Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-888

Build error if FLASH_AREA_IMAGE_1 is undefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3
    • None
    • Image Mgmt
    • Security Level: Public (Viewable by anyone)

    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.

      These functions should be modified to only reference these constants in the unified and split setups.

      Attachments

        Activity

          People

            marko Marko Kiiskila
            ccollins476 Christopher Collins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: