mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
Simplify run target for platform=fpga
This commit is contained in:
parent
1ddf10447c
commit
a39271c9a3
1 changed files with 8 additions and 2 deletions
|
|
@ -336,8 +336,14 @@ endif
|
|||
endif
|
||||
|
||||
ifeq '$(platform)' 'fpga'
|
||||
run:
|
||||
$(PULPRT_HOME)/bin/elf_run_genesys2.sh $(TARGETS)
|
||||
launch_fpga:
|
||||
@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
|
||||
|
||||
dis:
|
||||
|
|
|
|||
Loading…
Reference in a new issue