Buildpack for Oak devices using Particle.
| Oak (you are here) |
| Base |
This image inherits base buildpack.
Before building this image, build or pull buildpack-base.
$ export BUILDPACK_IMAGE=oak
$ git clone "git@github.com:digistump/buildpack-${BUILDPACK_IMAGE}.git"
$ cd buildpack-$BUILDPACK_IMAGE
$ docker build -t digistump/buildpack-$BUILDPACK_IMAGE .$ mkdir -p ~/tmp/input && mkdir -p ~/tmp/output && mkdir -p ~/tmp/cache
$ docker run --rm \
-v ~/tmp/input:/input \
-v ~/tmp/output:/output \
-v ~/tmp/cache:/cache \
-v ~/tmp/log:/log \
digistump/buildpack-oakSource files have to be placed in ~/tmp/input
If compilation succeeds ~/tmp/output will be propagated with:
firmware.bin- compiled firmware
Following logs will be placed in ~/tmp/log:
run.log-stdoutcombined withstderrstderr.log- contents ofstderr, usefull to parsegccerrors