Commit Graph

15 Commits (2143d572d0ea3d4ea6dc639a5f0deec38cdc8c87)

Author SHA1 Message Date
Martine Lenders 41f60aca4c pktbuf: port to use ng_ version 8 years ago
Martin Lenders 96502e2fd4 sys: net: Initial import of a basic MAC protocol layer 8 years ago
René Kijewski f684aa4b2d tests: make embUnit a normal sys module
There is nothing quite special about embUnit.

This PR makes it a normal sys module, so that you can use it in any
application / test.
8 years ago
Martine Lenders 115420a510 Merge pull request #1228 from OlegHahm/l2_ping
net: Link Layer Ping
8 years ago
Fabian Nack eebfd5011a drivers - cc110x: Initial import of new cc110x driver 8 years ago
Martine Lenders b7a079471a sys: net: Initial import of a general interface to a network protocol 8 years ago
Oleg Hahm c692b3a00a net: move ping to sys/net
* moved the former ping module from `sys` to `sys/net/link_layer` and renamed to l2_ping
* use defaulttransceiver instead of cc110x
* some refactoring
9 years ago
Fabian Nack 53b0ad2be5 drivers - cc110x: rename cc110x to cc110x_legacy_csma 9 years ago
Fabian Nack 07fff37efe drivers - cc110x_ng: rename ng driver to legacy 9 years ago
Martine Lenders a569f2b92c net: Initial import of a global packet buffer 9 years ago
Martine Lenders e7e62cffdb net: Initial import of a packet wrapper for priority_queue 9 years ago
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*.
9 years ago
René Kijewski 1b89f334e3 msp430: provide oneway-malloc implicitly
For MSP430 boards oneway-malloc is already used *if* `malloc.h` was
included. The problem is that `malloc.h` is not a standard header, even
though it is common. `stdlib.h` in the right place to look for
`malloc()` and friends.

This change removes this discrepancy. `malloc()` is just named like
that, without the leading underscore. The symbols now are weak, which
means that they won't override library functions if MSP's standard
library will provide these functions at some point. (Unlikely, since
using `malloc()` on tiny systems is less then optimal ...)

Closes #1061 and #863.
9 years ago
René Kijewski 96fba8a19b sys:crypto: put ciphers into one module 9 years ago
René Kijewski de29e4184c Add include paths automatocally for USEMODULES
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.

But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
9 years ago