Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract_dts_includes.py: deterministic flash table with Python < 3.6
To reproduce the issue this addresses, run "cmake -B96b_nitrogen" twice with Python 3.5. Observe the order of the flash partition table changing in: "build{1,2}/zephyr/include/generated/generated_dts_board.conf" and "generated_dts_board_unfixed.h" Dictionaries are iterated in a random order by Python 3.5 and before. This could have caused "Unstable" CI in PR #13921 and maybe others. Anyway we want builds to be determimistic by default. Explicit randomness can be added for better coverage but not by default. Signed-off-by: Marc Herbert <[email protected]>
- Loading branch information