]> git.earman.xyz Git - sensor-watch.git/commitdiff
Replace python with python3 for calling uf2conv
authorWesley Ellis <tahnok@gmail.com>
Thu, 14 Jul 2022 18:42:32 +0000 (14:42 -0400)
committerWesley Ellis <tahnok@gmail.com>
Thu, 14 Jul 2022 18:42:32 +0000 (14:42 -0400)
Instead of calling python use python3.

On a default debian 11 install there is no python binary, only python3.
Given that the uf2conv script is written for python 3 I think this is a
safe change to make

make.mk

diff --git a/make.mk b/make.mk
index d8e2bf8a391d93410cf52a06d1fbb2f3c12a296c..dacce3fad3dc3125a8007a9d853b33e95c0403e6 100644 (file)
--- a/make.mk
+++ b/make.mk
@@ -45,7 +45,7 @@ ifndef EMSCRIPTEN
 CC = arm-none-eabi-gcc
 OBJCOPY = arm-none-eabi-objcopy
 SIZE = arm-none-eabi-size
-UF2 = python $(TOP)/utils/uf2conv.py
+UF2 = python3 $(TOP)/utils/uf2conv.py
 
 CFLAGS += -W -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations
 CFLAGS += --std=gnu99 -Os