Skip to content

Commit a985603

Browse files
committed
Makefile: Remove old flash/serial targets
1 parent 5d1d1ee commit a985603

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

Makefile

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,3 @@ dist: FORCE all
6464
cp -a README $(t)/
6565
cp -a RELEASE_NOTES $(t)/
6666
cd out && zip -r $(PROJ)-$(VER).zip $(PROJ)-$(VER)
67-
68-
BAUD=115200
69-
DEV=/dev/ttyUSB0
70-
SUDO=sudo
71-
STM32FLASH=stm32flash
72-
T=out/$(target)/greaseweazle/target.hex
73-
74-
ocd: FORCE all
75-
$(PYTHON) scripts/telnet.py localhost 4444 \
76-
"reset init ; flash write_image erase `pwd`/$(T) ; reset"
77-
78-
f1_ocd: FORCE all
79-
$(PYTHON) scripts/openocd/flash.py `pwd`/$(T)
80-
81-
flash: FORCE all
82-
$(SUDO) $(STM32FLASH) -b $(BAUD) -w $(T) $(DEV)
83-
84-
start: FORCE
85-
$(SUDO) $(STM32FLASH) -b $(BAUD) -g 0 $(DEV)
86-
87-
serial: FORCE
88-
$(SUDO) miniterm.py $(DEV) 3000000

0 commit comments

Comments
 (0)