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 "[email protected]: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-oak
Source 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
-stdout
combined withstderr
stderr.log
- contents ofstderr
, usefull to parsegcc
errors