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

3167 Commits

Author SHA1 Message Date
René Kijewski
f3bbec633b unittests: core: add test_bitarithm_[ml]sb_all 2014-06-05 20:19:10 +02:00
f7913e31a8 tests: test_vtimer_msg_diff: Makefile s/PROJECT/APPLICATION/g 2014-06-05 14:35:37 +02:00
Cenk Gündoğan
7584ffe887 destiny: fixed condition for error handling
send_tcp returns either the length of the sent data,
or -1, if an error was detected.

The current implementation checks for != 1.
This results in executing the error case, although
there was semantically no error returned from send_tcp.
2014-06-05 14:17:48 +02:00
Cenk Gündoğan
43b7a393b1 destiny: wireshark compliant tcp flags
This enum is also used to set the tcp flags within a tcp header.
With the current values in this enum, wireshark is not able to
recognize the tcp segments as their actual tcp type,
and thus odd messages in wireshark appear.

destiny: reusing tcp flags for combinations
2014-06-05 13:15:00 +02:00
9ee346c9d3 tests: test_vtimer_msg_diff: add some timers, change max values 2014-06-05 12:51:26 +02:00
8d9569d8b0 tests: test_vtimer_msg_diff: use array for timers, change first to 1s 2014-06-05 12:43:16 +02:00
40c939882d tests: add test_vtimer_msg_diff
This test sets three timers and renews them periodically, showing the
difference they accumulate.
2014-06-05 12:35:06 +02:00
Sebastian Sontberg
06433426cf wireshark: fix dissector plugin and expand documentation
The wireshark dissector plugin currently fails with a "Lua Error" when
trying to parse nativenet packets. This patch restores working behaviour
by commenting the offending line introduced in 1258675, which intention
was to account for padding in small packets. It further adds a comment
on how to edit the plugin for the case padding information is required.

The README.md now contains a usage note for configuration on fedora
which might also be helpful for users of other distributions.
2014-06-04 20:36:18 +02:00
Thomas Eichinger
87f0977c21 Merge pull request #1272 from OlegHahm/sched_pidlist_fix
core: fix variable name for sched_pidlist
2014-06-04 12:38:25 +02:00
Oleg Hahm
c679a051d9 core: fix variable name for sched_pidlist 2014-06-04 02:13:06 +02:00
Oleg Hahm
47e5c9055c Merge pull request #1269 from cgundogan/fix_get_waiting_connection_socket_null_check
destiny: segfault due to dereferencing nullpointer
2014-06-04 00:51:41 +02:00
Cenk Gündoğan
f41fe7bb04 destiny: segfault due to dereferencing nullpointer
get_socket(i) returns NULL, when no specific socket is found.
Without an appropriate check for NULL, the current state
of the code leads to a segfault.

destiny: added parens

destiny: continuing the loop makes more sense than returning at first sight of NULL
2014-06-03 22:48:01 +02:00
René Kijewski
aab2311205 Merge pull request #1248 from thomaseichinger/debug_h_doc_fix
core:debug: documentation for `DEBUG_PRINT` was confusing and wrong
2014-06-03 22:42:39 +02:00
René Kijewski
d0d935f996 Merge pull request #1250 from Kijewski/x86-osx-fix-download
x86: fix download script for OSX
2014-06-03 22:41:11 +02:00
René Kijewski
ee02a0f654 x86: fix download script for OSX
Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.
2014-06-03 22:36:00 +02:00
Martine Lenders
e84cdd67b7 Merge pull request #1238 from authmillenon/makefile-unittests
unittests: Force execution of $(UNITTEST_LIBS) build target
2014-06-03 17:56:09 +02:00
Ludwig Ortmann
cf555c4ebd Merge pull request #1214 from LudwigOrtmann/issue-1045
native: unix socket path enhancement
2014-06-03 17:26:19 +02:00
Ludwig Ortmann
1e5e19bc23 native: set optional path with unix socket option
fixes #1045
2014-06-03 16:46:40 +02:00
Ludwig Ortmann
e36590cda7 native: fix coding style 2014-06-03 16:46:40 +02:00
René Kijewski
05a4bf7f04 Merge pull request #1057 from Kijewski/sched_switch-current_prio
core: imply current_prio in `sched_switch()`
2014-06-03 15:59:23 +02:00
Oleg Hahm
4298918ba7 rpl: debug: use DEBUGF where necessary 2014-06-03 15:08:50 +02:00
Oleg Hahm
fe788838ef net: IPv6: RPL: more debug output 2014-06-03 15:04:53 +02:00
Oleg Hahm
e165a08606 fixed debugging for cc110x 2014-06-03 15:04:52 +02:00
Oleg Hahm
e5e9d9e538 set correct transceiver stack size for debugging 2014-06-03 15:04:52 +02:00
Oleg Hahm
4f62ef4547 some minor fixes and debugging 2014-06-03 15:04:50 +02:00
Oleg Hahm
e87e6bedca you can never have enough debugging in RPL 2014-06-03 15:01:48 +02:00
Martine Lenders
eb75093cfc Merge pull request #1262 from cgundogan/fix_posix_accept
pnet: accept should return a new generated file descriptor
2014-06-03 14:25:58 +02:00
Cenk Gündoğan
56298378ee pnet: accept should return a new generated file descriptor
From man page:
On success, these system calls return a nonnegative integer that is a
descriptor for the accepted socket. On error, -1 is returned, and errno
is set appropriately.
2014-06-02 18:53:51 +02:00
René Kijewski
fb6197af39 Merge pull request #1261 from Kijewski/test_struct_tm_utility-license
tests: add missing license to test_struct_tm_utility
2014-06-02 17:36:28 +02:00
René Kijewski
fa76383700 tests: add missing license to test_struct_tm_utility 2014-06-02 16:54:46 +02:00
Oleg Hahm
bd94bd22f6 Merge pull request #1209 from Kijewski/buildinfo
make: add comprehensive `buildinfo` list
2014-06-02 14:04:01 +02:00
René Kijewski
abdb3ef2a4 x86: add read-before-write check at runtime
Finding read-before-writes statically is quite difficult. In native we
can use valgrind, but on boards without an MMU we are out of luck.

x86 has an MMU, let's use it.

If `-DDEBUG_READ_BEFORE_WRITE` was set, then pages on the heap get
initialized upon first use. If the page was read before written, then a
debug message with the virtual and physical address of the memory
location is printed, as well as the address of the offending instruction.
2014-05-31 19:45:19 +02:00
René Kijewski
94bb326fc0 shell: fix newlines 2014-05-30 21:10:05 +02:00
Thomas Eichinger
9cde1e5fc3 Merge pull request #1146 from Kijewski/struct-tm-utils
sys: add utility functions for `struct tm`
2014-05-28 12:20:32 +02:00
Thomas Eichinger
a2fb1159b3 Merge pull request #1247 from thomaseichinger/transceiver_doc
sys:transceiver: fix some doxygen comments
2014-05-28 12:02:25 +02:00
René Kijewski
bd2fbd161b Add struct tm utility "test" 2014-05-28 00:43:41 +02:00
René Kijewski
1887bd45c6 sys: add utility functions for struct tm 2014-05-28 00:16:32 +02:00
Oleg Hahm
256a2074f0 Replaced old release notes with the current ones 2014-05-27 19:28:54 +02:00
Thomas Eichinger
cf93dc6590 core:debug: documentation for DEBUG_PRINT was confusing and wrong 2014-05-27 16:29:35 +02:00
Thomas Eichinger
f32c7af1a9 sys:transceiver: fix some doxygen comments 2014-05-27 15:57:28 +02:00
Thomas Eichinger
cc83220f48 Merge pull request #1217 from thomaseichinger/YALF
boards: cpu: cleanup licenses to fix #392
2014-05-27 11:55:56 +02:00
Thomas Eichinger
c70ae14ff0 cleanup licenses to fix #392 2014-05-27 11:54:55 +02:00
Kévin Roussel
7ab53506c6 Merge pull request #1239 from rousselk/radio-API-again
Add a missing constant in 'radio_tx_status_t' enum
2014-05-27 11:47:55 +02:00
Kévin Roussel
5eb83c7c18 Add a missing constant in 'radio_tx_status_t' enum 2014-05-27 10:43:53 +02:00
Martin Lenders
f201ceed99 unittests: Force execution of $(UNITTEST_LIBS) build target 2014-05-27 10:41:28 +02:00
Martine Lenders
fb4619ebc6 Merge pull request #1163 from authmillenon/fix-whitespaces
Fix trailing whitespaces
2014-05-26 14:56:08 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
Martine Lenders
62139bd0d2 Merge pull request #1207 from Kijewski/unittests-makefile.include
unittests: support Makefile.include in test suites
2014-05-26 14:51:12 +02:00
Christian Mehlis
ad46060929 Merge pull request #1227 from emmanuelsearch/CCN-documentation
CCN documentation
2014-05-26 14:22:50 +02:00
emmanuelsearch
a37e86db0a Documentation: Create README.md for the CCN-lite client and relay 2014-05-26 14:11:30 +02:00