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

1342 Commits

Author SHA1 Message Date
Hinnerk van Bruinehsen
ce075d9cbd lint: suppress warning about obsoleteFuntionsasctime 2014-10-31 01:24:32 +01:00
Hinnerk van Bruinehsen
aca4724447 lint: fix warnings of possible nullPointer dereferences 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
ff6a7febc6 lint: fix uselessAssignmentPtrArg 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
8723ba7568 lint: fix variableScope warnings 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
ec98c85a05 lint: fix unusedVariable warnings
SQUASH ME: into unusedVariable (annotated)

SQUASH ME: into unusedVariable (II)

SQUASH ME: into unreadVariable (II)
2014-10-31 01:24:29 +01:00
Oleg Hahm
62006b6f34 Merge pull request #1915 from OlegHahm/replace_has_radio_by_feature
make: replace has radio by feature
2014-10-30 23:29:49 +01:00
Oleg Hahm
50ad24b011 Merge pull request #1911 from OlegHahm/fix_trickle_timer_stacksize
trickle: fix timer stacksize
2014-10-30 23:21:00 +01:00
f2483dfd5b Merge pull request #1649 from kaspar030/ringbuffer_remove
sys: lib: introduce ringbuffer_remove()
2014-10-30 23:20:06 +01:00
e4257284ad sys: lib: introduce ringbuffer_remove()
This commit adds a function that deletes n elements from the ringbuffer
without actually writing them somewhere.
2014-10-30 23:23:27 +01:00
Oleg Hahm
1b47b76135 config: use FEATURE_PROVIDED instead of HAS_RADIO 2014-10-30 23:13:52 +01:00
benpicco
54c3cb259e Merge pull request #1908 from OlegHahm/ps_fix_after_tcb_cleanup
sys: fix thread_print_all
2014-10-30 22:46:02 +01:00
Oleg Hahm
99b5ff81fa config: suppress cppcheck warnings 2014-10-30 22:27:12 +01:00
Oleg Hahm
576e76db51 config: make members feature specific
Channel and address are only sensible for boards that actually have a
transceiver.
2014-10-30 22:27:12 +01:00
Oleg Hahm
6b39ce9650 config: moved from core to sys
There's no need to run config_load from core directly, can be done by
auto_init.
2014-10-30 22:27:11 +01:00
Oleg Hahm
5cf154223b trickle: increase stacksize for timer thread
printf is used in this thread
2014-10-30 21:27:12 +01:00
Oleg Hahm
7b95b613b2 sys: fix thread_print_all 2014-10-30 20:16:48 +01:00
Oleg Hahm
313d5b4e56 doc: added and fixed some copyright boilerplates 2014-10-30 19:30:14 +01:00
Oleg Hahm
922b2d758f Merge pull request #1815 from OlegHahm/core_eliminate_unnecessary_tcb_members
core: eliminate unnecessary tcb_t struct fields
2014-10-30 16:45:30 +01:00
Martine Lenders
1dae583bce Merge pull request #1884 from authmillenon/od
sys: Initial import of analytical object dump (od) module
2014-10-30 16:42:30 +01:00
Martine Lenders
3519a3d9be sys: Initial import of analytical object dump (od) module 2014-10-30 16:43:06 +01:00
Oleg Hahm
9a61d8cf1c core: move optional tcb members to DEVELHELP 2014-10-30 16:37:10 +01:00
Oleg Hahm
cf8cf3bb68 Merge pull request #1843 from OlegHahm/timex_cleanup
sys: timex cleanup
2014-10-28 18:00:52 +01:00
Ludwig Ortmann
d78c101b08 Merge pull request #1880 from fnack/cc110x_rename
drivers/cc110x: rename driver to cc110x_legacy_csma
2014-10-28 09:54:41 -07:00
Oleg Hahm
af13f190e6 doc: compliment and fix timex documentation 2014-10-28 17:50:11 +01:00
Fabian Nack
53b0ad2be5 drivers - cc110x: rename cc110x to cc110x_legacy_csma 2014-10-28 16:18:50 +01:00
Oleg Hahm
20dc7b0b00 timex: remove redundant struct timex_t declaration
timex_t is available as a typedef, declaring it as `struct timex_t` in
addition is not necessary.
2014-10-28 14:25:34 +01:00
Oleg Hahm
4b3fa4925a timex: update copyrights 2014-10-28 14:25:34 +01:00
Oleg Hahm
67f82fcee0 timex: replace print by a to_str function
Instead of printing the timestamp, it's more flexible to convert it into
a string.
2014-10-28 14:25:34 +01:00
Oleg Hahm
8c4a874161 timex: make functions static inline
This commit makes all one- or two-liners in timex a static inline
function, defined in the header file.
2014-10-28 14:25:34 +01:00
René Kijewski
9cccf6bf8e sys:ringbuffer: use memcpy in ringbuffer_get 2014-10-28 12:22:00 +01:00
René Kijewski
c0914ec451 sys:ringbuffer: static inline ringbuffer_init 2014-10-28 12:21:46 +01:00
Oleg Hahm
d8bad332bf Merge pull request #1881 from LudwigOrtmann/purge_feuerware_radio
boards, sys: purge feuerware_radios
2014-10-27 18:16:00 +01:00
Ludwig Ortmann
eceb656c49 core,sys: fix storage types for irq API usage
* should not have any effect as long as `unsigned` and `int` are compatible
* also fix two cosmetic `unsigned int` -> `unsigned` for consistency
2014-10-27 16:25:23 +01:00
Ludwig Ortmann
975412e16d boards, sys: purge feuerware_radios
* `feuerware_radios` is unused, remove from `radio.h` header
* FEUERWARE_CONF_NUM_RADIOS is superfluous without it, remove all occurrences
2014-10-27 14:49:25 +01:00
Oleg Hahm
c33e1b5dad Merge pull request #1844 from OlegHahm/doxygen_cleanup
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Ludwig Ortmann
6a5026803c Merge pull request #1842 from fnack/cc110x_ng_rename
drivers/cc110x_ng: rename driver to cc110x_legacy
2014-10-24 03:07:37 -07:00
Oleg Hahm
9b819c4dd6 Merge pull request #1836 from Kijewski/yield-less
core: introduce sched_yield(), yield less
2014-10-24 10:05:37 +02:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
René Kijewski
677d690e2b core: introduce thread_yield_higher(), yield less
Fixes #1708.

Currently involuntary preemption causes the current thread not only to
yield for a higher prioritized thread, but all other threads of its own
priority class, too.

This PR adds the function `thread_yield_higher()`, which will yield the
current thread in favor of higher prioritized functions, but not for
threads of its own priority class.

Boards now need to implement `thread_yield_higher()` instead of
`thread_yield()`, but `COREIF_NG` boards are not affected in any way.

`thread_yield()` retains its old meaning: yield for every thread that
has the same or a higher priority.

This PR does not touch the occurrences of `thread_yield()` in the periph
drivers, because the author of this PR did not look into the logic of
the various driver implementations.
2014-10-24 00:09:56 +02:00
Martine Lenders
f7d9b02d7e vtimer: improve documentation of vtimer_set_msg() 2014-10-23 21:28:15 +02:00
Oleg Hahm
84cb4ccaa2 Merge pull request #1830 from thomaseichinger/transceiver-fixes
sys/transceiver: fixes for the use of `ieee802154_packet_t`
2014-10-23 20:58:57 +02:00
Oleg Hahm
a9a5c2da1c doc: fix vtimer documentation 2014-10-23 20:53:00 +02:00
Oleg Hahm
b186b177a5 doc: fix doxygen warnings for color module
Also fixes the module name in API documentation.
2014-10-23 20:53:00 +02:00
Oleg Hahm
206b75933e doc: fixed remaining doxygen warnings in core
Only one warning remains and will be fixed in a separate commit.
2014-10-23 18:30:09 +02:00
Oleg Hahm
6d8c0d74c3 doc: some doxygen cleanups
* removed RIOT unrelated cpu documentation
* introduced cpu_specific prefix to mark such documentation
* put oneway_malloc and crypto into sys group
2014-10-23 17:29:25 +02:00
ce6659a192 Merge pull request #1650 from kaspar030/ringbuffer_get_free
sys: lib: ringbuffer: introduce ringbuffer_get_free
2014-10-22 17:24:13 +02:00
6e03faa3d6 sys: lib: ringbuffer: introduce ringbuffer_get_free
This function returns the number of bytes available in the ringbuffer.
2014-10-22 17:07:36 +02:00
5146c66786 core: adapt to msg_try_send 2014-10-22 12:37:33 +02:00
Martine Lenders
fbaae0951a ip: set solicited node address correctly 2014-10-21 20:22:07 +02:00