Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Move kflash.py out of proj.
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfcyx committed Feb 8, 2021
1 parent 33373aa commit 1cc75de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1,454 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ os/Cargo.lock
user/target/*
user/.idea/*
user/Cargo.lock
tools/
7 changes: 5 additions & 2 deletions os/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ disasm-vim: kernel
@vim $(DISASM_TMP)
@rm $(DISASM_TMP)

run: run-inner
run: tools run-inner

tools:
(which $(K210-BURNER)) || (cd .. && git clone https://github.com/sipeed/kflash.py.git && mv kflash.py tools)

run-inner: build
ifeq ($(BOARD),qemu)
Expand All @@ -97,4 +100,4 @@ debug: build
tmux split-window -h "riscv64-unknown-elf-gdb -ex 'file $(KERNEL_ELF)' -ex 'set arch riscv:rv64' -ex 'target remote localhost:1234'" && \
tmux -2 attach-session -d

.PHONY: build env kernel clean disasm disasm-vim run-inner
.PHONY: build env kernel clean disasm disasm-vim run-inner tools
Loading

0 comments on commit 1cc75de

Please sign in to comment.