Closed Crazor closed 3 years ago
On macOS, /usr/bin/python defaults to python2, which breaks uf2conf.py. The script already has a shebang line to call through the python3 that /usr/bin/env finds, so it is now called directly.
/usr/bin/python
python2
uf2conf.py
python3
/usr/bin/env
This needs microsoft/uf2#32 for correct permissions.
I changed it in rules.mk to run python3 - I think this is more cross-platform.
Thanks for pointing this out though!
On macOS,
/usr/bin/python
defaults topython2
, which breaksuf2conf.py
. The script already has a shebang line to call through thepython3
that/usr/bin/env
finds, so it is now called directly.This needs microsoft/uf2#32 for correct permissions.