Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A Comprehensive Compiler-Assisted Thread Abstraction for Resource-Constrained Systems
Haskell C Python Java Shell C++
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
applications fixed os header of simulation os
benchmark monochrome plots
patches/contiki removed trailing whitspace from Contiki patch
try fixed normalize_critical_calls
util adapted make script to cabal infrastructure
.gitignore how many temporary vim files are there?
LICENSE creating a cabal package
README.mkd prepare for Haskell-based Ruab implementation
Setup.hs creating a cabal package
diff improved diff tool
fixit fixit: small util to quickly fix compiler errors
make split ocram project into ocram, ruab, and shared library
setup pass debug information between compiler and debugger




  • of course, different versions might work as well. This is what worked for us.
  • if you just want to build and test Ocram itself, GHC and cabal-dev are enough.

Building and Testing Ocram

$ cd /path/to/repository
$ source ./setup
$ cd ocram
$ cabal-dev install
$ ./make

Running the evaluation

Setup Contiki chroot

  • we recommend debootstrap
  • configure schroot (use chroot name "contiki")
  • install the following packages in the chroot:
    • msp430-gcc
    • JDK
    • Ant

Prepare Cooja

$ schroot -c contiki
$ cd /path/to/contiki/tools/cooja
$ ant jar

Run the evaluation

$ cd /path/to/repository
$ source ./setup
$ cd applications/contiki
$ make plot

See the results

  • */bench.results
  • plots/numbers.txt
  • plots/*.png
Something went wrong with that request. Please try again.