Skip to content

Commit

Permalink
Missing Make target to maek the file
Browse files Browse the repository at this point in the history
  • Loading branch information
guancio committed Dec 5, 2024
1 parent a81d71c commit 5cac676
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions projects/tutorial.09.fs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ gdb: kernel ${APPS}

gdb-openocd: kernel ${APPS}
@ELFS="${ELFS}" ${ROOT}/scripts/gdb-openocd.sh
disk-image:
qemu-img create fs.img 10M
mformat -i fs.img ::
echo "hello" > tmp.txt
mcopy -i fs.img tmp.txt ::/test.txt
rm tmp.txt

disk-read:
mdir -i fs.img
mcopy -i fs.img ::/NEWFILE.TXT extracted.txt
cat < extracted.txt
rm extracted.txt

size: ${ELFS}
${SIZE} ${ELFS}
Expand Down

0 comments on commit 5cac676

Please sign in to comment.