Benjamin Valentin
4068133f3d
also add msg_queue for UDP
...
All other layers in the network stack use a msg_queue to not drop messages, which in this context represent packages.
This finally fixes the random crashes when UDP network traffic is present. Turns out RIOT is not handling lost messages well.
2014-02-13 07:07:46 +01:00
Benjamin Valentin
95d3aae48c
actually use msg_queue in ip.c
...
msg_queue is defined but never used, hook it up so IP packets get queued instead of dropped when there is more than one.
change the name to ip_msg_queue to avoid naming conflicts.
2014-02-13 07:07:07 +01:00
Christian Mehlis
c668189e8c
Merge pull request #690 from LudwigOrtmann/wikilinks
...
fix wiki links
2014-02-12 22:02:44 +01:00
8d07b131db
core: msg: add some debug statements
2014-02-12 19:16:42 +01:00
210a20b807
core: msg: don't wake up sender after receive if it's REPLY_BLOCKED
...
solves issue #100
If the sender is reply-blocked, waking it up after its message has been
delivered is wrong. It needs to stay reply-blocked until the reply has
been delivered.
2014-02-12 19:16:41 +01:00
Martin Lenders
8336c8ed14
Add wireshark dissector for native packets
2014-02-12 18:28:22 +01:00
Ludwig Ortmann
6663e7c2fb
fix wiki links
2014-02-12 16:54:38 +01:00
Kévin Roussel
7073489dac
Implemented reboot() function for MSP430 MCUs
2014-02-12 15:26:02 +01:00
Kévin Roussel
e7d19fd2be
Add a reboot() function to kernel.h definitions.
2014-02-12 15:26:02 +01:00
Martin Lenders
378b85bfd0
Always use absolute paths with configurable paths variables
2014-02-12 15:23:15 +01:00
3968ccffa8
Merge pull request #689 from rousselk/compiler-attrib
...
Portable definition of function attributes
2014-02-12 15:19:47 +01:00
Kévin Roussel
8ca607bd70
Portable definition of function attributes
2014-02-12 14:58:59 +01:00
René Kijewski
ee6f6830aa
Apply @authmillenon's patch
2014-02-12 13:59:39 +01:00
René Kijewski
84cffaa0a0
Use include path convention for PKGs
...
Packages have to define a Makefile.include target in pkg/%/Makefile.
pkg/%/Makefile.include will be loaded after all other dependencies.
2014-02-12 13:59:39 +01:00
René Kijewski
5906f18a81
Add USEPKG variable for Makefiles
...
Currently pkg/USING says one should use
`EXTERNAL+=$(RIOTBASE)/pkg/<pkg_name>` to enable PKG modules.
Using this line the PKG will be compiled but not linked.
This change adds a USEPKG variable to be used like
`USEPKG += <pkg_name>`, which looks less clumsy and gets the PKG linked
in the binary.
2014-02-12 13:57:30 +01:00
Christian Mehlis
d794900386
Merge pull request #666 from LudwigOrtmann/native_valgrind_config
...
Native valgrind config
2014-02-12 11:01:34 +01:00
Christian Mehlis
07c5ae3ca9
Merge pull request #664 from Kijewski/conditional-fno-delete-null-pointer-checks
...
clang does not know fno-delete-null-pointer-checks
2014-02-12 10:48:27 +01:00
Oleg Hahm
44ee27a959
Merge pull request #684 from OlegHahm/avsextrem_spi_function_renaming
...
correct cc110x function names
2014-02-12 10:06:23 +01:00
Thomas Eichinger
17b624e0a4
Merge pull request #681 from OlegHahm/at86rf231_fixes
...
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
03a13a3752
Merge pull request #682 from LudwigOrtmann/gpioint-example
...
remove hint at non-existent example
2014-02-12 00:16:25 +01:00
Oleg Hahm
9fbfa3faec
correct cc110x function names
2014-02-12 00:10:15 +01:00
Ludwig Ortmann
114aaa65e5
Merge pull request #626 from LudwigOrtmann/issue_621
...
add EUI-64 support for nativenet
2014-02-11 19:30:23 +01:00
Ludwig Ortmann
b175dbee91
update Makefiles to point to all-valgrind target
...
Header path knowledge is not necessary anymore
2014-02-11 19:22:40 +01:00
Ludwig Ortmann
336c5159b2
use pkg-config to add valgrind include path
...
makes knowledge of VALGRIND_VALGRIND_H vs. VALGRIND_H optional
2014-02-11 19:22:39 +01:00
Ludwig Ortmann
4eeeb42c4b
remove hint at non-existent example
2014-02-11 19:02:44 +01:00
Ludwig Ortmann
e67aefa112
Merge pull request #673 from LudwigOrtmann/whitespace
...
remove all trailing blank lines and all trailing whitespace
2014-02-11 18:54:39 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
9fff3f5b90
Merge pull request #657 from LudwigOrtmann/wsn430-v1_4_Makefiles
...
fix wsn430-v1_4 Makefiles
2014-02-11 17:55:11 +01:00
Oleg Hahm
3c169de879
Merge pull request #661 from LudwigOrtmann/Makefile_dep
...
move Makefile.dep include
2014-02-11 17:44:59 +01:00
Oleg Hahm
f379eefbd8
fix includes and shell commands for at86rf231
2014-02-11 17:15:03 +01:00
Oleg Hahm
41f7ab8c91
Merge pull request #646 from BytesGalore/fix_tranceiver_pid_for_cc110x_ng
...
fix to use only transceiver_pid from transceiver.c
2014-02-11 17:09:24 +01:00
Oleg Hahm
5fed1dc018
Merge pull request #653 from BytesGalore/fix_transceiver_pid_for_cc2420
...
fix to use only transceiver_pid from transceiver.c (cc2420)
2014-02-11 17:07:13 +01:00
Oleg Hahm
60afe059e4
Merge pull request #652 from BytesGalore/fix_transceiver_pid_for_at86rf231
...
fix to use only transceiver_pid from transceiver.c (at86rf231)
2014-02-11 17:05:11 +01:00
René Kijewski
7e685d6b36
Do not zero out sched_threads needlessly
...
The function sched_init() zeroes out sched_threads needlessly. All
static variables can be assumed to be initialized with zero, anyways.
The C standard mandates it, and all at other places in the code it is
assumed.
2014-02-11 16:47:00 +01:00
Oleg Hahm
49c6a3af55
Merge pull request #655 from OlegHahm/cc110x_header
...
include cc110x.h instead of deprecated interface.h
2014-02-11 15:47:24 +01:00
René Kijewski
0054d4bb54
Adapt quad lib to RIOT coding conventions
2014-02-11 15:27:51 +01:00
René Kijewski
3dff8ed10c
Add compile time checks to quad.h
2014-02-11 15:24:21 +01:00
René Kijewski
76bbac4c2b
Add quadword math lib
...
GCC implicitly calls functions like __adddi3 to handle arithmetics on
long long.
Copied from http://ftp3.usa.openbsd.org/pub/OpenBSD/src/lib/libc/quad/
which is curtesy of the OpenBSD project (3 clause BSD license).
2014-02-11 15:24:21 +01:00
Oleg Hahm
0e734f5c38
Merge pull request #663 from authmillenon/rm-addr-conv-dep
...
Remove destiny header dependency from net_help
2014-02-11 13:41:21 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
René Kijewski
012fb5f95d
Fix -fno-delete-null-pointer-checks ( #664 )
...
Only use -fno-delete-null-pointer-checks if the supplied compiler knows
the flag. Clang does not understand the flag, and does not need it.
2014-02-10 21:10:31 +01:00
Christian Mehlis
bfadc1a18e
Merge pull request #640 from benpicco/fixes
...
newlib doesn't support the z modifier
2014-02-10 20:33:42 +01:00
Thomas Eichinger
e25343d3bf
Merge pull request #674 from LudwigOrtmann/native_osx_make
...
native/osx makefile cleanup
2014-02-10 16:05:41 +01:00
Christian Mehlis
33239487bf
shell: remove useless copying of input string
2014-02-10 15:41:04 +01:00
Ludwig Ortmann
d40b6ac5b1
native+osx makefile cleanup
...
* add missing $(AD) to osx $(LINK) invocation
* move osx build determination to native makefile
* move old libc test to native makefile
* set objcopy to "true" - it is superfluous for native no matter what the system is
* add some documentation to natives makefile
2014-02-10 12:25:47 +01:00
Christian Mehlis
14cb81d914
Merge pull request #639 from mehlis/remaining-license
...
added licenses to some files
2014-02-10 10:18:01 +01:00
Martin
742b49eb47
fix made transceiver_pid extern for cc2420
2014-02-10 08:53:53 +01:00
Martin
6bd7576cda
fix made transceiver_pid extern for at86rf231
2014-02-10 08:47:55 +01:00
Martin
476a7d68dc
aligned comment on external thread_pid
2014-02-10 08:43:14 +01:00
Ludwig Ortmann
c49c2500d8
Merge pull request #650 from BytesGalore/fix_cast_const_string_to_char_pointer
...
changed clonedev assignment according to const string
2014-02-10 08:36:37 +01:00