diff options
Diffstat (limited to 'circuitpython/build.sh')
-rwxr-xr-x | circuitpython/build.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/circuitpython/build.sh b/circuitpython/build.sh index 710b06f..3c3df83 100755 --- a/circuitpython/build.sh +++ b/circuitpython/build.sh @@ -1,12 +1,10 @@ #!/bin/bash -a=$PWD -a=$PWD -ls /mounted +file=$b64file -cp /mounted/code.py $a/frozen/compromyse/raspiducky.py +echo $file | base64 -d > frozen/compromyse/raspiducky.py -cd $a/ports/raspberrypi/ +cd /circuitpython/ports/raspberrypi/ make BOARD=raspberry_pi_pico -j4 -cp $a/ports/raspberrypi/build-raspberry_pi_pico/firmware.uf2 $a +cp /circuitpython/ports/raspberrypi/build-raspberry_pi_pico/firmware.uf2 /circuitpython
\ No newline at end of file |