File tree Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Expand file tree Collapse file tree 2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ CFLAGS_EXTRA+=-DUSE_SLOW_SHA256
3333#CFLAGS_EXTRA+=-DFLASH_SECURABLE_MEMORY_SUPPORT
3434
3535
36- #Partition: Boot: 8KB , App, 10KB
36+ #Partition: Boot: 10KB , App, 10KB
3737WOLFBOOT_PARTITION_SIZE?=0x2800
3838WOLFBOOT_SECTOR_SIZE?=0x800
39- #Max WOLFBOOT size is 8KB
40- WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08002000
39+ #Max WOLFBOOT size is 10KB
40+ WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08002800
4141WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x085000
4242WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x08007800
4343
Original file line number Diff line number Diff line change @@ -445,11 +445,11 @@ Supports STM32C0x0/STM32C0x1. Instructions are for the STM Nucleo-C031C6 dev boa
445445Tested build configurations:
446446* With RSA2048 and SHA2-256 the code size is 10988 and it boots in under 1 second.
447447* With ED25519 and SHA2-384 the code size is 10024 and takes about 10 seconds for the LED to turn on.
448- * With LMS-8-10-1 and SHA2-256 the code size is 8164
448+ * With LMS-8-10-1 and SHA2-256 the code size is 8164 on gcc-13 (could fit in 8KB partition)
449449
450450### Example 32KB partitioning on STM32-G070
451451
452- with ED25519:
452+ with ED25519 or LMS-8-10-1 :
453453
454454- Sector size: 2KB
455455- Wolfboot partition size: 10KB
@@ -464,21 +464,6 @@ with ED25519:
464464#define WOLFBOOT_PARTITION_SWAP_ADDRESS 0x08007800 /* at 30KB */
465465```
466466
467- with LMS:
468-
469- - Sector size: 2KB
470- - Wolfboot partition size: 8KB
471- - Application partition size: 10 KB
472- - Swap size 2KB
473-
474- ``` C
475- #define WOLFBOOT_SECTOR_SIZE 0x800 /* 2 KB */
476- #define WOLFBOOT_PARTITION_BOOT_ADDRESS 0x08002000 /* at 8KB */
477- #define WOLFBOOT_PARTITION_SIZE 0x2800 /* 10 KB */
478- #define WOLFBOOT_PARTITION_UPDATE_ADDRESS 0x08005000 /* at 20KB */
479- #define WOLFBOOT_PARTITION_SWAP_ADDRESS 0x08007800 /* at 30KB */
480- ```
481-
482467with RSA2048:
483468
484469- Sector size: 2KB
You can’t perform that action at this time.
0 commit comments