Skip to content

Commit 9f83e78

Browse files
authored
Add missing field to flash algo generation script (#946)
Add the missing field `algo_flags`
1 parent 6eca7e5 commit 9f83e78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/generate_flash_algo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@
120120
// address of prog_blob
121121
{{name}}_flash_prog_blob,
122122
// ram_to_flash_bytes_to_be_written
123-
{{'0x%08x' % algo.page_size}}
123+
{{'0x%08x' % algo.page_size}},
124+
// algo_flags (combination of kAlgoVerifyReturnsAddress, kAlgoSingleInitType and kAlgoSkipChipErase)
125+
0x00000000
124126
};
125127
126128
"""

0 commit comments

Comments
 (0)