Skip to content

digistump/buildpack-oak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buildpack for Oak devices

Buildpack for Oak devices using Particle.

Build Status

Oak (you are here)
Base

This image inherits base buildpack.

Building image

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 .

Running

$ 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

Input files

Source files have to be placed in ~/tmp/input

Output files

If compilation succeeds ~/tmp/output will be propagated with:

  • firmware.bin - compiled firmware

Log files

Following logs will be placed in ~/tmp/log:

  • run.log - stdout combined with stderr
  • stderr.log - contents of stderr, usefull to parse gcc errors

About

Buildpack for modern (HAL) Particle firmware

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 97.8%
  • Shell 2.2%