Skip to content

Commit 9287d93

Browse files
committed
Fixed stm32u5 WOLFBOOT_SECTOR_SIZE
1 parent 1fe4557 commit 9287d93

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

config/examples/stm32u5-wolfcrypt-tz.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ V?=0
1818
SPMATH?=1
1919
RAM_CODE?=0
2020
DUALBANK_SWAP?=0
21-
WOLFBOOT_PARTITION_SIZE?=0x1F800
22-
WOLFBOOT_SECTOR_SIZE?=0x800
21+
WOLFBOOT_PARTITION_SIZE?=0x20000
22+
WOLFBOOT_SECTOR_SIZE?=0x2000
2323
WOLFBOOT_KEYVAULT_ADDRESS?=0x0C020000
2424
WOLFBOOT_KEYVAULT_SIZE?=0x18000
2525
WOLFBOOT_NSC_ADDRESS?=0x0C038000
2626
WOLFBOOT_NSC_SIZE?=0x8000
2727
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08040000
28-
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x805F800
29-
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x0807F000
28+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08060000
29+
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x08080000
3030
FLAGS_HOME=0
3131
DISABLE_BACKUP=0
3232
WOLFCRYPT_TZ=1

test-app/emu-test-apps/stm32u585/target.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MEMORY
22
{
3-
FLASH (rx) : ORIGIN = 0x8040100, LENGTH = 0x1f700
3+
FLASH (rx) : ORIGIN = 0x8040100, LENGTH = 0x1ff00
44
RAM (rwx) : ORIGIN = 0x20020000, LENGTH = 128K
55
}
66

0 commit comments

Comments
 (0)