Skip to content

Instantly share code, notes, and snippets.

@monkbroc
Created November 30, 2016 14:49
Show Gist options
  • Save monkbroc/94edfde050191ed251a68d30763a26ef to your computer and use it in GitHub Desktop.
Save monkbroc/94edfde050191ed251a68d30763a26ef to your computer and use it in GitHub Desktop.
Particle on Raspberry Pi local build script
#!/bin/bash
FIRMWARE=~/Programming/firmware
docker run --rm -it -v $FIRMWARE:/firmware -v $PWD:/input -v $PWD:/output particle/buildpack-raspberrypi $*
@monkbroc
Copy link
Author

Add this to ~/bin, make it executable with chmod +x ~/bin/pi_build and run it in your app folder with pi_build. Add additional make arguments like this: pi_build make clean all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment