Kaspar Schleiser
0b10dccf64
core: adapt to Makefile.submodule
6 years ago
smlng
1b69f281f9
core, log: fix tautology compare error with toolchain llvm
6 years ago
Simon Brummer
68581a8fbe
core: bugfix: ringbuffer_remove
6 years ago
Kaspar Schleiser
8d207ca724
Merge pull request #5731 from melshuber/master
...
core: recursive mutex implementation
6 years ago
Martin Elshuber
6cd3d34686
Removed duplicated code, fixed comment
6 years ago
Joakim Nohlgård
47e970635b
core: Fix assert printf format string
...
cppcheck said: core/assert.c:23: warning (invalidPrintfArgType_sint): %d in
format string (no. 2) requires 'int' but the argument type is 'unsigned
int'.
6 years ago
smlng
f4d9972574
llvm: hide redefines of atomic sync operations
6 years ago
Martin Elshuber
b9c2fc8254
Added reentrant mutex implementation
...
In contrast to normal mutexes, reeentrant mutexes allow to be relocked
multiple times from the same thread.
6 years ago
Joakim Nohlgård
4fdd2ea41a
core: Remove atomic in favour of C11 stdatomic
6 years ago
Joakim Nohlgård
4297e06fe5
core: add __sync_x library helpers for <gcc-4.7
6 years ago
Joakim Nohlgård
fcdb157228
core: rename c11_atomic -> atomic_c11
6 years ago
Joakim Nohlgård
6d20ac084b
core/c11_atomic.c: Add remaining C11 atomic library helpers for GCC
6 years ago
Joakim Nohlgård
d322af3fe5
core/include/mutex.h: remove unused #include "atomic.h"
6 years ago
Joakim Nohlgård
985afd8d80
core/mutex.c: remove unused #include "atomic.h"
6 years ago
smlng
0d4855c256
core: fix osx compile issue
6 years ago
Oleg Hahm
c5abb08316
Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
...
cortex_m: Add debug symbols for OpenOCD/GDB thread support
6 years ago
smlng
66c02daeae
core: doc typos
6 years ago
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
6 years ago
daniel-k
9d403d95ce
cortex_m: Add debug symbols for OpenOCD/GDB thread support
6 years ago
Oleg Hahm
4e068bc1a4
doc: core: fix formatting
6 years ago
Oleg Hahm
d8574c15e9
doc: core: exclude MUTEX_LOCKED from documentation
6 years ago
Hauke Petersen
a7502355b8
core: remove reboot.h
...
with the new PM, the reboot.h is deprecated and pm_reboot() from
periph/pm.h should be used.
6 years ago
Hauke Petersen
6270283033
Merge pull request #6160 from kaspar030/introduce_new_power_management
...
Introduce new power management
6 years ago
Kaspar Schleiser
ca7bf15ac4
core: panic: adapt to pariph/pm
6 years ago
Kaspar Schleiser
1b31fc75c4
core: reboot: map to periph/pm
6 years ago
Kaspar Schleiser
6150e2753a
drivers: periph: pm: introduce new power management API
6 years ago
Kaspar Schleiser
0194091673
remove obsolete lpm code
6 years ago
Victor Arino
bba8cf4c03
core/list: uncrustify
6 years ago
Victor Arino
be146741c9
core/list: add remove method
6 years ago
Victor Arino
ea12433a8d
core/mutex: support locked initialization
6 years ago
Francisco Acosta
84d0d61279
Merge pull request #5608 from gebart/pr/xtimer-ticks
...
xtimer: Allow arbitrary timer frequency, second attempt
6 years ago
Martine Lenders
235375f664
native: always assert() verbosely
6 years ago
Joakim Nohlgård
0ba6c9f3a4
core/sched: Use xtimer ticks for sched statistics
6 years ago
Martine Lenders
8406164ece
core: fix stdio.h include for assert
6 years ago
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
6 years ago
Martine Lenders
f93ab1a1f6
doc: make the 2^x requirement for msg_queue more visible
6 years ago
Martine Lenders
61daeff04c
Merge pull request #5881 from miri64/core/enh/add-verbose-assert
...
core: define macro for verbose behavior for assert()
6 years ago
Martine Lenders
65a11162fe
core: define macro for verbose behavior for assert()
...
Since this is also done for MSP430 specifically that file can be
removed.
6 years ago
Ian Martin
28a7ddc9a8
core: save the stack_start in the thread context for mpu_stack_guard
7 years ago
Kaspar Schleiser
057274b1fb
Merge pull request #5877 from miri64/core/doc/assert-addr2line
...
core: add documentation on how to get line of failed assert()
7 years ago
Lotte Steenbrink
8bd0bd17f3
thread.h: rearrange docs, add small tutorial
7 years ago
Martine Lenders
d724b7c9aa
core: add documentation on how to get line of failed assert()
7 years ago
Kaspar Schleiser
25a6ef5273
core: sched: mark sched_run() as used
7 years ago
Ludwig Knüpfer
49e76997a5
core/panic: add missing #ifdef NDEBUG
...
In case NDEBUG is not defined, `crash_code` is used later on
7 years ago
Kaspar Schleiser
7a3c63fddb
core: clist: clist_lpeek(): add missing return statement
7 years ago
Martine Lenders
e16bbda5f6
Merge pull request #5629 from kaspar030/improve_clist
...
core: improve clist
7 years ago
Kaspar Schleiser
3a6f95008d
core: mbox: introduce thread decoupled message queues
7 years ago
Kaspar Schleiser
d86c141842
core, tests: adapt to changed clist function names
7 years ago
Kaspar Schleiser
9bfea9410e
cib: add unsafe operations
7 years ago
Kaspar Schleiser
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
7 years ago