Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed sector size for SAME51 #418

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading