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

685 Commits

Author SHA1 Message Date
Martine Lenders
ec7bf7a854 core: rmutex: include stdint.h
For some reason the LLVM/clang version of `stdatomic.h` does not include
`stdint.h`, though it uses types from it.
2018-08-03 18:34:56 +02:00
Gunar Schorcht
9db03537b9 core/pthread: make them compilable with g++ 2018-07-21 14:24:57 +02:00
Hauke Petersen
36e0d4883d core/byteorder: to/from bufs funcs are big endian 2018-07-04 17:41:04 +02:00
Joakim Nohlgård
69fb02c3fc core: uncrustify thread_flags.h 2018-06-27 12:43:29 +02:00
2b1ed99a49 core: add more stacksize defines 2018-06-14 23:29:03 +02:00
2212850fbb core/mbox: doc typo fixes 2018-06-13 12:13:24 +02:00
bd2845adf6 core: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Hauke Petersen
f68b243dfc core/byteorder: add uint16 from/to buffer funcs 2018-06-06 13:18:48 +02:00
Matthew Blue
2bd1d7f045 core/assert: provide static_assert for c99 2018-06-03 03:15:17 -04:00
Matthew Blue
38a30b68c2 core/debug: fix debug.h use within ISRs 2018-05-17 17:06:44 -04:00
8fd013635f
Merge pull request #9136 from jcarrano/fix-assert
core: make assert() an expression.
2018-05-15 21:38:14 +02:00
Juan Carrano
09d1b2eac7 core: Make assert be an expression.
The "verbose" alternative for assert() is now an expression and
can be used in all the places that a funcion call can be used.
2018-05-15 14:25:55 +02:00
7c7bb45ce7 core/clist: make clist_foreach() return break-causing node 2018-05-12 00:07:13 +02:00
d9993cc8d2
Merge pull request #8642 from OTAkeys/feat/static_assert
assert: add static_assert if using c11
2018-04-03 22:10:46 +02:00
Pieter Willemsen
729441fdb6 assert: add static_assert if using c11 2018-04-03 16:09:31 +02:00
Joakim Nohlgård
1fdfa6480d core/mutex: fix -fpermissive warning in C++ mode
g++ gives the error message "error: invalid conversion from ‘void*’ to
‘list_node*’ [-fpermissive]"
2018-03-25 09:11:26 +02:00
aa57ea5b74 core: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
Sebastian Meiling
3bb169307b
Merge pull request #8364 from smlng/osx/debug/fix_output
macOS: fix debug output
2018-01-22 15:14:48 +01:00
smlng
e017f8a5f1 core: fix format errors in debug output 2018-01-17 15:25:11 +01:00
499c1812b2 core/bitarithm: provide multiple implementations for bitarithm_lsb() 2018-01-16 22:55:26 +01:00
e6a9a760a7 core/thread: add thread_getname() dummy available without DEVELHELP 2018-01-15 14:37:04 +01:00
c001e14f9d core: debug: rely on optimizer to kick out unused debug code 2018-01-12 13:38:06 +01:00
Martine Lenders
4013adcf65
Merge pull request #8277 from miri64/doc/fix/must-not-may-not-wording
doc: Fix 'must not'/'may not' wording
2018-01-10 20:34:17 +01:00
MichelRottleuthner
ee17dae5af pkg/fatfs: add vfs integration 2018-01-09 14:46:40 +01:00
Martine Lenders
2e93ba1c50
doc: Fix 'must not'/'may not' wording
I applied the following terminology and changed the wording in the doc
accordingly:

* must not: If the parameter is of the value it *must not* be it either
  hits an assert or crashes the system.
* may not: The value can be that value, but the function will return an
  error.
2017-12-19 09:00:12 +01:00
a8ec624ac4 core: cib: fix overflow handling 2017-11-22 17:53:16 +01:00
Martine Lenders
4952ffbae7
Merge pull request #6698 from Lotterleben/doc_thread_h
thread.h: extend doc for msg_waiters and msg_array
2017-11-16 19:25:52 +01:00
Lotte Steenbrink
9cc3641b75 thread.h: extend doc for msg_waiters and msg_array 2017-11-16 10:15:46 -08:00
24e7869484 core/include/panic.h: fix typos 2017-11-16 14:40:16 +01:00
32c10ae2c9 core, cpu: rename thread_start_threading() -> cpu_switch_context_exit() 2017-11-16 14:40:16 +01:00
bb4a5c5cdf core: remove COREIF_NG 2017-11-16 14:39:54 +01:00
615b1e60bc core/clist: add argument to clist_foreach 2017-11-06 12:49:22 +01:00
f142908f4e
Merge pull request #7655 from kaspar030/add_list_sort
core/clist: add clist_sort()
2017-11-06 12:46:01 +01:00
Joe Kroesche
5b6d311830 core/include/ringbuffer.h: add doc ref to tsrb.
Updated file comment header to comply with coding standard;
added brief module description and reference to tsrb to guide reader
who might be looking for thread-safe implementation
2017-10-29 08:08:15 -05:00
Joakim Nohlgård
317b013319 core/thread_flags: Remove unused THREAD_FLAG_MUTEX_UNLOCKED
and improve docs for THREAD_FLAG_TIMEOUT
2017-10-12 14:30:59 +02:00
Travis Griggs
2fd324a52f correct print_stack macro 2017-10-03 14:39:25 -07:00
de784961fa core/clist: add clist_sort() 2017-10-03 00:36:14 +02:00
5cc8204e10 Merge pull request #7048 from smlng/enh/ps/schedstats
schedstats: revert to 32Bit, and enhance output of schedstats
2017-09-28 16:08:51 +02:00
smlng
6ac0922c7d doc: replace dashes 2017-09-06 08:49:05 +02:00
Joakim Nohlgård
a67694a8c0 core: thread_flags: Set sched_status_switch_request after waking a waiting thread 2017-08-31 22:51:28 +02:00
Joakim Nohlgård
5dd38c68e2 Merge pull request #7536 from kaspar030/improve_thread_flags_docs
core: thread_flags: improve documentation
2017-08-30 20:44:04 +02:00
ee945978e9 core: thread_flags: improve documentation 2017-08-30 13:43:02 +02:00
Joakim Nohlgård
ef01efc387 core/msg: Set THREAD_FLAG_MSG_WAITING when queueing messages 2017-08-30 12:04:47 +02:00
Joakim Nohlgård
87d322556a core/thread: fix Doxygen nesting
Everything below the thread states was cut off in the module
documentation because Doxygen does not handle nested @name tags.
2017-08-11 07:47:09 +02:00
68f13467d3 core: remove redundant includes 2017-08-02 14:27:55 +02:00
7a0fcc30c8 sys: add initial SSP support 2017-06-27 18:05:14 +02:00
smlng
e7136e2dde schedstats: revert #6975, use 32Bit again 2017-06-08 14:33:47 +02:00
Raul Fuentes
f21d497be4 tread.h: Minor examples compile 2017-05-30 20:48:57 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Sebastian Meiling
dd4f8f7704 Merge pull request #6975 from OTAkeys/pr/ps_schedstatistics_fix
ps: fix schedstatistics
2017-05-17 13:50:42 +02:00