소스 검색

makefile modification to work without needing both python2 and python3 installed

Dusan Zivkovic 3 년 전
부모
커밋
e9fca40c7d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      RemoteIDModule/Makefile

+ 2 - 2
RemoteIDModule/Makefile

@@ -73,11 +73,11 @@ checkdev:
 
 upload-%: checkdev
 	@echo "Flashing ArduRemoteID-$*.bin"
-	$(ESPTOOL) --port $(SERDEV) write_flash 0x0 ArduRemoteID-$*.bin
+	@python3 $(ESPTOOL) --port $(SERDEV) write_flash 0x0 ArduRemoteID-$*.bin
 
 uploadota-%: checkdev
 	@echo "Flashing ArduRemoteID-$*_OTA.bin"
-	$(ESPTOOL) --port $(SERDEV) write_flash 0x10000 ArduRemoteID_$*_OTA.bin
+	@python3 $(ESPTOOL) --port $(SERDEV) write_flash 0x10000 ArduRemoteID_$*_OTA.bin
 
 upload: upload-ESP32S3_DEV