Commit Graph

52 Commits (aedffd78835f3afade2b34d55347048c01404c3f)

Author SHA1 Message Date
Kaspar Schleiser 6150e2753a drivers: periph: pm: introduce new power management API 6 years ago
Kaspar Schleiser 0194091673 remove obsolete lpm code 6 years ago
DipSwitch 0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 7 years ago
Kaspar Schleiser 9082273746 core: header cleanup 7 years ago
Hauke Petersen 22428f6cfb core: adapted to renamed THREAD_FLAGS 8 years ago
Hauke Petersen 7f5ab0cd5f core: moved flags.h to thread.h 8 years ago
Kaspar Schleiser 085383bfae core: remove hwtimer, switch schedstatistics to xtimer 8 years ago
Hauke Petersen 5e7a026365 core: optimized output on kernel-init
This PR saves some memory by ommiting redundant output. The printing
of "jumpint into first task..." is obsolete, as the thread_create
calls are not checked for errors anymore.

Further the version print is moved into the main_trampoline. This
prevents the STDLIB from using precious stack space on the ISR
stack, on which it is running before jumping into main - hence
opening the option to decrease the stacksize for the ISR stack.
8 years ago
Kaspar Schleiser afd68d1f31 core: remove needless thread creation checks in kernel_init 8 years ago
Joakim Gebart 13832d8e62 everything: Remove filename from @file Doxygen command 8 years ago
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
8 years ago
Kaspar Schleiser c944d54171 core: log: introduce logging API 8 years ago
Ludwig Ortmann 86189d600e core: remove remaining dINT occurences 9 years ago
Oleg Hahm 6b39ce9650 config: moved from core to sys
There's no need to run config_load from core directly, can be done by
auto_init.
9 years ago
Ludwig Ortmann 3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 9 years ago
René Kijewski 919cddef19 make: rename VERSION into RIOT_VERSION
Building MSP boards gives an error, because `VERSION` is somewhere
defined in their toolchain as an integer.

This PR renames `VERSION` into `RIOT_VERSION`, because that's what it
is.
9 years ago
René Kijewski ba1a15535b core: remove extra thread_create_arg() function 9 years ago
Ludwig Ortmann e688efdfcf core: kernel_init: call config_load in kernel_init 9 years ago
Oleg Hahm 93e32953b3 always build and initialize hwtimer
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
9 years ago
Christian Mehlis 3dce0cbb97 Merge pull request #662 from Kijewski/remove-sched_init
Do not zero out sched_threads needlessly
9 years ago
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 9 years ago
René Kijewski 7e685d6b36 Do not zero out sched_threads needlessly
The function sched_init() zeroes out sched_threads needlessly. All
static variables can be assumed to be initialized with zero, anyways.
The C standard mandates it, and all at other places in the code it is
assumed.
9 years ago
Kaspar Schleiser 56ee585c81 update Kaspar's email address
kaspar.schleiser@fu-berlin.de is obsolete.
(2nd try, first try was overwritten by some overzealous documenter)
9 years ago
Oleg Hahm 903ec54a43 making include directives consistent 10 years ago
Hauke Petersen 3785fe956b Fixed doxygen comments, focused on file headers and group definitions 10 years ago
Kaspar Schleiser f85adf608f change my email address
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de, which will (hopefully) stay.
10 years ago
Christian Mehlis 863c0a7e14 Merge pull request #378 from OlegHahm/version_string
include version string
10 years ago
Oleg Hahm 529f3fb278 include version string 10 years ago
Ludwig Ortmann d6c213fb47 fix grammar in license header 10 years ago
Oleg Hahm 570c0e717d removed unused (and ambiguous) definitions of active_thread and sched_threads in kernel_init.c 10 years ago
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
10 years ago
Christian Mehlis 837bad38eb rename kernel_intern.h
german "intern" to english "internal"
10 years ago
Christian Mehlis 69c526f44d removed redefined ENABLE_DEBUG 10 years ago
Oliver Hahm c8bee9e554 fixed coding style (space after most keywords) 10 years ago
Oliver Hahm ffeb6f8523 fixed coding conventions (correctly this time) 10 years ago
Oliver Hahm 0d6d8390c0 * updated copyright and license headers in various files 10 years ago
Oliver Hahm 40edc25022 * cast main function in kernel_init to match prototype 10 years ago
Christian Mehlis 8f74612762 main should always return int
this fixes some compiler warnings
10 years ago
Oleg Hahm e8af0c42c3 * created prototype for cpu_switch_context_exit() 10 years ago
Oleg Hahm 2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 10 years ago
Stephan Zeisberg 5abef6daf2 changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t" 12 years ago
Kaspar Schleiser 88ccc555dc * moved config to sys, split away board specifics 13 years ago
Oliver Hahm fb1cb91c75 [board/msp-430-common board/msba2 core/]
* introduced dummy function for msp-430 config-save
* moved sysconfig from board to core

[sys/transceiver cpu/]
* moved some buffer size defines to cpu dependent parts

* some cleanups
13 years ago
Oleg 88c0ec84ee * added set offset shell command for sht11
* introduced command separator for pyterm
* some cosmetics
13 years ago
Kaspar Schleiser eff0b1980f * API CHANGE! changed thread_create so it allocates tcb on stack, removing first argument 13 years ago
Kaspar Schleiser 3b46b2d2af * fix stack assignment mixup for main / idle threads 13 years ago
Kaspar Schleiser 11bc939d67 * merge fixes 13 years ago
Kaspar Schleiser 1e238e4131 * massive name changes 13 years ago
Kaspar Schleiser f945b72067 * API CHANGE: thread_create no longer uses malloc 13 years ago
Kaspar Schleiser cfccf0f2ca * remove mu character from kernel greeting line. 13 years ago