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

243 Commits

Author SHA1 Message Date
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
14824e9909 examples/default: reduce scope of globals in main.c 2015-01-23 14:08:11 +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
Oleg Hahm
e60d25de02 Merge pull request #1917 from OlegHahm/config_feature_cleanup
Config feature cleanup
2014-12-30 19:15:44 +01:00
Oleg Hahm
b56fb0cf2d examples: simplify Makefile a bit 2014-12-22 20:35:15 +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
Martine Lenders
5c9d749649 Merge pull request #2204 from authmillenon/riot_and_cpp/fix/not-link-stm32f0discovery
riot_and_cpp: do not link on build tests for stm32f0discovery
2014-12-16 21:31:55 +01:00
Martine Lenders
58e8b75fc7 riot_and_cpp: do not link on build tests for stm32f0discovery 2014-12-16 21:31:03 +01:00
Ludwig Ortmann
e7f6f640f6 Merge pull request #2060 from OlegHahm/periph_rtc
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
Ludwig Ortmann
8ec17560e4 examples/default: use periph/rtc instead of rtc
The rtc module is deprecated and will be removed.
2014-12-16 16:09:15 +01:00
Oleg Hahm
e64ab2aed5 Merge pull request #2024 from OlegHahm/ccnl_802154
ccn-lite: fixes for working with IEEE 802.15.4 radios
2014-12-16 11:03:20 +01:00
BytesGalore
b8948740e1 examples:rpl_udp updated README.md on using the build parameters 2014-12-16 09:42:45 +01:00
Oleg Hahm
a3d2f4a777 ccnl: fix argument passing in example app 2014-12-16 09:34:57 +01:00
Ludwig Ortmann
c0ef84bb9f native: move rtc to periph
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
1340fadcbe boards,drivers,examples: unset ENABLE_DEBUG 2014-12-12 14:29:06 +01:00
Fabian Nack
eebfd5011a drivers - cc110x: Initial import of new cc110x driver 2014-12-01 17:14:02 +01:00
Oleg Hahm
73dddfb601 Merge pull request #1635 from thomaseichinger/import_agilefox
boards: initial import for HiKoB Agilefox
2014-11-18 19:44:24 +01:00
Thomas Eichinger
256ce73d2c boards: initial import for HiKoB fox 2014-11-18 17:24:47 +01:00
Hauke Petersen
63455f7dd9 examples/riot_and_cpp: cleanup in Makefile
removed some deprecated comments about C++
2014-11-18 16:56:20 +01:00
BytesGalore
178b36ae0b exchanged BOARD_BLACKLIST with FEATURES_REQUIRED in the example Makefile
added cpp as feature for board native
2014-11-11 09:52:06 +01:00
Thomas Eichinger
6bbc4ca226 shell: provide shell commands to poll lsm303dlhc sensor 2014-11-06 11:28:22 +01:00
Hauke Petersen
7e043bb27f sys/shell: added commands for iot-lab_M3 sensors 2014-11-06 10:41:55 +01:00
Oleg Hahm
f777f23a89 Merge pull request #1934 from thomaseichinger/at86rf231_robustnes
drivers/at86rf231: improve deployment by default example
2014-11-05 19:59:11 +01:00
Stefan Pfeiffer
a19d6c769d added new board f4vi1 2014-11-04 16:02:25 +01:00
Thomas Eichinger
6a7cee294f examples/default: print 16bit addresses 2014-11-04 15:13:47 +01:00
Christian Mehlis
2114a8267d added board airfy beacon 2014-11-02 18:26:42 +01:00
Martine Lenders
1729524f38 Merge pull request #1878 from authmillenon/rpl_udp-16bit-addr
rpl_udp: Addresses must only be 8-bit with cc110x
2014-11-02 18:03:53 +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
Christian Mehlis
f3b1753ac7 added spark core board 2014-11-02 14:36:42 +01:00
Hinnerk van Bruinehsen
3114f362df lint: fix invalidPrintfArgType_sint warning 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Oleg Hahm
8c44eaa6f8 Merge pull request #1903 from authmillenon/rpl_udp_non_routing
rpl_udp: add non-routing hosts to example
2014-10-30 23:38:59 +01:00
Oleg Hahm
9a61d8cf1c core: move optional tcb members to DEVELHELP 2014-10-30 16:37:10 +01:00
Martine Lenders
ca7bbb907d rpl_udp: add non-routing hosts to example 2014-10-30 13:16:45 +01:00
René Kijewski
162850b332 make: Implement optional features
Fixes #1876

This PR introduces `FEATURES_OPTIONAL` which can be used to tell the
Make system, that the application would like to use some feature, but
the build should proceed even if the selected board cannot provide the
optional feature.

`make buildtest` and `make info-supported-boards` heed this variable
when examining the list of supported boards.

If a word is present in `FEATURES_REQUIRED` and `FEATURES_OPTIONAL`,
then `FEATURES_OPTIONAL` takes precedence.
2014-10-26 23:18:58 +01:00
Hauke Petersen
c6d0e282fd examples: blacklisted openmote for riot_and_cpp 2014-10-24 15:34:15 +02:00
5146c66786 core: adapt to msg_try_send 2014-10-22 12:37:33 +02:00
Thomas Eichinger
ecae75a1ab Merge pull request #1697 from locicontrols/cc2538
Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit.
2014-10-13 16:58:41 +02:00
Ian Martin
0605a7eb95 Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit. 2014-10-13 09:29:49 -04:00
René Kijewski
58a10f3272 Merge pull request #1790 from BytesGalore/extern_C_in_headers_examples
examples: add extern "C" to headers
2014-10-11 04:43:47 +02:00
BytesGalore
b9bae213d0 examples: add extern "C" to header rpl_udp.h 2014-10-10 16:31:02 +02:00
BytesGalore
1f011eb1e9 renamed the cpp header file to *.hpp to preven eventually a collision with #1789 2014-10-10 12:56:16 +02:00
Ludwig Ortmann
5be28f49f6 Merge pull request #1754 from OlegHahm/timex_makefile_order
make: fix the order of Makefile.dep for timex
2014-10-07 05:52:43 -07:00
Oleg Hahm
9cf21545fa make: fix dependencies
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
Thomas Eichinger
a686e909aa examples/default: fix handling of 802.15.4 devices 2014-10-07 10:32:58 +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
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +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
Thomas Eichinger
0e79a01cd2 stm32f1: SPI: implement speed setting properly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
aaa2c2e8ba boards: initial import of iot-lab_M3 2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c cpu: initial import of stm32f1 2014-08-21 17:53:37 +02:00
Thomas Eichinger
e6798a8250 examples/ccn-lite-relay: remove unnecessary USEMODULE 2014-08-21 17:46:17 +02:00
Oleg Hahm
1de5c2b4a0 fixed remaining variables to kernel_pid_t 2014-08-07 17:29:53 +02:00
Oleg Hahm
93ef4346e9 ccnl: duplicate variable names
Some variables had multiple definitions, but could be removed or
declared with a smaller scope.
2014-08-07 16:31:27 +02:00
Oleg Hahm
0ad7b170ed make kernel_pid_t comparisons consistent 2014-08-07 16:31:27 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 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
René Kijewski
b7b7fd3bc1 make: provide BOARD, MCU and CPU name as a string
This PR adds the defined `RIOT_BOARD`, `RIOT_CPU` and `RIOT_MCU`.
They each are defined as `BOARD_${BOARD}`, `CPU_${CPU}`, and
`MCU_${CPU}`, resp.

`BOARD_${BOARD}` is defined as the string `"${BOARD}"`, but not in upper
case. Same for the other two.
2014-08-01 02:40:40 +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
Oleg Hahm
54fd920da0 Merge pull request #1450 from mehlis/ccp-stacksize-fix
examples: changed stacksize to the recommended value
2014-07-19 15:04:38 +02:00
Christian Mehlis
346c0cc490 examples: changed stacksize to the recommended value 2014-07-18 21:21:43 +02:00
Christian Mehlis
d2b78a398f ccnl: finish rebase 2014-07-18 21:06:40 +02:00
Christian Mehlis
ba22fd41b7 ccnl: adapt HOWTO to new features 2014-07-18 20:08:29 +02:00
Christian Mehlis
9b5eedeea8 ccnl: use stacksize main for all threads 2014-07-18 20:08:29 +02:00
Christian Mehlis
cebffb2ccf ccnl: make relay start on RIOT startup 2014-07-18 20:07:15 +02:00
Christian Mehlis
51fa2ec5c5 ccnl: use vtimer instead of rtc 2014-07-18 20:04:13 +02:00
Hauke Petersen
a49fc062bf test/examples: blacklisted stm32f4discovery 2014-07-16 17:20:53 +02:00