mirror of
https://github.com/keirf/greaseweazle-firmware.git
synced 2025-10-24 11:00:50 -07:00
Makefile: Remove old flash/serial targets
This commit is contained in:
22
Makefile
22
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user