-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added iot-lab_M3 and temporarily dropped telosb support; split patch.txt
into separate patch files
- Loading branch information
1 parent
e94912f
commit ba3088c
Showing
157 changed files
with
19,231 additions
and
38,442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export INCLUDES += -I${RIOTBASE}/drivers/include/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,32 @@ | ||
# 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. | ||
|
||
# Compatibility | ||
|
||
This port of the openwsn stack is compatible with the TelosB board only for now. | ||
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. | ||
The hardware dependency will be reduced in the future and thous running on more | ||
hardware platforms. | ||
|
||
# Usage | ||
|
||
A test can be found in the [projects repository](https://github.com/RIOT-OS/projects/) | ||
named ```test_openwsn_pkg``` with an example ```Makefile```. | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -o nounset # Treat unset variables as an error | ||
|
||
if [[ $QUIET == "1" ]]; then | ||
for i in `ls ../patches`; do | ||
patch -p1 -N -i ../patches/$i > /dev/null | ||
done | ||
else | ||
for i in `ls ../patches`; do | ||
patch -p1 -N -i ../patches/$i | ||
done | ||
fi | ||
exit 0 |
Oops, something went wrong.