summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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