Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 1.81 KB

README.mkd

File metadata and controls

66 lines (52 loc) · 1.81 KB

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
$ 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