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

95 Commits

Author SHA1 Message Date
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
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
Oleg Hahm
ea1d1d68b6 examples: renamed rpl_udp header 2014-08-21 21:34:45 +02:00
Oleg Hahm
0ad7b170ed make kernel_pid_t comparisons consistent 2014-08-07 16:31:27 +02:00
epiktet
1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 2014-08-04 13:42:06 +02:00
Ludwig Ortmann
106137ff64 examples: use DEVELHELP per default 2014-08-01 18:49:56 +02:00
Oleg Hahm
983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Hauke Petersen
938c61a5a2 Merge pull request #1456 from haukepetersen/board_stm32f3discovery
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
2014-07-31 23:55:05 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Hauke Petersen
f2c8997acc examples/tests: blacklisted stm32f3discovery 2014-07-31 19:42:05 +02:00
Hauke Petersen
a49fc062bf test/examples: blacklisted stm32f4discovery 2014-07-16 17:20:53 +02:00
Hauke Petersen
082e970251 tests/examples: added stm32f0discovery to ignorelists 2014-07-16 15:21:33 +02:00
Ludwig Ortmann
1c825e2524 tests,examples: remove unneeded headers, fix style 2014-07-15 18:54:45 +02:00