mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-17 08:41:03 +00:00
Simplify run target for platform=fpga
This commit is contained in:
parent
38ae6be6e2
commit
f6ff1d54b5
1 changed files with 8 additions and 2 deletions
|
|
@ -336,8 +336,14 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq '$(platform)' 'fpga'
|
ifeq '$(platform)' 'fpga'
|
||||||
run:
|
launch_fpga:
|
||||||
$(PULPRT_HOME)/bin/elf_run_genesys2.sh $(TARGETS)
|
@echo "file $(TARGETS)" > $@
|
||||||
|
@echo "target remote :3333" >> $@
|
||||||
|
@echo "monitor reset halt" >> $@
|
||||||
|
@echo "load" >> $@
|
||||||
|
@echo "c" >> $@
|
||||||
|
run: launch_fpga
|
||||||
|
/opt/riscv/bin/riscv32-unknown-elf-gdb -x launch_fpga
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dis:
|
dis:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue