2014-04-24 16:25:24 +02:00
|
|
|
# OpenWSN on RIOT
|
|
|
|
|
|
|
|
This port of OpenWSN to RIOT is based on release RB-1.4 with backported support
|
|
|
|
for the iot-lab_M3 board from the develop branch.
|
|
|
|
|
2014-01-16 21:31:44 +01:00
|
|
|
# Compatibility
|
|
|
|
|
2014-04-24 16:25:24 +02:00
|
|
|
This port of the openwsn stack is compatible with the iot-lab_M3 board only for now.
|
|
|
|
The TelosB board support was temporarily dropped but will return soon again.
|
2014-01-16 21:31:44 +01:00
|
|
|
The hardware dependency will be reduced in the future and thous running on more
|
|
|
|
hardware platforms.
|
|
|
|
|
2014-04-24 16:25:24 +02:00
|
|
|
# Usage
|
|
|
|
|
2014-01-16 21:31:44 +01:00
|
|
|
A test can be found in the [projects repository](https://github.com/RIOT-OS/projects/)
|
2014-04-24 16:25:24 +02:00
|
|
|
named ```test_openwsn_pkg``` with an example ```Makefile```.
|
|
|
|
|
|
|
|
Build using
|
|
|
|
```Bash
|
|
|
|
$> export BOARD=iot-lab_M3
|
|
|
|
$> export PORT=/dev/ttyTHEPORTOFYOURIOTLAB
|
|
|
|
$> make -B clean flash
|
|
|
|
```
|
|
|
|
|
|
|
|
To use OpenWSN with RIOT it has to be added to the used packages variable
|
|
|
|
```Makefile
|
|
|
|
USEPKG += openwsn
|
|
|
|
```
|
|
|
|
|
|
|
|
On the first build the archive will be fetched, patched and built.
|
|
|
|
**WARNING** A call of `make clean` also cleans the OpenWSN tree right now so
|
|
|
|
changes to the source code will be lost in the next build.
|