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

531 Commits

Author SHA1 Message Date
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
Martine Lenders
f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 2015-08-09 22:04:26 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00
Martine Lenders
074bb83628 auto_init: make MAC priorities higher than IPv6's
(and equal to 6LoWPAN's)
2015-07-29 13:51:07 +02:00
Martine Lenders
9e823076f4 ng_pktbuf: new default packet buffer implementation 2015-07-29 00:47:30 +02:00
842694aeee sys: auto_init: no need to initialize uart0 when using uart_stdio 2015-07-15 14:57:33 +02:00
Oleg Hahm
4c37e54109 Merge pull request #3171 from cgundogan/fib_autoinit
fib: auto init
2015-06-24 09:33:52 +02:00
Martine Lenders
76d923b35d auto_init_ng_netif: fix DEBUG output for xbee 2015-06-11 19:51:09 +02:00
Cenk Gündoğan
c6af4c9a21 fib: auto init 2015-06-05 22:16:34 +02:00
Martine Lenders
5e7de0821b Merge pull request #3096 from OlegHahm/ng_nativenet_netdev_auto_foobar
ng_nativenet: auto initialization and improvements
2015-06-03 17:53:18 +02:00
Oleg Hahm
4d9f965159 auto_init: initialize ng_netdev_eth 2015-06-03 13:00:35 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Oleg Hahm
2e691cf565 auto_init: eliminated pedantic warnings
Otherwise pedantic complains:
Warning: ISO C forbids an empty translation unit
2015-05-27 21:52:49 +02:00
Martine Lenders
475bfe6e5f Merge pull request #2944 from authmillenon/ipv6_netif/opt/auto-init-addr
ipv6_netif: initialize device dependent values
2015-05-26 21:01:55 +02:00
cfd9a5905a Merge pull request #2766 from kaspar030/add_dev_eth
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
Martine Lenders
971ee86de6 ipv6_netif: initialize device dependent values 2015-05-26 18:46:49 +02:00
7a80d31589 sys: auto_init: add auto initialization for dev_eth 2015-05-26 15:37:55 +02:00
Martine Lenders
d2fea78e76 auto_init: add ng_slip 2015-05-23 13:19:16 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +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
Jonas
9b66477180 adapted new auto-init process to kw2xrf driver
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
8e1370b7bc sys: auto_init: only auto init network interfaces when module is actually selected 2015-05-17 21:23:10 +02:00
a89b382297 drivers: xbee: adapt to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
3c00ff0c9b drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
e655137d72 sys: auto_init: introduce new auto initialization scheme for network interfaces 2015-05-17 21:02:00 +02:00
Joakim Gebart
f8204d79d0 sys/net: do not use memcpy for single uint32_t copy
Saves two unnecessary function calls.
2015-05-13 09:52:36 +02:00
haukepetersen
a4358bfdee sys/auto-init: added mechanism to init network ifs 2015-04-30 15:08:49 +02:00
haukepetersen
1441e2fd02 sys/auto_init: added initialization of ng_udp 2015-04-26 21:53:07 +02:00
Martine Lenders
5412e0e68b ng_sixlowpan: initial import 2015-04-23 11:29:53 +02:00
Martine Lenders
a0c6db6591 ng_ipv6: initial import 2015-04-22 22:12:07 +02:00
Hauke Petersen
c349fca738 sys/auto_init: added initialization of pktdump 2015-03-28 13:47:03 +01:00
Joakim Gebart
57bf21a471 sys: Set Local bit in EUI64 generated from CPU ID 2015-03-12 07:45:40 +01:00
Martin Lenders
96502e2fd4 sys: net: Initial import of a basic MAC protocol layer 2015-01-14 06:58:48 +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
Oleg Hahm
c92effaead debug: removed superfluous additional debug flag 2014-12-03 22:59:14 +01:00
Martine Lenders
115420a510 Merge pull request #1228 from OlegHahm/l2_ping
net: Link Layer Ping
2014-12-03 11:55:37 +01:00
Oleg Hahm
d4dced0f63 l2_ping: add to auto_init 2014-12-03 11:08:32 +01:00
Fabian Nack
eebfd5011a drivers - cc110x: Initial import of new cc110x driver 2014-12-01 17:14:02 +01:00
Oleg Hahm
9d5c3f4c8b auto_init: always set source address mode 2014-11-06 21:52:08 +01:00
Martine Lenders
0641ccbd5d auto_init: adapt auto_init for cc110x devices 2014-11-02 15:05:28 +01:00
Hinnerk van Bruinehsen
8723ba7568 lint: fix variableScope warnings 2014-10-31 01:24:30 +01:00
Oleg Hahm
6b39ce9650 config: moved from core to sys
There's no need to run config_load from core directly, can be done by
auto_init.
2014-10-30 22:27:11 +01:00
Fabian Nack
53b0ad2be5 drivers - cc110x: rename cc110x to cc110x_legacy_csma 2014-10-28 16:18:50 +01:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
Martine Lenders
b9054e825a auto_init: reduce scope of iface 2014-10-16 16:08:01 +02:00
Martine Lenders
19bf230de2 auto_init: use full hash to configure radio address
Since the 4-byte CPU ID on native is in most cases generated from the 2-byte
PID of the native process, choosing the lower half of the hash of the CPU ID to
set the radio address led to always setting it to the hash of 0 in this
cases. This changes it to use both halves of the hash and taking the
modulus so this corner cases can be avoided.
2014-10-16 16:07:50 +02:00
Martine Lenders
a5a7008f3f auto_init: Put net_if auto-initialization into its own function 2014-09-30 14:32:29 +02:00
Martin Lenders
30c92efa43 Initialize addresses from CPU ID 2014-09-30 14:32:29 +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
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
René Kijewski
ba1a15535b core: remove extra thread_create_arg() function 2014-07-09 10:28:23 +02:00
René Kijewski
840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Martin Lenders
4c63dae94d Auto init source address mode 2014-03-04 11:14:05 +01:00
Martin Lenders
6c9578c028 Add sixlowpan to auto_init 2014-03-01 15:08:19 +01:00
Martin Lenders
848ac70f90 Implement net_if module 2014-02-28 23:13:22 +01:00
Oleg Hahm
93e32953b3 always build and initialize hwtimer
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Oleg Hahm
30b6c16512 include cc110x.h instead of deprecated interface.h 2014-02-11 13:36:40 +01:00
Martin Lenders
2cf0d02c5e Auto init destiny 2014-01-17 14:40:56 +01:00
Oleg Hahm
02612ff0ca further Makefile cleanup 2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6 simplify and unify include pathes
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
8d157130ae move include directives from header to C file 2014-01-05 16:11:07 +01:00
Ludwig Ortmann
b674183e15 move display and lcd init from autoinit to chronos 2013-12-19 17:57:18 +01:00
Oleg Hahm
9817043ada Merge pull request #375 from LudwigOrtmann/license_header_fix
fix grammar in license header
2013-11-26 10:55:41 -08:00
Oleg Hahm
899c3681a7 check for transceiver module before auto_initializing cc1100 driver 2013-11-25 18:56:01 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
Ludwig Ortmann
4a1005c6a1 clean up auto_init includes
Include headers only if respective module is built.
Fixes building for msb-430.
Prevents possible build breaks in the future.
2013-10-28 17:55:23 +01:00
Oleg Hahm
f7ecc704a4 fixed includes and include pathes 2013-07-29 01:24:02 +02:00
Oleg Hahm
ca53d9231d disabled DEBUG in auto_init 2013-07-25 21:55:49 +02:00
Oleg Hahm
ca75d3c36c fixed some includes 2013-07-24 00:44:28 +02:00
Oleg Hahm
599e266b55 Revert "removed redefined ENABLE_DEBUG"
This reverts commit 69c526f44d.

Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Christian Mehlis
69c526f44d removed redefined ENABLE_DEBUG 2013-07-16 15:27:19 +02:00
Oliver Hahm
5c52e1ce2e coding conventions for most of system libraries 2013-06-22 05:11:53 +02:00
Oliver Hahm
ac10da4509 Merge branch 'fixes-06-14' of git://github.com/mehlis/RIOT into mehlis-fixes-06-14 2013-06-18 17:25:44 +02:00
Oliver Hahm
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +02:00
Christian Mehlis
79d55760fd add missing spaces 2013-06-15 22:00:59 +02:00
Christian Mehlis
8f74612762 main should always return int
this fixes some compiler warnings
2013-06-09 18:02:58 +02:00
Martin Lenders
07e8ac9c19 Remove swtimer
see #4
2013-04-11 15:24:15 +02:00
Oliver Hahm
7a4dec1830 * replaced new Makefile name in Makefiles 2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27 * renamed makefiles to Makefile 2013-03-09 23:45:56 +01:00
Oleg Hahm
5df0bd0cc4 * updated and integrated makefiles
* added some auto dependencies
2013-02-08 17:37:02 +01:00