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

4497 Commits

Author SHA1 Message Date
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
310d468659 drivers - cc110x_legacy: add missing license 2014-10-24 09:55:57 +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
Oleg Hahm
a676038472 Merge pull request #1869 from authmillenon/vtimer-doc-improve
vtimer: improve documentation of vtimer_set_msg()
2014-10-23 22:56:24 +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
cb48f7cd47 doc: fix warning from avr libc 2014-10-23 20:53:01 +02:00
Oleg Hahm
c53bd9ca5d doc: remove more CPU specific documentation 2014-10-23 20:53:01 +02:00
Oleg Hahm
c0bcac460e doc: beautify HTML documentation
* add logo
* add description
* use RIOT specific color scheme
* add search functionality
* remove broken custom header, footer, and style sheet
2014-10-23 20:53:01 +02:00
Oleg Hahm
b066433bdc doc: improve doxygen cache size 2014-10-23 20:53:01 +02:00
Oleg Hahm
3092416a0a doc: add names to pca1000x boards 2014-10-23 20:53:00 +02:00
Oleg Hahm
31b83e8753 doc: rename iot-lab_M3 group name 2014-10-23 20:53:00 +02:00
Oleg Hahm
a9a5c2da1c doc: fix vtimer documentation 2014-10-23 20:53:00 +02:00
Oleg Hahm
bbf82ab254 doc: put atmega cpu file into the right group 2014-10-23 20:53:00 +02:00
Oleg Hahm
ca866b248e doc: fix naming for Cortex M3 common group 2014-10-23 20:53:00 +02:00
Oleg Hahm
481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
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
49208ffb59 doc: exclude more CPU specific stuff from doxygen 2014-10-23 20:53:00 +02:00
René Kijewski
aa086158ee Add copyright information to lpc1768/include/cpu.h 2014-10-23 20:50:31 +02:00
René Kijewski
c0ce346a12 cppcheck: don't needlessly assign sched_active_pid 2014-10-23 20:50:31 +02:00
René Kijewski
b46d3d9d1a Merge pull request #1866 from OlegHahm/core_fix_thread_init_prototype
cpu: use typed function pointer for thread_arch_init
2014-10-23 19:55:44 +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
db8f3d2650 cpu: use typed function pointer for thread_arch_init 2014-10-23 18:26:21 +02:00
Oleg Hahm
18381661dc doc: fix documentation for hwtimer
@verbatim was used incorrectly and a closing html tag was missing
2014-10-23 17:29:25 +02:00
Oleg Hahm
0a040f8b79 doc: updated doxygen configuration
Updated with `doxygen -u`
2014-10-23 17:29:25 +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
Hauke Petersen
ccd601b429 cpu/cc2538: centralized all cpu specific includes
- added all CPU specific includes to cpu-conf.h
- removed now not needed includes from cpu .c files
2014-10-23 14:04:57 +02:00
Ludwig Ortmann
18ac4dfcb9 Merge pull request #1856 from BytesGalore/extern_C_in_headers_drivers_add_new_headers
drivers: added missing `extern "C"` guards in new files
2014-10-23 01:51:23 -07:00
Ludwig Ortmann
dd379220e7 Merge pull request #1851 from authmillenon/native-debug-args
make: initialize debugger with TERMFLAGS
2014-10-23 01:17:12 -07:00
René Kijewski
aeef892360 Merge pull request #1858 from OlegHahm/dist_makefile
make: doc: clean up dist Makefile
2014-10-22 20:08:30 +02:00
Oleg Hahm
b0a65e870b make: doc: clean up dist Makefile 2014-10-22 20:00:26 +02:00
1667506948 Merge pull request #1816 from Kijewski/runqueues-name-fixup
core: make sched_runqueues static
2014-10-22 19:23:42 +02:00
ad65a1383a Merge pull request #1637 from kaspar030/docker
dist: add Dockerfile for docker builder container
2014-10-22 18:18:06 +02:00
6f6fb8a621 dist: add Dockerfile for docker builder container 2014-10-22 18:11:21 +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
René Kijewski
b604832777 core: make sched_runqueues static
PR #1000 overlooked to rename `runqueues` into `sched_runqueues` in
 `sched.h`. This shows that the variable is not used outside of
 `sched.c`.

 As the list should not be accessed outside of the scheduler, so it
 can be `static`.
2014-10-22 16:55:50 +02:00
Hauke Petersen
a57a4e761f Merge pull request #1847 from kaspar030/msg_try_send
core: introduce msg_try_send
2014-10-22 16:33:17 +02:00
5146c66786 core: adapt to msg_try_send 2014-10-22 12:37:33 +02:00
bdcac07faa core: msg: introduce msg_try_send 2014-10-22 12:37:33 +02:00
Oleg Hahm
51d40ce524 Merge pull request #1853 from authmillenon/solicited-node-address-fix
ip: set solicited node address correctly
2014-10-22 11:39:56 +02:00
BytesGalore
469f28bf5c added missing extern "C" guards 2014-10-22 07:50:48 +02:00
DangNhat Pham-Huu
e80c712040 Merge pull request #1807 from BytesGalore/extern_C_in_headers_drivers
drivers: add `extern "C"` to header files
2014-10-22 07:14:31 +07:00
DangNhat Pham-Huu
e6c7414357 Merge pull request #1805 from BytesGalore/extern_C_in_headers_core_unguard_includes
core: moved `#include`s outside the `extern "C"` guards
2014-10-22 07:09:57 +07:00
Martine Lenders
fbaae0951a ip: set solicited node address correctly 2014-10-21 20:22:07 +02:00
René Kijewski
105efa5d46 Merge pull request #1852 from authmillenon/byteorder-silence
byteorder: silence warnings in clang
2014-10-21 19:59:10 +02:00
Martine Lenders
a7ed27130d byteorder: silence warnings in clang 2014-10-21 19:50:37 +02:00
Martine Lenders
b3f59eec65 make: initialize debugger with TERMFLAGS 2014-10-21 19:49:00 +02:00
Oleg Hahm
fd2ec50035 Merge pull request #1848 from locicontrols/cc2538-nvic-prio-bits
cc2538: Set __NVIC_PRIO_BITS to the correct value of 3.
2014-10-21 16:10:16 +02:00