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
..

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.