4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-22 15:03:21 +08:00
2023-01-19 21:40:49 -05:00

8 lines
134 B
Bash
Executable File

if [ ! -f "sdroot.bin" ]; then
dd if=/dev/zero of=sdroot.bin bs=1M count=4
fi
mkfs.fat sdroot.bin
mcopy -i sdroot.bin root/bin/* ::