Open lnw opened 3 years ago
The py2hex
command line tool should be available when uflash is pip installed. This is done by setting the "console scripts" entry point in:
https://github.com/ntoll/uflash/blob/147ea945fbe841b0ae17888ab60a60c6080b1225/setup.py#L40-L42
The py2hex tool that is described seems to be missing. I see the function in uflash.py, but one still has to add something trivial like
py2hex.py: --->>--- import uflash import sys if name == 'main': uflash.py2hex(sys.argv[1:]) ---<<----
or am I missing some trick here?