pxt-ev3/aux/build.sh

11 lines
227 B
Bash
Raw Normal View History

#!/bin/sh
LEGO=$HOME/src/lego/lms2012
2017-07-06 18:34:31 +02:00
P="`pwd`"
F="$P"/pxt
set -xe
cd $LEGO/lmssrc/adk/lmsasm
java -jar assembler.jar $F
2017-07-06 18:34:31 +02:00
cd "$P"
2017-07-06 18:58:15 +02:00
node -p 'require("fs").readFileSync("pxt.rbf").toString("hex").replace(/5858585858(58)+/, "XX")'