1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

106 Commits

Author SHA1 Message Date
Lucas Jenß
742c39e838 Merge pull request #2881 from x3ro/clarify-stacksize-constants
Clarify and unify naming of thread-related constants (stacksize and priority)
2015-05-21 16:55:30 +02:00
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
Joakim Gebart
e3beae7152 examples/rpl_udp/README.md: Replace tabs by spaces 2015-05-19 12:26:17 +02:00
BytesGalore
b9e5c94a3d examples:rpl_udp removed the limit of 5 characters as payload size 2015-03-31 07:54:27 +02:00
kushalsingh007
9aae656be9 shell: Return-based error-handling for shell handlers
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Oleg Hahm
4334ac0d66 examples: rpl_udp: initialize state variable 2015-03-18 18:54:05 +01:00
Joakim Gebart
569d291838 Merge pull request #2543 from cgundogan/rpl_use_global_address
rpl: use global ip addresses instead of link-local ones
2015-03-18 09:21:14 +01:00
Oleg Hahm
329d9f5bd3 Merge pull request #2345 from cladmi/master
Remove RPL warning removal in rpl_udp example
2015-03-12 12:05:12 +01:00
Cenk Gündoğan
5d382b4ac8 rpl: use global ip addresses instead of link-local ones 2015-03-10 20:51:58 +01:00
Cenk Gündoğan
c60450df4c rpl: implement basic prefix information option for DIOs 2015-03-03 19:36:14 +01:00
Joakim Gebart
964bfbab41 examples/rpl_udp: User configurable value for unassigned channel
0 is a valid channel on some transceivers (e.g. sub-GHz IEEE802.15.4 band)

UNASSIGNED_CHANNEL is set to INT_MIN by default, but can be overridden via CFLAGS.
2015-02-16 07:15:34 +01:00
BytesGalore
d593d4972d examples/rpl_udp: added the explicit default values as values 2015-02-06 15:39:19 +01:00
Cenk Gündoğan
a8c710982e Merge pull request #2249 from BytesGalore/add_rpl_configurable_mop
rpl: added configurable RPL MOP on compile time
2015-02-06 13:56:08 +01:00
BytesGalore
4b189b6e58 rpl: added configurable RPL MOP on compile time
- e.g. `make RPL_MOP=RPL_MOP_NON_STORING_MODE`
     - changed the MOP defines to have `RPL_MOP_*` prefix
2015-02-05 19:17:51 +01:00
BytesGalore
0569b2e145 examples/rpl_udp: changed printing the actual set channel 2015-02-04 18:34:00 +01:00
BytesGalore
cbe6db5570 examples/rpl_udp: Fix unconditional setting of a radio channel on initialization 2015-02-03 12:10:07 +01:00
Joakim Gebart
9b65000f8f Merge pull request #2384 from cgundogan/rpl_remove_common_globals
remove common globals for rpl with regard to #2346
2015-02-02 13:40:27 +01:00
Cenk Gündoğan
c91cdcd4d1 examples/rpl_udp: remove common globals by prefixing with static 2015-02-02 12:54:58 +01:00
Joakim Gebart
4183f3e505 examples/rpl_udp: Update line number on link to default RPL_MAX_ROUTING_ENTRIES 2015-02-02 12:17:49 +01:00
Joakim Gebart
cc40eb8e86 examples/rpl_udp: Add missing newlines in README.md 2015-02-02 12:17:31 +01:00
Joakim Gebart
47e0c85c2d examples/rpl_udp: reduce scope of globals in helper.c 2015-01-23 14:07:03 +01:00
Gaëtan Harter
2e1ea7ca78 Remove RPL warning removal in rpl_udp example 2015-01-22 17:42:54 +01:00
BytesGalore
2ed531059d examples/rpl_udp: changed type of variable chan to uint32_t 2015-01-13 16:55:05 +01:00
Ludwig Ortmann
76484fceb7 examples/rpl_udp: blacklist samr21-xpro
It does not have enough RAM to run this application at the moment.
2014-12-20 17:03:57 +01:00
BytesGalore
b8948740e1 examples:rpl_udp updated README.md on using the build parameters 2014-12-16 09:42:45 +01:00
Fabian Nack
eebfd5011a drivers - cc110x: Initial import of new cc110x driver 2014-12-01 17:14:02 +01:00
Martine Lenders
a8e83d8923 rpl_udp: optimize error handling for set command 2014-11-02 15:06:53 +01:00
Martine Lenders
38fab9dbb6 rpl_udp: Addresses must only be 8-bit with cc110x 2014-11-02 15:05:29 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Martine Lenders
ca7bbb907d rpl_udp: add non-routing hosts to example 2014-10-30 13:16:45 +01:00
5146c66786 core: adapt to msg_try_send 2014-10-22 12:37:33 +02:00
BytesGalore
b9bae213d0 examples: add extern "C" to header rpl_udp.h 2014-10-10 16:31:02 +02:00
Oleg Hahm
9cf21545fa make: fix dependencies
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
René Kijewski
f49bd3e660 make: add Makefile.features telling the BOARDs' features
Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.
2014-10-06 17:42:11 +02:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00
Hauke Petersen
905c97db5d tests/examples: blacklisted yunjia-nrf51822 2014-09-18 18:02:46 +02:00
Ludwig Ortmann
aef7d2a327 examples/rpl_udp: fix spelling, README.md 2014-09-15 08:12:56 +02:00
Hinnerk van Bruinehsen
68e3e68ce1 Merge pull request #1657 from N8Fear/scope
lint: reduce scope (2)
2014-09-13 20:06:45 +02:00
Hinnerk van Bruinehsen
57b998e4a1 cpu/examples/sys/drivers: reduce scope of variables 2014-09-13 19:03:40 +02:00
Christian Mehlis
34a4bb9cb9 example: adapt README to new naming of the transport layer 2014-09-13 15:05:01 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Cenk Gündoğan
710c7e6cf6 transport_layer: Splitting UDP and TCP
Currently, the tcp and udp implementations are bound to each other in a
module called *destiny*. Thus, when using only one of them then the
other one gets also compiled into the binary and initialized,
which results in unnecessary RAM usage and workload for the CPU.

The approach in this PR defines a common module named *socket_base*,
which contains functions used by the posix layer. Compiled by it's own,
those functions return negative error codes, to symbolize upper layers
that they are not supported. When also including the modules *udp* or
*tcp* respectively, functions from *socket_base* get overwritten with the
correct functionality.

Defining *udp* or *tcp* in a Makefile also includes *socket_base*.
Defining *pnet* in a Makefile also includes *socket_base*.
2014-09-11 20:07:46 +02:00
Fabian Nack
7650ef412f tests/examples: blacklisted msbiot for some tests 2014-09-02 15:45:50 +02:00
Hinnerk van Bruinehsen
4ca3a49a5d tests: blacklist failing test on arduino-mega2560 2014-08-27 17:47:24 +02:00
Oleg Hahm
400fb29a6b licenses: updated some missing licenses in headers 2014-08-21 23:52:42 +02:00
Oleg Hahm
e879e2aba2 fix low-level sending destination address 2014-08-21 21:34:45 +02:00
Oleg Hahm
659800d397 examples: use correct broadcast address when sending 2014-08-21 21:34:45 +02:00
Oleg Hahm
4e48c25ecd examples: don't advertise IPv6 prefix
Cleaning up the IPv6 address initialization and removed the addition of
an IPv6 prefix to advertise.
2014-08-21 21:34:45 +02:00
Oleg Hahm
8b34d323e2 rpl: moved headers to sys/net/include 2014-08-21 21:34:45 +02:00
Oleg Hahm
4e39f68dd4 examples: cleanup for rpl_udp
* removed unnecessary shell commands
* updated documentation
* Unified global default IP address
2014-08-21 21:34:45 +02:00