8efe5960aa
core: uncrustify
2020-03-30 17:02:08 +02:00
Leandro Lanzieri
ea8c85ae8b
core/debug: Fix code style errors
2020-02-18 13:20:06 +01:00
Leandro Lanzieri
981b4eb8d0
core/debug: Fix documentation of ENABLE_DEBUG macro
2020-02-18 13:20:06 +01:00
Benjamin Valentin
a98a9e12e9
core: debug: introduce DEBUG_PUTS()
...
The DEBUG() function requires a minimal stack size for printf().
This is not always availiable.
To still allow static debug messages, introduce DEBUG_PUTS() that
gets resolved to puts() and does not carry such stack size requirements.
2019-11-20 19:09:47 +01:00
Sebastian Meiling
dceff6c22f
doxygen: use ingroup instead of addtogroup in core
2019-01-09 08:42:59 +01:00
Matthew Blue
38a30b68c2
core/debug: fix debug.h use within ISRs
2018-05-17 17:06:44 -04:00
c001e14f9d
core: debug: rely on optimizer to kick out unused debug code
2018-01-12 13:38:06 +01:00
smlng
4ffbbfb8f6
doc: correct naming of doxygen group in core
2017-04-10 16:11:49 +02:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
Oleg Hahm
ac88d7960c
core: remove DEBUGF macro
2015-09-20 01:51:47 +02:00
Oleg Hahm
49917a5797
core: cpu: fix check for DEVELHELP
2015-09-12 12:43:15 +02:00
c762b43221
debug: add DEBUG_EXTRA_STACKSIZE define
2015-07-07 11:47:32 +02:00
Martine Lenders
905aacd87f
core: include missing thread.h to debug.h
2015-06-02 18:01:16 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Oleg Hahm
89e871e7e3
doc: fixes doxygen warnings in core
2015-04-21 18:53:36 +02:00
Martine Lenders
5214e14e66
Revert "debug.h: check stacksize fixed"
2015-03-31 22:38:04 +02:00
Simon Brummer
b495c24609
debug.h: check stacksize fixed
2015-03-31 13:26:21 +02:00
altairpearl
a409191b71
core: Updated include guards to remove leading underscores
2015-03-30 06:10:58 +05:30
Martine Lenders
21dd2eb21d
doc: enable helper macros for doxygen
2015-03-03 17:53:32 +01:00
Martine Lenders
29c3fe9830
[SQUASH ME] fix typo
2015-02-12 14:30:36 +01:00
Martine Lenders
da10435a61
debug: Make DEBUGF more platform-independent
2015-02-12 12:57:21 +01:00
Oleg Hahm
e9426ef9ab
core: undefining ENABLE_DEBUG is no longer required
2014-12-03 22:56:15 +01:00
Oleg Hahm
206b75933e
doc: fixed remaining doxygen warnings in core
...
Only one warning remains and will be fixed in a separate commit.
2014-10-23 18:30:09 +02:00
BytesGalore
74161f0f2d
core: moved #include
s outside the extern "C"
guards
2014-10-21 13:46:04 +02:00
Pham Huu Dang Nhat
2ded32dee7
c++: core: add extern C in header files
2014-10-09 06:18:16 +07:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Thomas Eichinger
cf93dc6590
core:debug: documentation for DEBUG_PRINT
was confusing and wrong
2014-05-27 16:29:35 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Hauke Petersen
7df411e7b7
core: improved doxygen documentation
...
improved files complient to issue #950
- thread.h
- flags.h
- debug.h
- crash.h
2014-05-15 10:52:34 +02:00
Oleg Hahm
85bd8cae17
check for existence of active_thread
2014-03-19 16:27:54 +01:00
Oleg Hahm
20b5230466
additional debug macro
2014-03-19 16:27:49 +01:00
Oleg Hahm
2ef9b78ccf
add stacksize checker for DEBUG macro
2014-03-19 16:26:52 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
56ee585c81
update Kaspar's email address
...
kaspar.schleiser@fu-berlin.de is obsolete.
(2nd try, first try was overwritten by some overzealous documenter)
2014-01-28 11:53:19 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
0bd81f14a4
remove header guard from debug.h and repaired debugging on a per file base
2013-07-25 21:56:37 +02:00
Oleg Hahm
599e266b55
Revert "removed redefined ENABLE_DEBUG"
...
This reverts commit 69c526f44d
.
Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Oliver Hahm
ffeb6f8523
fixed coding conventions (correctly this time)
2013-06-20 18:18:29 +02:00
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
2013-06-18 17:21:38 +02:00
Christian Mehlis
b41fd19216
prevent double include of debug.h
2013-06-09 18:02:30 +02:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00
91ae1eb6fd
* import from old firekernel repository
2010-09-22 15:10:42 +02:00