14 lines
232 B
Bash
Executable File
14 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DISK_ID=usb-RPI_RP2350_DD85828F2371B53B-0:0
|
|
#DISK_ID=usb-RPI_RP2350_6F361FE334DD320F-0:0
|
|
TARGET=sint-gauntlet.uf2
|
|
|
|
cd ./build
|
|
cmake ..
|
|
make -j
|
|
sudo mount "/dev/disk/by-id/$DISK_ID-part1" /mnt
|
|
sudo cp $TARGET /mnt
|
|
sync
|
|
|