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

4135 Commits

Author SHA1 Message Date
Hauke Petersen
9051c7be4b Merge pull request #1861 from haukepetersen/fix_cc2538_irqvector
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:40:10 +02:00
Thomas Eichinger
2e9d4cbba4 Merge pull request #1862 from haukepetersen/fix_cc2538_includecleanup
cpu/cc2538: centralized all cpu specific includes
2014-10-24 14:23:43 +02:00
Hauke Petersen
ca20603d54 cpu/cc2538: made ISR names configurable by a board 2014-10-24 14:00:53 +02:00
Hauke Petersen
eee159ee74 board/cc2538dk: made ISR functions configurable 2014-10-24 14:00:53 +02:00
Hauke Petersen
24ac5a7e94 cpu/cc2538: cleaned up IRQ vector definition 2014-10-24 14:00:47 +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
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
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
db8f3d2650 cpu: use typed function pointer for thread_arch_init 2014-10-23 18:26:21 +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
BytesGalore
f94623ae0f drivers: add extern "C" to header files 2014-10-21 15:30:03 +02:00
BytesGalore
74161f0f2d core: moved #includes outside the extern "C" guards 2014-10-21 13:46:04 +02:00
Ludwig Ortmann
a2bb383a86 Merge pull request #1838 from LudwigOrtmann/native_subsstructure
native: add substructure
2014-10-21 00:56:24 -07:00
René Kijewski
c11a575ec0 Merge pull request #1268 from Kijewski/issue-1267
core: align stack on a 32bit boundary
2014-10-21 01:05:47 +02:00
Ian Martin
647391f71c cc2538: Set __NVIC_PRIO_BITS to the correct value of 3. 2014-10-20 14:21:17 -04:00
Ludwig Ortmann
d17b7730f5 Merge pull request #1833 from OlegHahm/dont_overwrite_linkflags
make: don't overwrite LINKFLAGS
2014-10-18 07:46:14 -07:00
Hinnerk van Bruinehsen
1c4971b49c Merge pull request #1831 from LudwigOrtmann/periph_gpio_ifdef
drivers/periph/gpio: fix #ifdef instead of #if
2014-10-18 11:24:02 +02:00
Ludwig Ortmann
45cf2e4967 native: relocate drivers/rtc implementation 2014-10-18 11:00:09 +02:00
Ludwig Ortmann
0136f208c6 native: add drivers substructure 2014-10-18 10:58:51 +02:00
Ludwig Ortmann
833c36f09d native: relocate periph/cpuid implementation 2014-10-18 10:48:03 +02:00