summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-05-25 19:57:11 +0200
committerGuido Günther <agx@sigxcpu.org>2015-05-25 20:05:15 +0200
commit02413ed8aed0861d4bc9a6a786eda862258ca0e5 (patch)
tree5b586e13ae60a6f80008e028d5fca8e432683388
parent65d934c584b9fff2c61c677c35fce808bb2f7ebe (diff)
Add compilation notes
-rw-r--r--hw/merkur-board.mdwn15
1 files changed, 14 insertions, 1 deletions
diff --git a/hw/merkur-board.mdwn b/hw/merkur-board.mdwn
index a9f2853..00c4048 100644
--- a/hw/merkur-board.mdwn
+++ b/hw/merkur-board.mdwn
@@ -20,8 +20,21 @@ Once flushed the board can be run on [battery power][3].
* [Details on how to flash the device][5] with avrdude
* The plant moisture sensor connects to [A5][6]
-But currently when trying the flash the merkur-board I'm only seeing
+Compiling works like
+ apt-get install avr-libc binutils-avr gcc-avr gdb-avr simulavr avrdude doxygen
+ git clone https://github.com/osdomotics/osd-contiki
+ cd ./osd-contiki/examples/osd/arduino-plantobserving
+ ./run.sh
+
+The build software can then be flushed to the device
+
+ sudo ./flash.sh
+
+Not that it used /dev/ttyUSB0 by default. This needs to be adjusted.
+Currently when trying the flash the merkur-board I'm only seeing
+
+ $ sudo apt-get install avrdude
$ cd osd-contiki/examples/osd/arduino-plantobserving
$ ./flash.sh /dev/ttyUSB4
INFO: compiling with CoAP-13