Hinnerk van Bruinehsen
57b998e4a1
cpu/examples/sys/drivers: reduce scope of variables
2014-09-13 19:03:40 +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
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
Fabian Nack
47657ac7d9
cpu - stm32f4: add support for stm32f415rg
2014-09-01 21:29:56 +02:00
Ludwig Ortmann
500d6bfa8b
SQUASHME: file(line) -> file:line
...
Addresses https://github.com/RIOT-OS/RIOT/pull/1604#discussion_r16936195
2014-09-01 07:23:25 +02:00
Ludwig Ortmann
31391622a3
tests: improve calculation in hwtimer_wait
...
Kudos to @Kijewski
2014-08-29 18:51:18 +02:00
Martine Lenders
741536a82d
Merge pull request #1626 from LudwigOrtmann/hwtimer_wait_fixup
...
tests: remove need for pow,log2 in hwtimer_wait
2014-08-29 14:01:56 +02:00
334375046d
Merge pull request #1617 from rousselk/hwtimer-spin-ovf-fix
...
Ensure hwtimer_spin() won't wait for an unreachable stop counter value
2014-08-29 12:12:20 +02:00
Ludwig Ortmann
377c7a4136
tests: remove need for pow,log2 in hwtimer_wait
...
Default to precalculated value for geometric series, so pow and log2
are not needed.
2014-08-28 18:37:10 +02:00
Ludwig Ortmann
872f8ecfea
Merge pull request #1625 from LudwigOrtmann/hwtimer_wait_duration
...
tests: print expected duration in hwtimer_wait
2014-08-28 07:57:34 -07:00
Kévin Roussel
d1cf9c4bfd
Ensure hwtimer_spin() won't wait for an unreachable stop counter value
...
without using a costly MOD operation
2014-08-28 15:01:58 +02:00