Adding support for compiling c++ programs for the Pebble SDK (supports both c & c++ programs) note: this repository is a work in progress
This repo is an entire fork of the PebbleOS repository, but the sdk/ and waftools/ directories are what's mostly important
- install the Pebble SDK
- clone this repo to your system
- check out the version corresponding to your installed Pebble SDK:
git checkout vX.XX.X. see below for supported SDK versions & associated tag - follow PebbleOS set-up guide to install prereqs
- build the SDK tools:
./build_sdk.shnote: the build script only runs for Emery, Flint & Gabbro platforms (Time 2, 2 Duo, Round 2 devices respectively) - install the locally built sdk:
pebble sdk install --tintin <path-to-repo> - profit:
pebble clean && pebble build --sdk tintin && pebble install --emulator (emery | flint | gabbro)
4.17(tag:v4.17)
Thanks imax9000 for providing code snippets & pointers