Ludwig Ortmann
e40f4c1912
native/freebsd: fix usecond typdef
2014-10-08 16:11:15 +02:00
Ludwig Ortmann
5be28f49f6
Merge pull request #1754 from OlegHahm/timex_makefile_order
...
make: fix the order of Makefile.dep for timex
2014-10-07 05:52:43 -07:00
Oleg Hahm
a50d44c195
posix: configure stdio only to uart0 if enabled
2014-10-07 12:14:14 +02:00
Thomas Eichinger
2f27388d04
sys/transceiver: cleanup and fix for cc2420 and at86rf231
...
cc2420: the payload pointer was set twice
at86rf231: payload_len was not copied from the radio driver buffer
2014-10-07 11:37:29 +02:00
Thomas Eichinger
6fcc2ac777
shell/transceiver: fix byte selection for 802.15.4 devices in output
2014-10-07 10:32:58 +02:00
Thomas Eichinger
a686e909aa
examples/default: fix handling of 802.15.4 devices
2014-10-07 10:32:58 +02:00
Thomas Eichinger
19f612cf2c
examples/default: set src addr correctly
2014-10-07 10:32:58 +02:00
Ludwig Ortmann
cc319d1dd8
Merge pull request #1755 from Lotterleben/transceiver_debug_clean
...
transceiver: notify about dropped packets
2014-10-06 03:06:36 -07:00
Lotte Steenbrink
e843868141
Notify about dropped packets
...
Added debug output that warns about packets that are dropped
because the transceiver buffer was full or because the transceiver
failed to notify aiting upper layers.
2014-10-04 07:18:39 -07:00
Ludwig Ortmann
983e570e27
Merge pull request #1409 from LudwigOrtmann/hwtimer_spin-barrier
...
core,sys,boards: introduce hwtimer_spin barrier
2014-10-01 11:52:32 -07:00
Ludwig Ortmann
da550bc913
introduce HWTIMER_SPIN_BARRIER (API change)
...
Boards should define HWTIMER_SPIN_BARRIER that is used to decide
whether it makes sense to set a timer and yield or call hwtimer_spin
instead.
Used by `core/hwtimer.c` and `sys/vtimer/vtimer.c`.
A default value is provided and a warning is printed when it is used.
2014-10-01 19:53:42 +02:00
Oleg Hahm
cbb1aff0ce
sixlowpan: fixed net_if counter
...
This is a fixup for 11254577eb
which
caused this function to always return a positive number, when any
interfaces was configured.
2014-10-01 18:19:35 +02:00
Oleg Hahm
be1fde1557
Merge pull request #837 from authmillenon/auto-init-addresses
...
auto_init: Initialize link-layer addresses from CPU ID
2014-09-30 15:29: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
René Kijewski
5f262be568
Merge pull request #1653 from medicalwei/shell_backspace
...
Add backspace functionality in shell
2014-09-29 21:21:41 +02:00
Oleg Hahm
762e9492a6
Merge pull request #1528 from OlegHahm/silent_rpl
...
rpl: mute RPL
2014-09-29 10:56:10 +02:00
René Kijewski
d4f144eb47
Add license statement to {msp430_types,net_help}.h
2014-09-25 10:14:58 +02:00
Yao Wei
b5d3c65672
Add 0x7f as backspace key in shell
2014-09-24 15:40:21 +08:00
Hinnerk van Bruinehsen
567ebf987f
lint: limit maximum length of input via scanf
2014-09-19 23:31:26 +02:00
Christian Mehlis
88ae531ef9
Merge pull request #1679 from cgundogan/bloom_t_as_typedef
...
sys: use typedef for `struct bloom_t`
2014-09-19 13:18:39 +02:00
Ludwig Ortmann
289c4c0ee4
doc: add license headers to some .h files
2014-09-18 17:45:11 +02:00
Cenk Gündoğan
0a4ea07daa
sys: use typedef for struct bloom_t
...
`bloom_t` is defined as a struct.
`_t` can mislead the user to think of bloom_t
as a typedef (see our coding conventions) instead of a struct.
Thus, I modified `struct bloom_t` to be a *typedefed* struct.
Another solution would be to rename bloom_t to sth. like bloom_s
everywhere and use `struct bloom_s` instead of `bloom_t`.
2014-09-17 19:54:40 +02:00
Hinnerk van Bruinehsen
2faf813793
board/sys: move bounds check before array access
2014-09-14 01:56:11 +02:00
Hinnerk van Bruinehsen
eb9ab083bc
sys: remove break after return
2014-09-13 23:47:41 +02:00
Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
2014-09-13 19:03:40 +02:00
René Kijewski
0cc699c0ce
lint: reduce scope
...
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Oleg Hahm
218635027c
Merge pull request #1508 from cgundogan/transport_layer_refactoring
...
transport_layer: Splitting UDP and TCP
2014-09-11 20:49:34 +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
Oleg Hahm
70ec73b038
Merge pull request #1561 from BytesGalore/fix_fd_parameter_warnings
...
sys/posix: changed parameters for `fd` from `kernel_pid_t` to `int`
2014-09-11 15:37:04 +02:00
Yao Wei
208f889a4a
add backspace functionality in shell
2014-09-11 21:27:20 +08:00
Oleg Hahm
46d5947044
rpl: mute RPL
...
Removes all but one occurrence of printf and puts within routing (the
remaining puts is called from a debug function.
2014-09-10 18:04:17 +02:00
Oleg Hahm
c924075722
sixlowpan: documented internal is_our_address()
2014-09-10 14:37:43 +02:00
Oleg Hahm
11254577eb
sixlowpan: ignore incoming packets if unconfigured
...
If there's no IPv6 address configured so far to any interface, 6lowpan
should not try to handle incoming packets. This can easily lead to
looping packets.
2014-09-10 14:37:43 +02:00
René Kijewski
76212cf594
vtimer: no needless type casting
...
Compare https://github.com/RIOT-OS/RIOT/pull/1639#issuecomment-54713048
and following discussion.
2014-09-07 22:06:05 +02:00
54d7e5f748
sys: vtimer: add license header
2014-09-03 14:18:11 +02:00
Martine Lenders
752fe547ca
Merge pull request #1624 from LudwigOrtmann/headacheheaders
...
doc: fix more license headers
2014-08-28 12:34:55 +02:00
Ludwig Ortmann
457be31b6f
Merge pull request #1616 from krf/fix-warnings
...
Fix comment
2014-08-27 19:38:27 +02:00
Ludwig Ortmann
2439bd839c
doc: fix more license headers
...
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Hinnerk van Bruinehsen
c4a26a6acf
sys: inet_pton: conditional include for atmega2560
...
include sys/types.h conditionally for atmega2560
Without this change test/unittests fails to build due to a missing
declaration of ssize_t
2014-08-27 17:48:39 +02:00
Hinnerk van Bruinehsen
4ca3a49a5d
tests: blacklist failing test on arduino-mega2560
2014-08-27 17:47:24 +02:00
Kevin Funk
554e431746
Fix comments
2014-08-27 11:36:36 +02:00
Ludwig Ortmann
58a41d2ff2
sys/cbor: set isdst to undefined after strptime
...
CBOR does not specify the daylight saving time adjustment.
2014-08-27 10:25:22 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Oleg Hahm
73965f984e
transceiver: fix check for existence
...
The transceiver check if it is already running when initializing.
However, this check was done by comparing its pid for >= 0, which is not
sensible anymore since valid PIDs only start at 1.
2014-08-22 18:34:42 +02:00
Oleg Hahm
32b88ee2fa
Merge pull request #1521 from OlegHahm/ccnl_fixes
...
ccn: minor fixes
2014-08-22 02:13:19 +02:00
Oleg Hahm
cf536c8f5c
mc1322x: some fixes in transceiver and ccnl
2014-08-22 02:12:48 +02:00
Oleg Hahm
19377261ac
ccnl: disable debug and fix warnings
2014-08-22 02:12:48 +02:00
Oleg Hahm
28df5691d3
Merge pull request #1554 from OlegHahm/rpl_udp_cleanup
...
examples: rpl_udp cleanup
2014-08-22 01:32:21 +02:00
003dd1969c
Merge pull request #1566 from Kijewski/undef_is_null
...
core: let PIDs begin with 1
2014-08-22 00:43:04 +02:00