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

2464 Commits

Author SHA1 Message Date
Christian Mehlis
7092ac629c Merge pull request #569 from kaspar030/dont_wake_up_reply_blocked_sender_after_receive
core: msg: don't wake up sender after receive if it's REPLY_BLOCKED
2014-02-16 11:02:10 +01:00
Christian Mehlis
4a3d8cddaa Merge pull request #665 from authmillenon/wireshark-dissector
Add wireshark dissector for native packets
2014-02-16 10:49:55 +01:00
Christian Mehlis
ea544bb5fb Merge pull request #709 from LudwigOrtmann/transceiver_ignore_unused
fix ignore_add unused parameter warning
2014-02-16 10:45:25 +01:00
Oleg Hahm
0467181093 replaced tabs with spaces 2014-02-15 17:29:49 +01:00
Oleg Hahm
85a05dd794 added reboot and reset handler for lpc1768 2014-02-15 17:29:49 +01:00
Ludwig Ortmann
0d0cf751ef Merge pull request #706 from LudwigOrtmann/blacklist_fix
use filter instead of findstring in BOARD_BLACKLIST checking
2014-02-15 17:02:38 +01:00
Ludwig Ortmann
47aa7b4bb2 reflect the original intent of the unused ignore_add parameter 2014-02-15 12:58:55 +01:00
René Kijewski
4a12c91d95 Fix cc110x vs cc110x_ng problems 2014-02-15 12:48:11 +01:00
Ludwig Ortmann
5ede3a82df fix ignore_add unused parameter warning 2014-02-15 12:11:47 +01:00
Ludwig Ortmann
d3901529c6 use filter instead of findstring in BOARD_BLACKLIST checking 2014-02-15 07:56:46 +01:00
René Kijewski
24defa5289 Merge pull request #572 from Kijewski/quad-math
Add quadword math library
2014-02-15 03:55:50 +01:00
0e9c91f696 Merge pull request #704 from mehlis/for-while
replace all endless for loops by while
2014-02-14 18:50:00 +01:00
Martin Lenders
b41e36de3a Merge pull request #535 from authmillenon/board-blacklists-whitelists
Introduce board blacklists and board whitelists
2014-02-14 18:29:15 +01:00
Christian Mehlis
4fd6d73125 Merge pull request #678 from mehlis/shell-no-copy
shell: remove useless copying of input string
2014-02-14 18:03:14 +01:00
Christian Mehlis
38529e3296 replace all endless for loops by while 2014-02-14 17:47:33 +01:00
Kévin Roussel
3753f382fc Merge pull request #2 from LudwigOrtmann/shell_syscalls
add system calls to the shell (to implement a reboot command)
2014-02-14 17:24:38 +01:00
Ludwig Ortmann
523129c1d6 add system calls to the shell 2014-02-14 17:17:25 +01:00
Kévin Roussel
4eee19f32c Merge pull request #1 from LudwigOrtmann/native_reboot
implement rudimentary native reboot
2014-02-14 16:35:58 +01:00
Kévin Roussel
f6d7910352 Added while(1) to ensure GCC valids NORETURN; fixed indentation 2014-02-14 16:33:47 +01:00
Ludwig Ortmann
561eefab07 implement rudimentary native reboot 2014-02-14 16:20:36 +01:00
René Kijewski
b9c9436e88 102dc45382 (commitcomment-5378590) 2014-02-14 14:50:39 +01:00
René Kijewski
4b012dfa54 Merge pull request #576 from Kijewski/usepkg
Add USEPKG variable for Makefiles
2014-02-14 14:40:24 +01:00
René Kijewski
7f4fb027db Merge pull request #692 from Kijewski/std-flag
Do not mandate input language
2014-02-14 14:39:47 +01:00
René Kijewski
47e11ddfe3 Split } else { lines per #693 2014-02-14 14:36:06 +01:00
René Kijewski
102dc45382 Eliminate findstring in more places 2014-02-14 14:30:16 +01:00
Kévin Roussel
7ad37edb82 Added while(1) to ensure GCC valids NORETURN; fixed indentation 2014-02-14 12:13:10 +01:00
Kévin Roussel
c33087bdcd Implemented reboot() function for ARM-based MCUs 2014-02-14 11:56:18 +01:00
Kévin Roussel
ca6db02530 Function attributes are now defined elsewhere ("attributes.h") 2014-02-14 10:58:17 +01:00
Martin Lenders
e6d5af4b8f Introduce board blacklists and board whitelists 2014-02-14 09:49:17 +01:00
René Kijewski
d86509db66 Use filter instead of findstring
See #672
2014-02-14 00:30:34 +01:00
René Kijewski
caea069bcf Do not mandate input language
An application might want to use C11 features. The user would assume
that setting `CFLAGS=-std=gnu11` in the Makefile would work. It does not
since the board's Makefile.include shadows the `-std` flag.

This patch removes the `-std=gnu99` from the various Makefile.includes,
and sets the flag in the common Makefile.include of RIOT instead.
If an `-std` flag was provided by an earlier Makefile (the application,
the board, or the CPU [whilst only the former one should]), then no
additional flag is set. It is first tested if the supplied compiler
understands `-std=gnu99`, then `-std=c99`.
2014-02-14 00:06:02 +01:00
Ludwig Ortmann
8a23d621d7 Merge pull request #699 from LudwigOrtmann/issue_696
fix test_irq Makefile
2014-02-13 23:50:39 +01:00
Ludwig Ortmann
8ce1fdde11 fix test_irq Makefile
closes #696
2014-02-13 23:39:21 +01:00
Christian Mehlis
4a3d2d6b6d Merge pull request #691 from Lotterleben/test-569
added two test cases for issue #100
2014-02-13 14:29:09 +01:00
Lotte Steenbrink
8812745b02 added two test cases for issue #100
test_thread_msg_block_w_queue:
	demonstrates the behaviour described in issue #100
	and that it is solved by PR #569

test_thread_msg_block_wo_queue:
	demonstrates behaviour similar to the above but without
	a messge queue. This works with the current master, but
	breaks with PR #569
2014-02-13 13:25:45 +00:00
622d473eb3 core: msg: yield after queueing of a message if REPLY_BLOCKED
When setting the running task reply_blocked, it is implicitly removed
from the runqueue. But if queueing of a msg is actually successful, the
thread exits msg_send without yielding, continuing to run even if it's
not supposed to.

Nice example of why multiple function exit points lead to weird
errors...
2014-02-13 11:33:18 +01:00
Oleg Hahm
318f73dacc Merge pull request #688 from authmillenon/absolute-paths
Makefiles: Always use absolute paths with configurable paths variables
2014-02-13 10:09:20 +01:00
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