Martin Landsmann
5353ed663d
force travis to use 4-* (4-8-2014q2-0precise9 or newer) gcc-arm-none-eabi due to a bug not
...
installing the c++ headers when installing the stock cross-compiler
2014-09-13 19:39:13 +02:00
Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
2014-09-13 19:03:40 +02:00
Ludwig Ortmann
b6090ebec6
Merge pull request #1660 from mehlis/udp-tcp-split-readme-fix
...
example: adapt README to new naming of the transport layer
2014-09-13 09:26:44 -07:00
Christian Mehlis
34a4bb9cb9
example: adapt README to new naming of the transport layer
2014-09-13 15:05:01 +02:00
Oleg Hahm
fa8c70bbb8
Merge pull request #1618 from rousselk/msp430-fix-thread-yield
...
Fix thread_yield() on MSP430 platforms
2014-09-12 20:14:18 +02:00
Ludwig Ortmann
d1406e1ea7
Merge pull request #1565 from Kijewski/scope
...
lint: reduce scope
2014-09-12 04:57:28 -07:00
Hinnerk van Bruinehsen
5aa9b8449b
cpu: lpc_common: reduce indentation level in iap.c
2014-09-12 11:50:12 +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
Hinnerk van Bruinehsen
26d3a94dff
drivers-lm75a: use sizeof array instead of reg_size
2014-09-12 11:49:23 +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
René Kijewski
ed098f954f
Merge pull request #1648 from Kijewski/no-test-libfixmath
...
tests: don't build test/libfixmath on Travis CI
2014-09-11 15:01:36 +02:00
René Kijewski
f061d0214e
tests: don't build test/libfixmath on Travis CI
...
Very often the build unexplainably hangs.
2014-09-11 13:13:59 +02: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
6de01af08b
Merge pull request #1606 from OlegHahm/sixlowpan_ignore_unconfigured
...
sixlowpan: ignore incoming packets if unconfigured
2014-09-10 17:44:49 +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
Ludwig Ortmann
2dc8ea1896
Merge pull request #1639 from authmillenon/simplify_queue_inheritance
...
core: priority_queue: simplify inheritance
2014-09-10 02:51:24 -07:00
Martine Lenders
2ec20d3c65
Merge pull request #1644 from Kijewski/vtimer-less-casting
...
vtimer: no needless type casting
2014-09-10 02:36:52 +02:00
Ludwig Ortmann
075bcb9a20
Merge pull request #1643 from LudwigOrtmann/tests-hwtimer-shorten
...
tests: hwtimer shorten wait period
2014-09-09 06:26:25 -07:00
Ludwig Ortmann
95a1a3f324
tests/hwtimer: add self as author
2014-09-09 13:45:33 +02:00
Ludwig Ortmann
97c0ddbc92
tests: hwtimer shorten wait period
...
A sub-two-second period is needed for 16 bit timers.
2014-09-09 13:45:33 +02:00
Kévin Roussel
a691d0798a
Fixed comments
2014-09-09 13:18:39 +02:00
Martine Lenders
4c6e17b39b
unittests: make: Fix unittests for branch changes
...
Changing between branches in git typically leaves directories empty and
does not remove them. If you have different unittests in different
branches this leads to an error in building them, since the current
configuration expects a Makefile in all `tests-*` directory. This change
configures Make to search for a Makefile in `tests-*` rather than just
assuming that there is one.
2014-09-08 12:36:15 +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
Ludwig Ortmann
8503267ead
Merge pull request #1604 from LudwigOrtmann/cppcheck-script
...
dist/tools: add cppcheck script
2014-09-06 08:37:16 -07:00
Ludwig Ortmann
95a3d48367
SQUASHME: tool -> tools path typo
2014-09-06 16:32:48 +02:00
Ludwig Ortmann
591468990a
SQUASHME: undo accidental commit of timex.h
2014-09-06 15:56:06 +02:00
Ludwig Ortmann
7c6ca9bd15
Merge pull request #1642 from N8Fear/avr-libc-fix-doxygen
...
cpu: atmega: doxygen: blacklist upstream headers
2014-09-06 06:47:14 -07:00
Hinnerk van Bruinehsen
3d686c7cf1
cpu: atmega: doxygen: blacklist upstream headers
2014-09-06 12:38:04 +02:00
Ludwig Ortmann
ba854a5423
SQUASHME: add documentation
2014-09-06 11:27:16 +02:00
Martine Lenders
1cc82b6aa7
core: priority_queue: simplify inheritance
2014-09-05 18:17:12 +02:00
Thomas Eichinger
75adcb8d8b
Merge pull request #1629 from thomaseichinger/iot-lab_debugger++
...
iot-lab_M3: extend debug target for iot-lab_M3
2014-09-04 20:01:12 +02:00
Ludwig Ortmann
63362756ff
Merge pull request #1627 from LudwigOrtmann/native-arm
...
native: add support for ARM (Linux)
2014-09-04 08:13:47 -07:00
Ludwig Ortmann
3d29a9e3d3
native: add support for Linux on ARM
2014-09-04 16:39:33 +02:00
Ludwig Ortmann
942ce1b29d
Merge pull request #1628 from LudwigOrtmann/hwtimer_wait_fixup_2
...
tests: improve calculation in hwtimer_wait
2014-09-04 01:08:57 -07:00
René Kijewski
b5157f470e
Merge pull request #1634 from kaspar030/vtimer-license
...
sys: vtimer: add license header
2014-09-03 14:22:40 +02:00
54d7e5f748
sys: vtimer: add license header
2014-09-03 14:18:11 +02:00
Ludwig Ortmann
9b361aa5b7
Merge pull request #1630 from gebart/stm32f1-spi-fix
...
cpu/stm32f1: spi_transfer_bytes proper counting.
2014-09-03 01:34:47 -07:00
Joakim Gebart
21fc1bd7a6
cpu/stm32f1: Reduce scope of ret variable in spi_transfer_bytes.
...
Reduced scope to inside the while loop as per comments in RIOT-OS/RIOT#1630
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-03 10:28:33 +02:00
Joakim Gebart
a12b879027
cpu/stm32f1: spi_transfer_bytes proper counting.
...
The transferred bytes were being counted more than once because of a +=
when calling spi_transfer_byte().
This patch should also handle errors from spi_transfer_byte() better
since it is now possible to detect errors _after_ the first byte has
been successfully sent.
Signed-off-by: Joakim Gebart <joakim@gebart.se>
2014-09-02 17:17:21 +02:00
Hauke Petersen
4287188f26
Merge pull request #1494 from fnack/msbiot_reworked
...
Initial import of MSB-IoT board
2014-09-02 17:02:44 +02:00
Fabian Nack
c4bb61ce4e
licenses: added stm specific 3 clause BSD license pattern
2014-09-02 15:45:50 +02:00
Fabian Nack
7650ef412f
tests/examples: blacklisted msbiot for some tests
2014-09-02 15:45:50 +02:00
Fabian Nack
e8a33d58db
board - msbiot: initial import for the msbiot
2014-09-02 15:45:32 +02:00
Thomas Eichinger
b505df23a5
SQUASHME: kill openocd by PID
2014-09-02 11:41:41 +02:00
Thomas Eichinger
8945768c91
iot-lab_M3: extend debug target for iot-lab_M3
2014-09-02 10:35:48 +02:00
Fabian Nack
edb6a4ddf4
cpu - stm32f4: added support for more channels/devices in periph impls
2014-09-01 21:29:56 +02:00