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

646 Commits

Author SHA1 Message Date
Martine Lenders
78ef5f08e1 make: add 6LoWPAN IPHC as default module for 6LoWPAN 2015-07-23 00:01:37 +02:00
Joakim Gebart
9781ea99cc drivers/hih6310: Initial commit of HIH6310 driver
Honeywell HumidIcon Digital Humidity/Temperature Sensors: HIH-6130/6131 Series

Only basic humidity and temperature measurement support is implemented.

Missing:
 - Alarm interrupts
 - Command mode (reconfigure i2c address, alarm levels, alarm polarity, custom ID)
2015-07-20 18:41:14 +02:00
Lotte Steenbrink
51ac879fa2 add FIB to AODVv2 2015-07-14 12:32:17 -07:00
49ea7a3d61 sys: factor stdio uart functions out of newlib's syscalls 2015-07-14 15:12:26 +02:00
Martine Lenders
c5318336ae net: intial import of the ZEP protocol 2015-07-02 15:47:19 +02:00
Martine Lenders
871a6f9cde ng_nettest: some fixes 2015-07-02 13:35:00 +02:00
Oleg Hahm
b85f076027 Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Martine Lenders
f28c5041eb ng_nettest: initial import of a ng_netapi test framework 2015-06-23 15:22:55 +02:00
Hauke Petersen
5cde312103 make.dep: added dependecy for ng_netif_default 2015-06-11 21:58:44 +02:00
Martine Lenders
ae3d88fcae Merge pull request #2806 from authmillenon/ng_sixlowpan_iphc/feat/initial
ng_sixlowpan: Initial import of IP header compression
2015-05-27 18:07:11 +02:00
Martine Lenders
9a989264d8 ng_sixlowpan: initial import of IP header compression 2015-05-27 11:54:50 +02:00
Martine Lenders
e3bdc53c37 Merge pull request #2898 from authmillenon/ng_ipv6_ext/feat/initial
ng_ipv6_ext: initial import of extension header handling (including RPL SRH)
2015-05-26 20:16:50 +02:00
Martine Lenders
96ab1fa283 ng_slip: initial import 2015-05-23 13:19:16 +02:00
Martine Lenders
3acc8718f2 ng_net: add 6LoWPAN as dependency for IEEE 802.15.4 devices
Only applies if ng_ipv6 also was included.
2015-05-21 15:31:13 +02:00
Joseph Noir
bddaee751d Add replacement headers for thread, mutex and cond
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
c944d54171 core: log: introduce logging API 2015-05-17 21:49:22 +02:00
Martine Lenders
dcfa2681d6 ng_ipv6_ext: initial import of extension header handling 2015-05-17 21:46:56 +02:00
Martine Lenders
d76fb3fa8b make: introduce *_default pseudo-modules
Fixes #2971
2015-05-17 10:47:16 +02:00
Martine Lenders
ee11a2ae56 ng_ndp: initial import of the address resolution 2015-05-17 09:15:03 +02:00
Oleg Hahm
d1bfa2f2ff Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Martine Lenders
86133b8404 ng_icmpv6_echo: initial import 2015-05-01 08:34:11 +02:00
Martine Lenders
591ef1826f ng_icmpv6: Initial import 2015-05-01 08:29:01 +02:00
haukepetersen
867beae836 make: added missing deps for ng_nomac and ng_netif 2015-04-30 15:08:48 +02:00
Martine Lenders
067a3498c5 netif_hdr: add print function 2015-04-28 21:16:47 +02:00
Hauke Petersen
fefac35c1c drivers: new driver for at86rf2xx family radios 2015-04-27 18:56:59 +02:00
haukepetersen
b1d8752711 net: added NG_UDP implementation 2015-04-26 21:53:07 +02:00
Martine Lenders
8a5e0d7d82 Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 03:20:15 +02:00
Martine Lenders
73d9739258 ng_sixlowpan: Initial import of datagram fragmentation 2015-04-26 02:21:20 +02:00
Martine Lenders
13e33d4d7b ng_sixlowpan: add missing ng_ipv6 dependency 2015-04-25 18:49:31 +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
Martine Lenders
39ed4baa92 ng_sixlowpan: initial import of a context buffer 2015-04-18 15:42:42 +02:00
Martine Lenders
f34df829dc pktdump: dump data of packet snips structured 2015-04-14 14:20:33 +02:00
Lotte Steenbrink
7e60b654d3 Merge pull request #2771 from OlegHahm/oonf_api_dep
oonf_common: add missing dependencies
2015-04-10 15:29:05 +02:00
Martine Lenders
c94094529d Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
9c30851b45 ipv6_hdr: Initial import 2015-04-10 00:41:55 +02:00
Oleg Hahm
e5188cf216 oonf_common: depends on the oonf_api package 2015-04-09 17:45:47 +02:00
Oleg Hahm
ff6fd3f9b3 oonf_api: added missing dependency 2015-04-09 17:37:55 +02:00
BytesGalore
30c76adc43 net: added a core implementation of a FIB 2015-04-01 10:24:35 +02:00
Hauke Petersen
497a3da9e3 net: added ng_pktdump module 2015-03-23 15:25:30 +01:00
Martine Lenders
7027519f28 ng_ipv6: provide support for ng_netif 2015-03-19 15:13:17 +01:00
Hauke Petersen
f1bddafa33 make: introduced pseudomodule ng_netbase 2015-03-18 15:27:23 +01:00
Hauke Petersen
daae886e16 make: made consistent use of spaces in Makefile.dep 2015-03-18 10:54:44 +01:00
Martine Lenders
484f410e1d ng_netif: add ng_pktbuf and ng_netapi as dependencies
Though they are not needed in the code of `ng_netif` both `ng_pktbuf`
and `ng_netapi` are needed to use `ng_netif` in a sensible way.
2015-03-16 16:46:31 +01:00
Martine Lenders
c1708682e8 ng_ipv6_nc: Initial import 2015-03-13 20:42:47 +01:00
Fabian Nack
d9480cadfc sys - nhdp: Add nhdp impl 2015-02-24 11:50:58 +01:00
Cenk Gündoğan
c4b01b87bc rpl: RPL/Trickle with only *one* thread
This PR proposes an approach to reduce the thread count of RPL.

The current RPL/Trickle stack needs about 5 threads to handle tasks
like updating the trickle timer, routing entries and the transmission of
DAOs.

This PR modifies RPL to use only one thread with a looped `msg_recv()` call.
The message is then multiplexed to the right task.
2015-01-14 19:42:13 +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
Fabian Nack
eebfd5011a drivers - cc110x: Initial import of new cc110x driver 2014-12-01 17:14:02 +01:00
Lotte Steenbrink
0c67c02047 Add the AODVv2 Routing Protocol
This PR depends on #1766.

It contains a minimal implementation of the AODVv2 routing protocol.
*Not* implemented are:

	- AckReqs
	- alternate metrics
	- multiple interfaces
	- clients and Client Networks
	- buffering
	- all addresses, TLVs, and features that are marked as optional

An example application can be found at https://github.com/Lotterleben/RIOT-AODVv2/tree/master/aodvv2_demo.

The implementation relies heavily on a functioning Neighbor Discovery Protocol.
It might be necessary to fill the neighbor cache manually with the current state
of RIOTs NDP implementation.

The value of AODVV2_MAX_UNREACHABLE_NODES has been chosen arbitrarily and will be subject to
future improvement.

Please note that based on my experience, with the default transceiver
buffer size (3) of the native port, about 2/3 of the route discoveries
will fail. This has been addressed in issue #1747. It is advised to increase
the transceiver buffer size when using AODVv2 as a routing protocol.
2014-11-27 03:50:20 -08:00
9ce0b676b4 core: sys: move ringbuffer to core 2014-11-19 14:18:39 +01:00
Oleg Hahm
4a93a261b4 net: l2_ping uses radio_packet_t instead of packet_info_t 2014-11-11 16:59:06 +01:00
Thomas Eichinger
dfb1b56fad drivers/at86rf231: refactoring of the at86rf231 radio driver
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +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
Oleg Hahm
cf49dec303 make: fix the order of Makefile.dep for timex
The order of modules in Makefile.dep matters.
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
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
Kevin Funk
e8141ca5d8 cbor: CBOR implementation for RIOT-OS
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.

This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.

The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t

It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
2014-08-05 19:49:51 +02:00
René Kijewski
d7b4f1a5ba pkg: add USEPKG module "libfixmath"
This PR adds the USEPKG module "libfixmath".
It integrates https://code.google.com/p/libfixmath/ into RIOT, cmp. #1457.
2014-08-01 00:04:48 +02:00
René Kijewski
0ab1b86e5f Add generic char pipe implementation 2014-07-28 23:21:27 +02:00
Ludwig Ortmann
44d6afd5ad make: replace spaces with tabs in Makefile.dep 2014-07-14 18:02:14 +02:00
Ludwig Ortmann
a49f16b1ea make: model net_if dependency on net_help 2014-07-14 18:00:05 +02:00
Hauke Petersen
231e8eb3e9 make: removed shell_commands dependency 2014-07-08 16:48:22 +02:00
Hauke Petersen
9e0653afbb drivers: added rgbled driver 2014-06-11 20:17:44 +02:00
René Kijewski
96fba8a19b sys:crypto: put ciphers into one module 2014-05-12 21:57:44 +02:00
René Kijewski
a8064fd97c Automatically remove dups in $(USEMODULE) 2014-04-29 00:06:19 +02:00
Fabian Brandt
ef5eaff1bc ETX-functionality is now part of a common routing-module 2014-04-25 11:30:28 +02:00
Christian Mehlis
60feb7ea37 posix: move posix semaphore in posix module 2014-03-16 19:48:25 +01:00
Christian Mehlis
1a438b64a5 posix: added sleep and usleep 2014-03-03 17:21:48 +01:00
Martin Lenders
00acab920b Let IPv6 and ICMP use new 6LoWPAN layer (+fixes) 2014-03-01 15:08:18 +01:00
Martin Lenders
4e39cbdd54 Put 6LoWPAN border router in its own module 2014-03-01 14:44:21 +01:00
Martin Lenders
4a6495987e Add shell commands for interface configuration 2014-03-01 00:48:42 +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
Martin Lenders
24b63bd9f0 Update libcoap 2014-02-23 20:57:17 +01:00
René Kijewski
4a12c91d95 Fix cc110x vs cc110x_ng problems 2014-02-15 12:48:11 +01:00
René Kijewski
d86509db66 Use filter instead of findstring
See #672
2014-02-14 00:30:34 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Ludwig Ortmann
2ab55174a7 model uart dependency on posix 2014-02-06 12:29:02 +01:00
Martin Lenders
03f458ce69 Fix module dependencies for 802.15.4 drivers 2014-01-21 12:08:51 +01:00
Oleg Hahm
8c0b78925d add vtimer dependencies to Makefile.dep 2014-01-17 16:36:09 +01:00
Martin Lenders
96489b85c6 Define stdin, stdout and stderr 2014-01-17 14:40:57 +01:00
Martin Lenders
f9ae76fa4b Start POSIX net [pnet] module 2014-01-17 14:40:57 +01:00
authmillenon
9bfcc8df99 Fix sixlowpan dependencies 2013-11-02 18:39:23 +01:00
Martin Lenders
c02a097232 Add module dependancies for destiny 2013-10-25 14:28:17 +02:00
Oleg Hahm
b64fb65935 Merge branch 'agilefox_clean' of https://github.com/AlaeddineWeslati/RIOT into AlaeddineWeslati-agilefox_clean
Conflicts:
	sys/include/transceiver.h
	sys/transceiver/transceiver.c

Additional changes:
* allow for multi-transceiver initialization
* change packet reception to old implementation
2013-08-15 19:07:14 +02:00
Martin Lenders
b944a48da9 Set up new directory structure 2013-08-14 00:33:11 +02:00
Alaeddine WESLATI
11bb09b7f8 started adding at86rf231 driver
at86rf231 TX and RX

driver is using vtimer instead of hwtimer_ functions, TO CHECK

vtimer debug function prototype fix
2013-08-12 15:17:22 +02:00
Oleg Hahm
956f0e8656 fix for #87, replacing - with _ in module protocol_multiplex 2013-08-04 03:17:31 +02:00
Oleg Hahm
f7ecc704a4 fixed includes and include pathes 2013-07-29 01:24:02 +02:00
Oliver Hahm
57cc002c67 Merge branch 'wsn430'
Conflicts:
	core/include/queue.h
	core/queue.c
	cpu/msp430-common/hwtimer_cpu.c
	cpu/msp430x16x/hwtimer_msp430.c
	sys/lib/hashtable.c
	sys/net/ieee802154/ieee802154_frame.c
	sys/shell/commands/sc_cc110x_ng.c
	sys/transceiver/transceiver.c
	sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Oliver Hahm
e6177e811a * moved cpu and board specific parts to corresponding Makefiles
* introduced variable for cpu folder
2013-03-23 18:38:12 +01:00
Oliver Hahm
8a175a5702 * added dependency for cc110x_ng to transceiver 2013-03-19 17:46:24 +01:00
Oliver Hahm
5ffe5a9c27 * renamed makefiles to Makefile 2013-03-09 23:45:56 +01:00