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

3805 Commits

Author SHA1 Message Date
Hinnerk van Bruinehsen
d5fe9de5e5 cpu: change __ASM to asm (cppcheck uninitvar error) 2014-09-17 00:20:20 +02:00
Hinnerk van Bruinehsen
c85fa9789b boards: redbee: add missing semicolon 2014-09-16 19:57:08 +02:00
Ludwig Ortmann
6b0a549616 Merge pull request #1667 from LudwigOrtmann/cmsis-header
doc: tailor CMSIS doxygen for license checker
2014-09-16 03:57:09 -07:00
Oleg Hahm
22bf40e85e Merge pull request #1675 from thomaseichinger/rf231_channel_setting
drivers/at86rf231: handle channel out of range more conveniently
2014-09-16 10:55:09 +02:00
Thomas Eichinger
adb4c15b65 drivers/at86rf231: handle channel out of range more conveniently 2014-09-16 10:52:59 +02:00
Ludwig Ortmann
5b65f22286 Merge pull request #1672 from thomaseichinger/iot-lab_fix_term
boards/iot-lab_M3: fixing term make target
2014-09-15 07:20:33 -07:00
Thomas Eichinger
db95cff5cd iot-lab_M3: fixing term make target 2014-09-15 15:59:01 +02:00
Ludwig Ortmann
651cb6ca9f doc: tailor CMSIS doxygen for license checker
Remove '@par' within the license header to allow the existing regular
expression to match it.
2014-09-15 08:27:59 +02:00
Oleg Hahm
a59b8148e0 Merge pull request #1666 from LudwigOrtmann/1660-fixup
examples/rpl_udp: fix spelling, README.md
2014-09-15 08:25:46 +02:00
Ludwig Ortmann
aef7d2a327 examples/rpl_udp: fix spelling, README.md 2014-09-15 08:12:56 +02:00
René Kijewski
ba07d6a5a2 Merge pull request #1664 from N8Fear/unsignedLessThanZero
lint: _sbrk_r: change parameter type from size_t to ptrdiff_t
2014-09-14 23:33:17 +02:00
René Kijewski
acef250652 Merge pull request #1662 from N8Fear/void_ptr_arith
lint: lpc1768/msp430: remove arith ops on void ptrs
2014-09-14 23:31:53 +02:00
Hinnerk van Bruinehsen
129e9b0bfa cpu: multiple: change size_t to ptrdiff_t for_sbrk_r 2014-09-14 22:07:05 +02:00
Hinnerk van Bruinehsen
14bb8780f3 Merge pull request #1663 from N8Fear/arrayIndexCheck
lint: fix array indices being used before limit check
2014-09-14 02:38:18 +02:00
Hinnerk van Bruinehsen
9933dd0b78 cpu: arm/cortex-mX/atmega: use uintptr_t for sp cast 2014-09-14 02:34:04 +02:00
Hinnerk van Bruinehsen
4d2ca13fcf lint: lpc1768/msp430: remove arith ops on void ptrs 2014-09-14 02:33:44 +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
21316c38dc Merge pull request #1661 from N8Fear/duplicate
lint: remove break after return
2014-09-14 00:22:29 +02:00
Hinnerk van Bruinehsen
eb9ab083bc sys: remove break after return 2014-09-13 23:47:41 +02:00
Ludwig Ortmann
c2fbcff988 Merge pull request #1605 from BytesGalore/fix_travis_arm_none_eabi_cpp
travis: force specific compiler branch to install the c++ headers
2014-09-13 11:24:39 -07:00
Hinnerk van Bruinehsen
68e3e68ce1 Merge pull request #1657 from N8Fear/scope
lint: reduce scope (2)
2014-09-13 20:06:45 +02:00
Hinnerk van Bruinehsen
136a6b0d35 dist: linux-border_router: reduce scope 2014-09-13 19:47:58 +02:00
Hinnerk van Bruinehsen
bc0a05f19d boards: msba2-common tools: reduce scope 2014-09-13 19:47:58 +02:00
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
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
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
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