Skip to content

Commit

Permalink
[nrf noup] boot/zephyr: pm adaptation after macro updates
Browse files Browse the repository at this point in the history
Need to rework flash area labels after upstream made them
parametric macro.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
(cherry picked from commit 1e0e56e)
Signed-off-by: Martí Bolívar <[email protected]>
  • Loading branch information
nvlsianpu authored and mbolivar-nordic committed Oct 24, 2019
1 parent cfe07da commit 74d2f03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boot/zephyr/include/sysflash/sysflash.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#if USE_PARTITION_MANAGER
#include <pm_config.h>

#define FLASH_AREA_IMAGE_PRIMARY PM_MCUBOOT_PRIMARY_ID
#define FLASH_AREA_IMAGE_SECONDARY PM_MCUBOOT_SECONDARY_ID
#define FLASH_AREA_IMAGE_SCRATCH PM_MCUBOOT_SCRATCH_ID
#define FLASH_AREA_IMAGE_PRIMARY(x) PM_MCUBOOT_PRIMARY_ID
#define FLASH_AREA_IMAGE_SECONDARY(x) PM_MCUBOOT_SECONDARY_ID
#define FLASH_AREA_IMAGE_SCRATCH PM_MCUBOOT_SCRATCH_ID

#else

Expand Down

0 comments on commit 74d2f03

Please sign in to comment.