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

277 Commits

Author SHA1 Message Date
backenklee
59564649c3 extended the documentation for the ng_networking example 2015-07-29 15:08:09 +02:00
Hauke Petersen
ec921d2445 examples: blacklisted nrf51dongle for ng_networking 2015-07-28 18:10:27 +02:00
Lucas Jenss
36e1da6689 Explain how to connect RIOT to Linux 2015-07-20 05:05:26 +02:00
Oleg Hahm
4684aea39e Merge pull request #3370 from kaspar030/remove_native_ltc4150
native: remove ltc4150
2015-07-14 20:46:54 +02:00
Joakim Gebart
7df5567698 examples/ccn-lite-relay: Blacklist MSP430 boards 2015-07-14 08:11:19 +02:00
Joakim Gebart
4ea2d646ef examples/ccn-lite-client: Blacklist MSP430 boards 2015-07-14 08:11:19 +02:00
Joakim Gebart
950e5c7786 examples/ccn-lite-client: Shell command warning fixes 2015-07-14 08:11:18 +02:00
86f3d25a19 native: remove ltc4150 2015-07-13 12:08:48 +02:00
Joakim Gebart
7b744f6843 examples/ng_networking: Add missing inttypes.h includes 2015-07-07 00:53:27 +02:00
Joakim Gebart
fd42e7adff examples/rpl_udp: Add missing inttypes.h includes 2015-07-07 00:53:27 +02:00
Martine Lenders
d83e31a292 tests/ng_networking: update BOARD_INSUFFICIENT_RAM 2015-06-28 17:39:27 +02:00
Hauke Petersen
dd3d93c928 examples/default: make use of uart0_[readc|putc] 2015-06-14 17:06:09 +02:00
Hauke Petersen
7284fc1f4b examples: added 6LoWPAN UDP example application 2015-06-12 18:35:51 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
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
Joakim Gebart
4aff59a4fc examples/default/README.md: minor language fix 2015-05-09 09:04:46 +02:00
Oleg Hahm
45554bf3a0 Merge remote-tracking branch 'bytesgalore/rpl_udp_send_buffer' 2015-03-31 12:00:33 +02:00
BytesGalore
b9e5c94a3d examples:rpl_udp removed the limit of 5 characters as payload size 2015-03-31 07:54:27 +02:00
Martine Lenders
3ac8146f8b style: replace tabs with spaces in source 2015-03-31 05:04:44 +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
9e4328311d examples: fix wording in warning 2015-03-13 10:29:08 +01:00
Oleg Hahm
ddfc88323d examples: radio thread needs more stack
The radio stack in default examples uses printf() and thus needs more
stack.
2015-03-13 10:28:28 +01:00
Martine Lenders
67526938c7 Merge pull request #2537 from kushalsingh007/fix-1
Updating the README.md for examples/default
2015-03-12 21:00:28 +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
kushalsingh007
11ad51cc18 Updating the README.md for examples/default
-Replaced date by rtc in examples/default/README.md as date is part of rtc.
2015-03-12 16:23:46 +05:30
Oleg Hahm
7256a1399a Merge pull request #2566 from kushalsingh007/fd
Changed description for fd_t::fd in sys/include/fd.h
2015-03-12 09:09:45 +01:00
kushalsingh007
b61ea12879 Minor correction in examples/ccn-lite-client/HOWTO
-Fixes small typo error.
2015-03-11 23:22:16 +05:30
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
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