Quickstart

Installation

Install ppci in a virtualenv environment:

$ virtualenv sandbox
$ source sandbox/bin/activate
(sandbox) $ pip install ppci
(sandbox) $ ppci-build.py -h

If ppci installed correcly, you will get a help message.

Download and unzip the examples bundle project here examples.zip.

stm32f4 example

To build the blinky project do the following:

$ cd examples/blinky
$ ppci-build.py

Flash the hexfile using your flashtool of choice on the stm32f4discovery board and enjoy the magic.

arduino example

To build and the arduino blink led example, follow the following commands:

$ cd examples/arduino
$ ppci-build.py
$ avrdude -v -P /dev/ttyACM0 -c arduino -p m328p -U flash:w:blinky.hex

x86_64 example

Linux

Instead of for a board you can compile into a native linux binary:

$ cd examples/linux64/hello
$ ppci-build.py
$ ./hello

Windows

TODO

Mac

TODO

msp430 example

Flash program:

http://www.ti.com/tool/msp430-flasher