Skip to content

Commit 85bc0d2

Browse files
marc-hbandrewboie
authored andcommitted
Revert "gen_app_partitions.py: make generated/app_smem_*.ld files deterministic"
This reverts commit 725abdf which did get rid of randomness in the order of the partition _names_ as claimed but regressed commit 212ec9a / feature #14121 and broke the previous size order which I missed. Huge thanks to Sigvart Hovland for spotting this in a post-merge but prompt code review. Proper fix in the next commit. Signed-off-by: Marc Herbert <[email protected]>
1 parent 70aa383 commit 85bc0d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gen_app_partitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def parse_elf_file(partitions):
162162
def generate_final_linker(linker_file, partitions):
163163
string = linker_start_seq
164164
size_string = ''
165-
for partition, item in sorted(partitions.items()):
165+
for partition, item in partitions.items():
166166
string += data_template.format(partition)
167167
if LIB in item:
168168
for lib in item[LIB]:

0 commit comments

Comments
 (0)