From 158df569bc1efa4fea1272e6c8f232efed194aa7 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sat, 25 Jun 2022 21:19:30 +0530 Subject: progress --- circuitpython/build.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'circuitpython/build.sh') 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 -- cgit v1.2.3