uf2-samdx1
uf2-samdx1 copied to clipboard
Makefile echo and python errors
- uf2-version.h Echo Generates "#define UF2_VERSION_BASE "v3.14.0-5-g779ccde-dirty"" instead of #define UF2_VERSION_BASE "v3.14.0-5-g779ccde-dirty"
- Pull request submitted with changes.
- python2 and python3 commands are not identified. changed to python, line numbers 177 and 187.
- In order to create a uf2-version.h Create a build folder. build/zero.
I had these exact same issues previously. They didn't write their makefile in a Windows-friendly manner, which is somewhat surprising given that they are Microsoft. But oh well.
Your changes pretty much match exactly what I also had to do to get the makefile to work on Windows. You may also consider changing how the "mkdir" command is called, and that way you won't have to create the "build" folder yourself.
I outline everything that I did in my response to this person's post on the adafruit fork:
https://github.com/adafruit/uf2-samdx1/issues/196