Skip to content

copton/ocram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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