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

305 Commits

Author SHA1 Message Date
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
smlng
df2b65a1dd driver, hts221: add SAUL adaption 2017-11-22 11:33:54 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Dylan Laduranty
67048eafa2
Merge pull request #6900 from OTAkeys/pr/init_rtc
periph/rtc: move init from auto_init to periph_init
2017-11-13 21:22:22 +01:00
Vincent Dupont
f2466fb8dc periph/rtc: move init from auto_init to periph_init 2017-11-09 12:56:43 +01:00
ccf704bab8 sys: random: use luid to generate random seed 2017-11-08 17:18:26 +01:00
be9e8614ef sys/auto_init/saul: provide saul adaption to mpu9150 2017-11-08 09:09:21 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Martine Lenders
6a7de28cd1
gnrc: integrate NIB for testing 2017-10-10 10:12:19 +02:00
88433cba2f sys: random: make use of submodules in Makefile 2017-08-30 23:49:30 +02:00
smlng
ca0cc3956d saul: add support for grove ledbar 2017-08-30 09:12:57 +02:00
smlng
addf64349c saul: add mpl3115a2 2017-06-29 09:57:17 +02:00
067231936f Merge pull request #5793 from OTAkeys/pr/can_stack
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +02:00
Martine Lenders
9d3f9f2589 Merge pull request #6402 from OTAkeys/pr/adcxx1c
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 10:39:02 +02:00
Vincent Dupont
35056fd647 drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support 2017-06-26 09:46:03 +02:00
Vincent Dupont
144a0700f5 can: add autoinit basic support 2017-06-19 15:35:26 +02:00
smlng
054c002960 saul: add support for tmp006 2017-06-14 20:45:01 +02:00
d7543ccf31 sys/auto_init: use new bmx280 implementation for bme280 and bmp280 2017-06-02 14:54:17 +02:00
José Ignacio Alamos
017280db13 pkg/openthread: add OpenThread core 2017-06-01 13:44:05 -04:00
smlng
17e78f7d81 driver, mag3110: add saul auto init 2017-04-13 21:14:44 +02:00
57c26631da sys/auto_init: fix io1_xplained saul integration 2017-04-07 16:59:04 +02:00
Vincent Dupont
73d8149490 drivers: add lsm6dsl imu driver 2017-04-06 10:58:18 +02:00
dylad
2f801bbce9 drivers/adxl345: initial implementation + SAUL adaptation
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-20 22:52:21 +01:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Joakim Nohlgård
0371769e72 devfs: Dynamic file system for device nodes 2017-03-07 17:59:59 +01:00
4474af885a sys/auto_init: add saul support for veml6070 sensor 2017-02-28 13:20:21 +01:00
Hauke Petersen
8e3975fa90 sys/auto_init: remove gpioint initialization 2017-02-22 17:51:45 +01:00
Peter Kietzmann
6ef3abec5c Merge pull request #5570 from aabadie/drivers_tsl2561
drivers/tsl2561: initial support
2017-02-17 10:06:46 +01:00
Martine Lenders
0858a3ea8c Merge pull request #6618 from haukepetersen/opt_tcs37727_saulplusinit
drivers/tcs37727: SAUL support + misc fixes
2017-02-16 16:03:10 +01:00
Hauke Petersen
470f2de771 drivers/tcs37727: SAUL support + misc fixes
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +01:00
Hauke Petersen
6e6a14f449 drivers: remove outdated ltc4150 driver 2017-02-13 14:08:34 +01:00
Hauke Petersen
3afc3eb10b drivers/dht: updated auto-init + some enhancements
- unified auto-init to use same style as other SAUl devices
- make use of named return values
- added some asserts
2017-02-07 09:59:23 +01:00
25ce12f3ef drivers/tsl2561: initial implementation + saul support 2017-01-31 17:49:16 +01:00
672da2c457 drivers/mrf24j40: initial mrf24j40 support 2017-01-26 10:05:20 +01:00
Hauke Petersen
5d8f686cf6 Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
Sebastian Meiling
7f7329ea71 Merge pull request #4744 from brummer-simon/devel-gnrc_tcp
gnrc_tcp: initial implementation
2017-01-23 09:32:34 +01:00
Simon Brummer
abd307b89d gnrc_tcp : initial implementation 2017-01-22 09:27:58 +01:00
Martine Lenders
85d8397464 Merge pull request #6117 from kb2ma/gcoap/sock
gcoap: rebase networking on sock
2017-01-21 10:40:13 +01:00
Ken Bannister
342c3f2ed3 gcoap: Remove coap.h include file, which is no longer used.
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Kees Bakker
a0a76d66d2 drivers: Add driver for BME280 2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56 drivers: added driver for accessing sd_cards over spi 2017-01-20 18:11:26 +01:00
Hauke Petersen
96180a61b2 sys/auto_init: adapted to mma8x5x changes 2017-01-18 10:51:15 +01:00
Hauke Petersen
7e99e5135a sys/auto_init: added sequence for hdc1000 sensors 2017-01-17 10:48:22 +01:00
0f22e13ccb drivers/jc42: Add JEDEC JC42.4 temperature sensors
This patch adds a driver for the jc42 compatible
temperature sensors. All sensors compatible with
jc42.4 should work. Examples include the mcp9808
and more.
2017-01-15 13:10:36 +01:00
Hauke Petersen
f82c7340a5 sys/auto_init: added bootstrapping for nrfmin 2017-01-10 11:54:49 +01:00
26835f4f2c drivers/bmp180: move bmp180 to saul auto init the correct way 2016-12-16 15:24:34 +01:00
Ken Bannister
f3431fb49e gcoap: initial commit 2016-10-31 22:41:52 -04:00
Hauke Petersen
fb24f6d26e sys: added auto-init code for W5100 devices 2016-10-26 08:36:58 +02:00
3aa1ffb5fb drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init 2016-09-02 10:42:09 +02:00
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +02:00
Bas Stottelaar
0902ccb2e0 drivers: si70xx: adapt for SAUL 2016-07-22 18:22:13 +02:00
e012df1bac nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 2016-07-13 17:06:57 +02:00
Aaron Sowry
a2ba22dd0f cpu/cc2538: Add RF driver 2016-07-13 14:19:45 +12:00
Hauke Petersen
8d3cb3ace9 sys/auto_init: added initialization for cc2420 2016-07-06 18:14:48 +02:00
4a595d7b19 drivers/bmp180: add saul adaptation 2016-06-01 11:15:01 +02:00
Cenk Gündoğan
1b4607ab43 auto_init: initialize gnrc_rpl 2016-05-31 22:13:32 +02:00
4fb07a852d sys: net: add UHCP protocol code and gnrc client implementation 2016-04-11 17:03:28 +02:00
Joakim Nohlgård
50b48c28eb sys/saul: Add analog inputs to SAUL via periph/adc 2016-04-08 10:18:12 +02:00
Martine Lenders
4dbc26fd4e Merge pull request #3551 from authmillenon/pkg/port/lwip
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Oleg Hahm
0925737e28 doc diskio: RIOTized style and added doxygen 2016-03-30 12:54:51 +02:00
Martine Lenders
932bec50ed lwip: add port for RIOT 2016-03-30 00:10:38 +02:00
Cenk Gündoğan
7d35c06ba4 sys/auto_init: added initialization of mma8652 2016-03-21 16:16:11 +01:00
Hauke Petersen
af48dadb26 Merge pull request #4807 from gebart/pr/saul-lis3dh
drivers/lis3dh: Add SAUL support
2016-03-02 13:23:29 +01:00
ded39b461e sys: random: rename genrand_* to random_* 2016-02-29 21:33:17 +01:00
Oleg Hahm
1e14d6d5d5 Merge pull request #4354 from kaspar030/add_prng_tinymt32
sys: random: import tinymt32 PRNG, make it default
2016-02-29 17:53:27 +01:00
d9cf871e2e sys: random: import tinymt32 PRNG 2016-02-29 12:05:31 +01:00
Hauke Petersen
c5a0589332 sys/auto_init: added intialization of DHT devices 2016-02-20 18:19:20 +01:00
Joakim Nohlgård
8d11fab8bd drivers/lis3dh: Add SAUL support 2016-02-13 21:25:07 +01:00
9e3e485ec0 drivers: net: add ethos (ethernet over serial) driver 2016-02-07 19:15:14 +01:00
Hauke Petersen
692e22eb18 sys/auto_init: added initialization for enc28j60 2015-12-08 11:51:18 +01:00
Hauke Petersen
4950650c19 sys/auto_init: added auto init for SAUL devices 2015-11-30 20:33:54 +01:00
14d0ef6c4d drivers: add cc110x driver 2015-09-23 18:55:11 +02:00
2cee6b036b sys: remove vtimer 2015-09-16 10:58:51 +02:00
8bb6f31500 Merge pull request #2800 from kaspar030/add_driver_encx24j600
drivers: add driver for encx24j600 ethernet chips
2015-09-05 17:03:23 +02:00
Hauke Petersen
7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
2015-09-04 18:54:30 +02:00
bd698bf574 drivers: add encx24j600 ethernet driver 2015-09-04 18:49:08 +02:00
a13bc46f3e sys: remove uart0 2015-09-04 17:46:23 +02:00
ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00
Oleg Hahm
3edfb772f3 auto_init: rename ng_slip to gnrc_slip 2015-09-01 19:11:30 +02:00
Martine Lenders
293c5322de Merge pull request #3137 from authmillenon/slip/fix/some-fixes
gnrc_slip: Fixes
2015-08-25 22:19:37 +02:00
bd40b2c56b Merge pull request #3661 from authmillenon/auto_init/api/auto_init_gnrc_netif
sys: auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-25 21:17:19 +02:00
Martine Lenders
b66ada2ae7 ng_slip: fix auto initialization 2015-08-25 20:40:52 +02:00
6d1aab7126 Merge pull request #2926 from kaspar030/wtimer
sys: add new timer subsystem
2015-08-25 19:20:07 +02:00
808a8bc899 sys: xtimer: introduce new timer subsystem 2015-08-25 13:20:35 +02:00
Oleg Hahm
4267212502 fib: allow for multiple instances of FIB 2015-08-20 15:47:27 +02:00
Martine Lenders
c2706ef492 auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif 2015-08-19 17:21:28 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Hauke Petersen
85fe67e629 net/fib: removed all ng prefixes from fib 2015-08-10 15:43:55 +02:00
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +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
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
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
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +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
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
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
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
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
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +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
Oleg Hahm
5df0bd0cc4 * updated and integrated makefiles
* added some auto dependencies
2013-02-08 17:37:02 +01:00