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

375 Commits

Author SHA1 Message Date
Martine Lenders
235375f664 native: always assert() verbosely 2016-11-29 19:28:23 +01:00
Martine Lenders
8406164ece core: fix stdio.h include for assert 2016-11-18 15:44:25 +01:00
Peter Kietzmann
11a8969ab0 Merge pull request #6003 from miri64/core/doc/msg-init-queue-power-of-two
doc: make the 2^x requirement for msg_queue more visible
2016-11-01 12:16:09 +01:00
Martine Lenders
f93ab1a1f6 doc: make the 2^x requirement for msg_queue more visible 2016-11-01 11:07:59 +01:00
Martine Lenders
61daeff04c Merge pull request #5881 from miri64/core/enh/add-verbose-assert
core: define macro for verbose behavior for assert()
2016-10-31 20:13:59 +01:00
Martine Lenders
65a11162fe core: define macro for verbose behavior for assert()
Since this is also done for MSP430 specifically that file can be
removed.
2016-10-31 13:51:54 +01:00
Ian Martin
28a7ddc9a8 core: save the stack_start in the thread context for mpu_stack_guard 2016-10-24 12:36:15 -04:00
057274b1fb Merge pull request #5877 from miri64/core/doc/assert-addr2line
core: add documentation on how to get line of failed assert()
2016-10-18 12:06:41 +02:00
Lotte Steenbrink
8bd0bd17f3 thread.h: rearrange docs, add small tutorial 2016-10-16 12:46:54 -07:00
Martine Lenders
d724b7c9aa core: add documentation on how to get line of failed assert() 2016-10-11 09:06:41 +02:00
7a3c63fddb core: clist: clist_lpeek(): add missing return statement 2016-07-20 22:25:48 +02:00
Martine Lenders
e16bbda5f6 Merge pull request #5629 from kaspar030/improve_clist
core: improve clist
2016-07-18 19:36:16 +02:00
3a6f95008d core: mbox: introduce thread decoupled message queues 2016-07-18 16:56:41 +02:00
d86c141842 core, tests: adapt to changed clist function names 2016-07-18 16:20:40 +02:00
9bfea9410e cib: add unsafe operations 2016-07-18 16:14:19 +02:00
6d12a9166a core: clist: API enhancements
- renamed clist_insert() -> clist_rpush()
- renamed clist_remove_head() -> clist_lpop()
- renamed clist_advance() -> clist_lpoprpush()
- added clist_lpush(),
    clist_rpop(),
    clist_remove(),
    clist_find(),
    clist_find_before(),
    clist_lpeek(),
    clist_rpeek()

- improved documentation
2016-07-18 13:18:15 +02:00
ec897a868c core, gnrc_netreg: remove redundant or unneeded clist.h include 2016-07-18 13:17:31 +02:00
Victor Arino
de173ff48f core/cib: add peek capabilities 2016-07-14 16:47:03 +02:00
Joakim Nohlgård
b02e0eca47 ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP) 2016-07-12 10:17:49 +02:00
f0b44d5175 core: change type of msg.content.ptr to void* 2016-06-02 20:17:50 +02:00
MohmadAyman
53df3e8b57 core: cpu: provide function to acquire ISR stack usage 2016-06-01 23:01:35 +02:00
Andreas "Paul" Pauli
c805853c34 Merge pull request #5376 from OlegHahm/doxy_fixes
doc: document THREAD_STACKSIZE correctly and fix PRNG documentation
2016-05-18 15:00:10 +02:00
Oleg Hahm
1319c5e874 doc: add a hint to cpu_conf.h 2016-05-18 12:48:35 +02:00
Martine Lenders
15130e8674 Merge pull request #5298 from cgundogan/pr/cib/cib_get_check_fix
cib: check (write > read) explicitly
2016-05-17 23:02:13 +02:00
Oleg Hahm
435685cf4a doc: add missing information about thread_create 2016-04-21 14:38:13 +02:00
Oleg Hahm
06e5c13b3d core: doc: do not exclude CPU specific values
This patch ensures that doxygen will add the CPU dependent defines for stack sizes.
2016-04-20 18:46:14 +02:00
Oleg Hahm
8690a888f5 Merge pull request #5295 from OlegHahm/msg_init_queue_assert
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
85dfed3249 Merge pull request #5283 from kaspar030/make_msg_use_list
core: msg: use new list instead of priority_queue
2016-04-17 14:48:50 +02:00
Oleg Hahm
bb35913840 core: assert correct msq queue size on creation
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
Cenk Gündoğan
e7b86361e2 cib: check (write > read) explicitly 2016-04-12 08:06:13 +02:00
DipSwitch
4e8834ae87 core: Remove _t from struct names 2016-04-11 21:46:53 +02:00
Oleg Hahm
57e9a25e2b doc: a note about creating threads w/ same prio 2016-04-11 12:11:48 +02:00
dc8f55df7e core: msg: use new list instead of priority_queue 2016-04-10 00:16:48 +02:00
Cenk Gündoğan
2adc0eae75 cib: doc fix 2016-04-09 13:01:32 +02:00
Oleg Hahm
c09190b979 Merge pull request #3851 from kaspar030/make_messaging_optional
core: make messaging optional
2016-03-30 23:56:55 +02:00
58a12e5034 core: make messaging optional 2016-03-30 23:27:09 +02:00
46143c6bdc core: thread_flags: optimize thread_flags_wait_one, fix doxygen 2016-03-30 17:11:49 +02:00
abff2e3fb7 core: introduce thread flags 2016-03-30 10:38:53 +02:00
f9f6adb48d core: clist: make singly linked 2016-03-30 00:27:49 +02:00
350c341ce1 core: mutex: use of intrusive linked list instead of priority queue 2016-03-29 21:50:17 +02:00
7c39134d5d core: introduce intrusive singly linked list 2016-03-29 21:50:17 +02:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Joakim Nohlgård
0cf0278e0f core/lpm.h: Fix Doxygen typo 2016-03-14 23:09:49 +01:00
René Kijewski
818d703810 Merge pull request #5004 from OlegHahm/core_kernel_macros_attributs_merge
core: merge kernel_macros.h and attributes.h into kernel_defines.h
2016-03-10 16:47:10 +01:00
IldarValiev
475b1af26d core: added assert to cib_init() 2016-03-10 13:32:00 +01:00
Oleg Hahm
bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
IldarValiev
a8391e346e core: added documentation to cib.h
size can be equal 0 or 2^n only. Because else mask won't consist of consecutive '1' only (e.g., 0b00111111) and functions cib_get() and cib_put() will return wrong values.
2016-03-09 01:53:12 +01:00
2b010b5337 core: rename tcb_t -> thread_t, move into thread.h 2016-03-05 18:20:17 +01:00
Oleg Hahm
76c397f252 Merge pull request #4924 from kaspar030/smaller_core_types
core: reduce types of tcb->status and tcb->priority
2016-03-02 11:15:38 +01:00
a8865a2808 core: reduce types of tcb->status and tcb->priority 2016-02-29 01:48:08 +01:00