File tree Expand file tree Collapse file tree 3 files changed +6
-1454
lines changed Expand file tree Collapse file tree 3 files changed +6
-1454
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ os/Cargo.lock
66user /target /*
77user /.idea /*
88user /Cargo.lock
9+ tools /
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ disasm-vim: kernel
7171 @vim $(DISASM_TMP )
7272 @rm $(DISASM_TMP )
7373
74- run : run-inner
74+ run : tools run-inner
75+
76+ tools :
77+ (which $( K210-BURNER) ) || (cd .. && git clone https://github.com/sipeed/kflash.py.git && mv kflash.py tools)
7578
7679run-inner : build
7780ifeq ($(BOARD ) ,qemu)
@@ -97,4 +100,4 @@ debug: build
97100 tmux split-window -h " riscv64-unknown-elf-gdb -ex 'file $( KERNEL_ELF) ' -ex 'set arch riscv:rv64' -ex 'target remote localhost:1234'" && \
98101 tmux -2 attach-session -d
99102
100- .PHONY : build env kernel clean disasm disasm-vim run-inner
103+ .PHONY : build env kernel clean disasm disasm-vim run-inner tools
You can’t perform that action at this time.
0 commit comments