1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/openwsn
Lucas Jenss 426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
..
.gitattributes pkg: Add .gitattributes to ignore whitespace errors inside some included patch files. 2015-05-09 11:35:15 +02:00
.gitignore pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
0001-Add-RIOT-Makefiles.patch pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
0002-Add-RIOT-adaption.patch pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
0003-Fix-old-style-definitions.patch Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
0004-provide-openserial-dummies.patch pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
0005-fixes-to-RIOT-adaption.patch Improve naming of thread stacksize/priority constants 2015-05-21 00:14:23 +02:00
Makefile boards/fox: define empty orange LED macros 2014-12-31 00:14:40 +01:00
README.md pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00

OpenWSN on RIOT

This port of OpenWSN to RIOT is based on current OpenWSN upstream providing a BSP with RIOT's interfaces. Currently supported are iot-lab_M3 and fox. More boards will follow through improvements in netdev radio driver interface.

Usage

A test can be found in tests/openwsn providing a shell command to initialise as root or listening node. And providing a sample Makefile.

Build using

$> export BOARD=iot-lab_M3
$> export PORT=/dev/ttyTHEPORTOFYOURIOTLAB
$> make -B clean flash term

To use OpenWSN with RIOT it has to be added to the used packages variable

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.