From 1f9f597ea8c816e5335e54c8f08a90c943a6c733 Mon Sep 17 00:00:00 2001 From: Michael Ossmann Date: Mon, 26 Sep 2022 16:46:04 -0400 Subject: [PATCH] firmware: use python3 interpreter, not python --- .github/workflows/build.yml | 2 +- firmware/hackrf-common.cmake | 2 +- firmware/libopencm3 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a29e36f7f..7b91fd2fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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) diff --git a/firmware/hackrf-common.cmake b/firmware/hackrf-common.cmake index 7d6b2c7ac..6d7b0b58d 100644 --- a/firmware/hackrf-common.cmake +++ b/firmware/hackrf-common.cmake @@ -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 ) diff --git a/firmware/libopencm3 b/firmware/libopencm3 index 6cc98dcd3..55021bff2 160000 --- a/firmware/libopencm3 +++ b/firmware/libopencm3 @@ -1 +1 @@ -Subproject commit 6cc98dcd36653cd528c55a593c4989b8530b6b50 +Subproject commit 55021bff2bc94755059091177f2976e77b1dd7a1