mmoskal / uf2-stm32f

UF2 bootloader for STM32F4
Other
114 stars 62 forks source link

Call uf2conf.py script directly instead of through python #20

Closed Crazor closed 3 years ago

Crazor commented 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.

This needs microsoft/uf2#32 for correct permissions.

mmoskal commented 3 years ago

I changed it in rules.mk to run python3 - I think this is more cross-platform.

Thanks for pointing this out though!