diff options
author | Andrew Leech <andrew.leech@planetinnovation.com.au> | 2025-06-05 10:43:48 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-06-10 11:09:14 +1000 |
commit | 95203ab88b50f5083c28afe6a39aae605b4df2da (patch) | |
tree | 225f2aecb3da2e2bab51a692f301510add862b91 /docs/esp8266/tutorial/powerctrl.rst | |
parent | b8e56a17b126fd990b7cdf3fb81944d504146f69 (diff) |
tools/boardgen.py: Ensure board pin locals_dict has consistent order.
`tools/boardgen.py` is used by the `make-pins.py` scripts in many ports to
generate the pin definitions for the machine module.
In #17391 it was found that this is currently generating the C structs for
board pin definitions with inconsistent ordering (across different build
runs), which makes it sometimes impossible to get a consistent binary file
even for no change in source files.
This commit fixes that by sorting the board pin names alphabetically.
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
Diffstat (limited to 'docs/esp8266/tutorial/powerctrl.rst')
0 files changed, 0 insertions, 0 deletions