firmware: use python3 interpreter, not python

This commit is contained in:
Michael Ossmann
2022-09-26 16:46:04 -04:00
parent f3d10dcc62
commit 1f9f597ea8
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ jobs:
run: |
brew tap armmbed/formulae
brew install arm-none-eabi-gcc dfu-util
pip install PyYAML
pip3 install PyYAML
if: matrix.os == 'macos-latest'
- name: Install dependencies (Ubuntu)

View File

@ -231,7 +231,7 @@ macro(DeclareTargets)
COMMAND rm -f _tmp.dfu _header.bin
COMMAND cp ${PROJECT_NAME}_dfu.bin _tmp.dfu
COMMAND dfu-suffix --vid=0x1fc9 --pid=0x000c --did=0x0 -a _tmp.dfu
COMMAND python ${PATH_DFU_PY} ${PROJECT_NAME}
COMMAND python3 ${PATH_DFU_PY} ${PROJECT_NAME}
COMMAND cat _header.bin _tmp.dfu >${PROJECT_NAME}.dfu
COMMAND rm -f _tmp.dfu _header.bin
)