Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Comprehensive Compiler-Assisted Thread Abstraction for Resource-Constrained Systems
Haskell C Python Java Other
branch: master

Merge branch 'hgdbmi'

latest commit c7166eab01
Alexander Bernauer authored
Failed to load latest commit information.
applications
benchmark monochrome plots
ocram minor stylistic fix
patches/contiki removed trailing whitspace from Contiki patch
ruab
try fixed normalize_critical_calls
util adapted make script to cabal infrastructure
.gitignore
LICENSE creating a cabal package
README.mkd prepare for Haskell-based Ruab implementation
Setup.hs creating a cabal package
diff
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

README.mkd

Dependencies

Note:

  • 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.