diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2022-06-25 21:19:30 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2022-06-25 21:19:30 +0530 |
commit | 158df569bc1efa4fea1272e6c8f232efed194aa7 (patch) | |
tree | 3bddbffc549102ef3fabae8bdaf0e1e13360cf7e /circuitpython/build.sh | |
parent | a7c25f19d9700c008e6d6b5b4f95ea6103bda8ab (diff) |
progress
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 |