mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
added iot-lab_M3 and temporarily dropped telosb support; split patch.txt
into separate patch files
This commit is contained in:
parent
e94912f7be
commit
ba3088c4bd
@ -21,13 +21,14 @@ endif
|
||||
.PHONY: all clean
|
||||
|
||||
all: $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/
|
||||
$(info *INFO* Building OpenWSN pkg)
|
||||
make -C $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
$(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)/: $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)
|
||||
$(AD)rm -rf $(CURDIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
$(AD)$(UNPACK) $< -d $(PKG_NAME)-$(PKG_VERSION)
|
||||
$(AD)$(UNPACK) -q $< -d $(PKG_NAME)-$(PKG_VERSION)
|
||||
$(AD)cd $@ && sh ../structure_changes.sh
|
||||
$(AD)cd $@ && patch -p0 -N -i ../patch.txt
|
||||
$(AD)cd $@ && sh ../apply_patches.sh
|
||||
|
||||
$(CURDIR)/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT):
|
||||
# Get PKG_VERSION of package from PKG_URL
|
||||
|
1
pkg/openwsn/Makefile.include
Normal file
1
pkg/openwsn/Makefile.include
Normal file
@ -0,0 +1 @@
|
||||
export INCLUDES += -I${RIOTBASE}/drivers/include/
|
@ -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.
|
||||
|
14
pkg/openwsn/apply_patches.sh
Normal file
14
pkg/openwsn/apply_patches.sh
Normal file
@ -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
|
38412
pkg/openwsn/patch.txt
38412
pkg/openwsn/patch.txt
File diff suppressed because it is too large
Load Diff
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154.c.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154.h.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154E.c.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154E.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154E.h.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_IEEE802154E.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_stupidmac_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_stupidmac_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_stupidmac_stupidmac.c.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_stupidmac_stupidmac.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_stupidmac_stupidmac.h.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_stupidmac_stupidmac.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02a-MAClow_topology.c.patch
Normal file
BIN
pkg/openwsn/patches/02a-MAClow_topology.c.patch
Normal file
Binary file not shown.
0
pkg/openwsn/patches/02a-MAClow_topology.h.patch
Normal file
0
pkg/openwsn/patches/02a-MAClow_topology.h.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02b-MAChigh_neighbors.c.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_neighbors.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02b-MAChigh_neighbors.h.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_neighbors.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02b-MAChigh_res.c.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_res.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02b-MAChigh_res.h.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_res.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02b-MAChigh_schedule.c.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_schedule.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/02b-MAChigh_schedule.h.patch
Normal file
BIN
pkg/openwsn/patches/02b-MAChigh_schedule.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03a-IPHC_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/03a-IPHC_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03a-IPHC_iphc.c.patch
Normal file
BIN
pkg/openwsn/patches/03a-IPHC_iphc.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03a-IPHC_iphc.h.patch
Normal file
BIN
pkg/openwsn/patches/03a-IPHC_iphc.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03a-IPHC_openbridge.c.patch
Normal file
BIN
pkg/openwsn/patches/03a-IPHC_openbridge.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03a-IPHC_openbridge.h.patch
Normal file
BIN
pkg/openwsn/patches/03a-IPHC_openbridge.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_forwarding.c.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_forwarding.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_forwarding.h.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_forwarding.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6.c.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6.h.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6echo.c.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6echo.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6echo.h.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6echo.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6rpl.c.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6rpl.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6rpl.h.patch
Normal file
BIN
pkg/openwsn/patches/03b-IPv6_icmpv6rpl.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_opencoap.c.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_opencoap.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_opencoap.h.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_opencoap.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_opentcp.c.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_opentcp.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_opentcp.h.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_opentcp.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_openudp.c.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_openudp.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_openudp.h.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_openudp.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_rsvp.c.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_rsvp.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/04-TRAN_rsvp.h.patch
Normal file
BIN
pkg/openwsn/patches/04-TRAN_rsvp.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_Makefile.patch
Normal file
Binary file not shown.
0
pkg/openwsn/patches/07-App_heli_heli.c.patch
Normal file
0
pkg/openwsn/patches/07-App_heli_heli.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_heli_heli.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_heli_heli.h.patch
Normal file
Binary file not shown.
0
pkg/openwsn/patches/07-App_heli_heli.py.patch
Normal file
0
pkg/openwsn/patches/07-App_heli_heli.py.patch
Normal file
BIN
pkg/openwsn/patches/07-App_imu_imu.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_imu_imu.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_imu_imu.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_imu_imu.h.patch
Normal file
Binary file not shown.
0
pkg/openwsn/patches/07-App_imu_imu.py.patch
Normal file
0
pkg/openwsn/patches/07-App_imu_imu.py.patch
Normal file
BIN
pkg/openwsn/patches/07-App_layerdebug_layerdebug.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_layerdebug_layerdebug.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_layerdebug_layerdebug.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_layerdebug_layerdebug.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_ohlone_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_ohlone_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone_webpages.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone_webpages.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone_webpages.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_ohlone_ohlone_webpages.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rex_rex.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rex_rex.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rex_rex.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rex_rex.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rheli_rheli.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rheli_rheli.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rheli_rheli.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rheli_rheli.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rinfo_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rinfo_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rinfo_rinfo.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rinfo_rinfo.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rinfo_rinfo.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rinfo_rinfo.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rleds_rleds.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rleds_rleds.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rleds_rleds.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rleds_rleds.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rreg_rreg.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rreg_rreg.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rreg_rreg.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rreg_rreg.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rrube_rrube.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rrube_rrube.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rrube_rrube.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rrube_rrube.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rt_rt.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rt_rt.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rt_rt.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rt_rt.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rwellknown_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rwellknown_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rwellknown_rwellknown.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rwellknown_rwellknown.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rwellknown_rwellknown.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rwellknown_rwellknown.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rxl1_rxl1.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rxl1_rxl1.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_rxl1_rxl1.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_rxl1_rxl1.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpecho_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpecho_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpecho_tcpecho.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpecho_tcpecho.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpecho_tcpecho.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpecho_tcpecho.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpinject_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpinject_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpinject_tcpinject.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpinject_tcpinject.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpinject_tcpinject.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpinject_tcpinject.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpprint_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpprint_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpprint_tcpprint.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpprint_tcpprint.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_tcpprint_tcpprint.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_tcpprint_tcpprint.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpecho_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpecho_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpecho_udpecho.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpecho_udpecho.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpecho_udpecho.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpecho_udpecho.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpecho_udpecho.py.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpecho_udpecho.py.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpinject_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpinject_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpinject_udpinject.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpinject_udpinject.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpinject_udpinject.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpinject_udpinject.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udplatency_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udplatency_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udplatency_udplatency.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udplatency_udplatency.c.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udplatency_udplatency.h.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udplatency_udplatency.h.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpprint_Makefile.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpprint_Makefile.patch
Normal file
Binary file not shown.
BIN
pkg/openwsn/patches/07-App_udpprint_udpprint.c.patch
Normal file
BIN
pkg/openwsn/patches/07-App_udpprint_udpprint.c.patch
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user