Commit Graph

43 Commits (af02e2ac15631069c7d40ab61182fde2eccd95f3)

Author SHA1 Message Date
Kaspar Schleiser 8cf5ffdabc Merge pull request #4332 from marshall/customSyscalls
cpu/cortexm_common: enable custom newlib syscalls w/ newlib_syscalls_X
7 years ago
Marshall Culpepper 160da3fab1 cpu/cortexm_common: enable custom newlib syscalls w/ newlib_syscalls_X 7 years ago
Hauke Petersen 7855cb3707 sys: added module for running Arduino code 8 years ago
Martine Lenders de421cdf78 posix: use sem module for semaphore implementation 8 years ago
Martine Lenders 624530c7d0 posix: redo socket API to use conn 8 years ago
Martine Lenders 08a3f0baf5 posix: net_help: move inet_pton/inet_ntop completely to POSIX 8 years ago
Martine Lenders a4905b72d4 posix: consolidate include paths 8 years ago
Joakim Gebart 56b0beeebe Merge pull request #3107 from gebart/pr/cppsupport
c++: Define some support functions required by GCC
8 years ago
Martine Lenders 58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 8 years ago
Martine Lenders feb8b8cc0f Merge pull request #3639 from OlegHahm/unittest-color-output
Added a colored outputter to embUnit.
8 years ago
Janos Kutscherauer 5d7ba5b35f Added a colored outputter to embUnit.
The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.

Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.
8 years ago
Hauke Petersen 85fe67e629 net/fib: removed all ng prefixes from fib 8 years ago
Joakim Gebart 248fb1c6c0 sys/cpp11-compat: Add C++ runtime helpers
cppsupport.cpp contains functions which are necessary in order to use
some features of the C++ language, e.g. calling static constructors or
virtual functions.

TODO/Not implemented yet:
 - Test virtual functions
 - Handle exceptions (stack unwinding)
 - Run time type identification (RTTI)
8 years ago
Kaspar Schleiser 2633352f30 sys: make: remove obsolete ieee802154 8 years ago
Kaspar Schleiser a227b7334f sys: get back net_help include path 8 years ago
Kaspar Schleiser 5d8349298f remove bulk of legacy network stack and drivers 8 years ago
Hauke Petersen bce198ebf8 net: removed deprecated non-gnrc netapi 8 years ago
Kaspar Schleiser 7acc4141ce sys: add libc includes directory and sys/uio.h header 8 years ago
Kaspar Schleiser a267274e84 sys: make newlib support a module 8 years ago
Martine Lenders 96ab1fa283 ng_slip: initial import 8 years ago
BytesGalore 369e7bbf43 Merge pull request #2540 from josephnoir/topic/cpp-stl-compatibility
Add replacement headers for std thread, mutex and condition_variable
8 years ago
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
8 years ago
Kaspar Schleiser 895b629630 Merge pull request #2901 from kaspar030/fix_auto_init_netif
network: make auto_init_ng_netif less board-dependant
8 years ago
Kaspar Schleiser c944d54171 core: log: introduce logging API 8 years ago
Kaspar Schleiser e655137d72 sys: auto_init: introduce new auto initialization scheme for network interfaces 8 years ago
haukepetersen a4358bfdee sys/auto-init: added mechanism to init network ifs 8 years ago
BytesGalore 30c76adc43 net: added a core implementation of a FIB 8 years ago
Fabian Nack d9480cadfc sys - nhdp: Add nhdp impl 8 years ago
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.
9 years ago
Martine Lenders 115420a510 Merge pull request #1228 from OlegHahm/l2_ping
net: Link Layer Ping
9 years ago
Fabian Nack eebfd5011a drivers - cc110x: Initial import of new cc110x driver 9 years ago
Martine Lenders b7a079471a sys: net: Initial import of a general interface to a network protocol 9 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