Kaspar Schleiser
ca7bf15ac4
core: panic: adapt to pariph/pm
6 years ago
Kaspar Schleiser
0194091673
remove obsolete lpm code
6 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
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
7 years ago
Kaspar Schleiser
cc1771787e
core: panic: use LOG_ERROR instead of printf
7 years ago
Oleg Hahm
bdcf8879fd
core: merged kernel_macros.h and attributes.h
...
Merged into new kernel_defines.h and updated all includes.
7 years ago
Kaspar Schleiser
9082273746
core: header cleanup
7 years ago
Kaspar Schleiser
938ff5c5e7
core: cpu: sys: simplify reboot()
7 years ago
Oleg Hahm
d86f1af34b
core: make assertions easier to spot
7 years ago
Cenk Gündoğan
8aa04e82a0
core/panic: call cpu_print_last_instruction before printing other messages
7 years ago
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
7 years ago
Oleg Hahm
49917a5797
core: cpu: fix check for DEVELHELP
7 years ago
Oleg Hahm
f3245cecac
core: panic: last instruction's address for assert
7 years ago
René Kijewski
888e146fe4
core: define assertion failed message in one place
7 years ago
Oleg Hahm
e2639d7f83
core: use enums for panic
8 years ago
Lotte Steenbrink
6274a2b982
get rid of warning: unused parameter 'crash_code'
8 years ago
Kaspar Schleiser
f953ae8187
core: optimize panic.c
8 years ago
Oleg Hahm
4e7b89599b
core: print thread table on crash
8 years ago
Oleg Hahm
cb1f047f59
core: unified core_panic implementation
8 years ago
Oleg Hahm
828839316b
core: renamed crash.h to panic.h
8 years ago
Joakim Gebart
5a09e54e1b
cortex-m0_common: Update crash.c with changes from Cortex-M4.
8 years ago
Hauke Petersen
7a11301451
cpu/cortex_m0_common: added crash.c
8 years ago
Hauke Petersen
407e36ec5f
cpu - cortex-m3: moved crash.c to cortex-m3_common
9 years ago
Thomas Eichinger
3639ae9b25
cpu:cortex_common: add core_panic function
9 years ago
René Kijewski
6f3d0871aa
core/cpu: put __builtin_unreachable() into one place
9 years ago
Oleg Hahm
aeb54158f6
cpu: satisfy compiler in crash.c
9 years ago
Ludwig Ortmann
063a15ce9b
Change reboot signature.
...
Change from `void reboot(void)` to `int reboot(int mode)`.
Move reboot definition to core, rename architecture implementations
from reboot to reboot_arch.
Declare reboot mode(s) in kernel.h, reboot_arch in kernel_internal.h
Currently only one reboot mode is handled, its use is enforced.
Rationale:
A reboot function is already defined in <unistd.h> on BSD systems.
(See: http://www.openbsd.org/cgi-bin/man.cgi?query=reboot&sektion=2 )
This patch not only allows native to build sensibly on these systems
but also streamlines RIOTs compatability with existing software.
9 years ago
Kévin Roussel
4f8a29d892
Implemented the crash-handling/reboot mechanism for ARM-based MCUs
9 years ago
Kévin Roussel
1183555cc3
Implement the crash-handling/reboot mechanism for MSP430 MCUs
9 years ago