Skip to content

Commit

Permalink
f examples/firmware_swapping: change versions to 1 and 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kYc0o committed Mar 20, 2017
1 parent 5b3cb9f commit 98ace9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/firmware_swapping/Makefile
Expand Up @@ -13,14 +13,14 @@ FW_METADATA_SPACE = 0x100 # 76 bytes meta-data, 256 byte aligned
FW_IMAGE1_OFFSET = 0x08004000 # Start at page 8
FW_IMAGE1_LENGTH = 0x3C000 # Reserve 120 pages
FW_IMAGE1_END = 0x08040000 # FW_IMAGE_OFFSET + FW_IMAGE_LENGTH
VERSION_IMG1 = 0x0
VERSION_IMG1 = 0x1
UUID_IMG1 = 0xabcd1234

# Define the parameters for the FW slot 1
FW_IMAGE2_OFFSET = 0x08040000 # Start at page 128
FW_IMAGE2_LENGTH = 0x3C000 # Reserve 120 pages
FW_IMAGE1_END = 0x0807C000 # FW_IMAGE_OFFSET + FW_IMAGE_LENGTH
VERSION_IMG2 = 0x1
VERSION_IMG2 = 0x2
UUID_IMG2 = 0xabcd1234

bootloader:
Expand Down

0 comments on commit 98ace9e

Please sign in to comment.