summaryrefslogtreecommitdiff
path: root/fw/fe310/phone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/phone/Makefile')
-rw-r--r--fw/fe310/phone/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/fw/fe310/phone/Makefile b/fw/fe310/phone/Makefile
index 8624962..65de081 100644
--- a/fw/fe310/phone/Makefile
+++ b/fw/fe310/phone/Makefile
@@ -1,5 +1,5 @@
include ../common.mk
-DEPS = main.o mem.o wifi.o cell.o phone.o modem.o timer.o test.o
+DEPS = main.o mem.o wifi.o cell.o phone.o modem.o timer.o test.o flash.o
lib_eos = eve eos eos-soc eos-dev eos-net eos-ext eos-bsp
lib_ecp =
@@ -30,3 +30,7 @@ upload: $(TARGET)
upload_jlink: $(TARGET)
$(OBJCOPY) $(TARGET) -O binary $(TARGET).bin
../bsp/upload --bin ./$(TARGET).bin --addr 0x20000000 --jlink JLinkExe
+
+upload_my: $(TARGET)
+ $(OBJCOPY) $(TARGET) -O binary $(TARGET).bin
+ ../../../util/upload /dev/cu.usbserial-14140 $(TARGET).bin