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

4021 Commits

Author SHA1 Message Date
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
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
Kévin Roussel
4421de003b Fix the race condition when an interruption occured at the beginning
of thread_yield(), i.e.: just after SR(R2) was pushed but before
the rest of the suspended thread's context was pushed!
2014-08-29 15:09:23 +02:00
Kévin Roussel
3df5a2745f Prevent the compiler to add an unwanted prologue in thread_yield() 2014-08-29 15:09:22 +02:00
Kévin Roussel
cf683d9866 Fix thread_yield by avoiding the (too) early re-enablement of IRQ,
that is: before the newly selected thread's context is totally restored
2014-08-29 15:09:22 +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
Ludwig Ortmann
77794c041e tests: print expected duration in hwtimer_wait 2014-08-28 12:39:58 +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