Skip to content

Commit

Permalink
Merge pull request wolfSSL#418 from danielinux/same51_sector_size
Browse files Browse the repository at this point in the history
Fixed sector size for SAME51
  • Loading branch information
rizlik authored Mar 11, 2024
2 parents c005ba6 + 2500266 commit 6d927eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IDE/MPLAB/test-app/test-usb-updater.same51.X/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void APP_Initialize(void) {
wolfBoot_success();
ver = wolfBoot_current_firmware_version();
#else
#define WOLFBOOT_SECTOR_SIZE (0x8000)
#define WOLFBOOT_SECTOR_SIZE (0x2000)
#define WOLFBOOT_PARTITION_SIZE (0x20000)
#define WOLFBOOT_PARTITION_UPDATE_ADDRESS (0x088000)
ver = 1U;
Expand Down
2 changes: 1 addition & 1 deletion config/examples/same51-dualbank.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VTOR?=1
SPMATH?=1
ARCH_FLASH_OFFSET=0x00000000
WOLFBOOT_PARTITION_SIZE?=0x20000
WOLFBOOT_SECTOR_SIZE?=0x8000
WOLFBOOT_SECTOR_SIZE?=0x2000
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x088000
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x200000
Expand Down
2 changes: 1 addition & 1 deletion config/examples/same51.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VTOR?=1
SPMATH?=1
ARCH_FLASH_OFFSET=0x00000000
WOLFBOOT_PARTITION_SIZE?=0x20000
WOLFBOOT_SECTOR_SIZE?=0x8000
WOLFBOOT_SECTOR_SIZE?=0x2000
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x8000
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x80000
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0xF8000

0 comments on commit 6d927eb

Please sign in to comment.