Skip to content

Commit d1299d2

Browse files
committed
fw/wscript: do not limit MFG PRF size on asterix/obelix
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
1 parent eb1a923 commit d1299d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/fw/wscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ def _generate_memory_layout(bld):
122122
elif bld.env.MICRO_FAMILY == 'SF32LB52':
123123
# We use XIP flash, so the bootloader does not have to be taken into account.
124124
bootloader_size = '0K'
125-
if bld.is_obelix() and bld.variant == 'prf':
125+
if bld.is_obelix() and bld.variant == 'prf' and not bld.env.IS_MFG:
126126
flash_size = '512K'
127127
else:
128128
flash_size = '3072K'
129129

130130
elif bld.env.MICRO_FAMILY == 'NRF52840':
131131
bootloader_size = '32K'
132-
if bld.is_asterix() and bld.variant == 'prf':
132+
if bld.is_asterix() and bld.variant == 'prf' and not bld.env.IS_MFG:
133133
flash_size = '512K'
134134
else:
135135
flash_size = '1024K'

0 commit comments

Comments
 (0)