File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ CONFIG_PSA_CRYPTO_DRIVER_CC3XX=n
42
42
43
43
# Reduce the size of the TF-M partition
44
44
# when combined with static partitioning
45
- CONFIG_PM_PARTITION_SIZE_TFM=0x10000
45
+ # CONFIG_PM_PARTITION_SIZE_TFM=0x10000
46
+
47
+ # If CONFIG_BOOTLOADER_MCUBOOT is set, adjust the TF-M partition size
48
+ CONFIG_PM_PARTITION_SIZE_TFM=$(if $(CONFIG_BOOTLOADER_MCUBOOT),0xFE00,0x10000)
46
49
47
50
# The bootloader adds a small mcuboot_pad partition,
48
51
# whose size must be subtracted from the TF-M partition
Original file line number Diff line number Diff line change @@ -42,7 +42,10 @@ CONFIG_PSA_CRYPTO_DRIVER_CC3XX=n
42
42
43
43
# Reduce the size of the TF-M partition
44
44
# when combined with static partitioning
45
- CONFIG_PM_PARTITION_SIZE_TFM=0x10000
45
+ # CONFIG_PM_PARTITION_SIZE_TFM=0x10000
46
+
47
+ # If CONFIG_BOOTLOADER_MCUBOOT is set, adjust the TF-M partition size
48
+ CONFIG_PM_PARTITION_SIZE_TFM=$(if $(CONFIG_BOOTLOADER_MCUBOOT),0xFE00,0x10000)
46
49
47
50
# The bootloader adds a small mcuboot_pad partition,
48
51
# whose size must be subtracted from the TF-M partition
You can’t perform that action at this time.
0 commit comments