From 5960f7a1bb41cd42d2a98fe7aaab8ec32051fccc Mon Sep 17 00:00:00 2001 From: David Kilias Date: Tue, 2 Mar 2021 20:56:28 +0100 Subject: [PATCH] fix makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 45b14b1..bcbd242 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ PORT = /dev/ttyUSB5 micropython: curl https://micropython.org/resources/firmware/$(MICRO_PYTON_BINARY) --output $(MICRO_PYTON_BINARY) - esptool.py --chip esp32 -p $(PORT) esrase_flash - esptool.py --chip esp32 -p $(PORT) write_flash -z 0x1000 <$ + esptool.py --chip esp32 -p $(PORT) erase_flash + esptool.py --chip esp32 -p $(PORT) write_flash -z 0x1000 $(MICRO_PYTON_BINARY) upload: find . -maxdepth 1 -name '*.py' -exec ampy -p $(PORT) put {} \; @@ -14,8 +14,10 @@ upload: term: picocom -b 115200 $(PORT) -devenv: +venv: python3 -m virtualenv venv + +requirements: pip install -r requirements.txt filelist: