Makefile: Remove old flash/serial targets

This commit is contained in:
Keir Fraser
2024-12-10 10:50:19 +00:00
parent 5d1d1ee516
commit a9856039d3

View File

@@ -64,25 +64,3 @@ dist: FORCE all
cp -a README $(t)/
cp -a RELEASE_NOTES $(t)/
cd out && zip -r $(PROJ)-$(VER).zip $(PROJ)-$(VER)
BAUD=115200
DEV=/dev/ttyUSB0
SUDO=sudo
STM32FLASH=stm32flash
T=out/$(target)/greaseweazle/target.hex
ocd: FORCE all
$(PYTHON) scripts/telnet.py localhost 4444 \
"reset init ; flash write_image erase `pwd`/$(T) ; reset"
f1_ocd: FORCE all
$(PYTHON) scripts/openocd/flash.py `pwd`/$(T)
flash: FORCE all
$(SUDO) $(STM32FLASH) -b $(BAUD) -w $(T) $(DEV)
start: FORCE
$(SUDO) $(STM32FLASH) -b $(BAUD) -g 0 $(DEV)
serial: FORCE
$(SUDO) miniterm.py $(DEV) 3000000