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

2286 Commits

Author SHA1 Message Date
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
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