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

78 Commits

Author SHA1 Message Date
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
Joakim Gebart
25c2bdba84 atomic: Add unit tests for atomic counters 2015-05-07 18:52:13 +02:00
altairpearl
20123210d7 tests: Updated include guards to remove leading underscores 2015-03-25 20:45:17 +05:30
Martine Lenders
498313a23f doc: Add mail address where it is missing 2015-02-08 19:41:14 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
René Kijewski
f684aa4b2d tests: make embUnit a normal sys module
There is nothing quite special about embUnit.

This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
Ludwig Ortmann
4feec9243f tests/unittests: merge lib-ringbuffer into core
Fixup for https://github.com/RIOT-OS/RIOT/pull/2017
2014-12-08 10:15:48 +01:00
Ludwig Ortmann
e6c808d5fa Merge pull request #1970 from Kijewski/optimize-cib
core: inline `cib.c`
2014-12-03 17:12:48 +01:00
Oleg Hahm
3cf43db63e unittests: test full 16 bit range for bitarithm
Also uses a better pseudo random number.
2014-11-26 16:52:51 +01:00
René Kijewski
f23771c6fe tests: extend cib unittest 2014-11-11 17:39:40 +01:00
BytesGalore
6dc157208a c++: tests: add extern "C" in header files, i.e. only present in ./unittests 2014-10-17 13:58:10 +02:00
René Kijewski
bc0f5ebf4c tests: fix bad copy+paste in tests-core.h 2014-09-29 21:07:02 +02:00
René Kijewski
0c3bc4a58d tests: Add unittests for byteorder.h 2014-09-29 21:07:02 +02:00
Ludwig Ortmann
ea26ebbaa9 tests: fix lifo unittest
The API was violated resulting in an array overrun.
2014-08-26 18:06:31 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
René Kijewski
27e393621a core: clist is a cyclic list 2014-08-21 21:10:03 +02:00
Ludwig Ortmann
1efdf99dfe core/priority_queue: add dynamic initializers
- priority_queue_init
- priority_queue_node_init
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
c2b2e4554b core/queue: queue -> priority_queue
Rename queue to priority queue, because that's what it is.
2014-08-05 17:57:45 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
René Kijewski
4032a22719 queue: add queue_t root type 2014-07-30 21:10:22 +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
Ludwig Ortmann
1a8967cb45 tests&examples: apply coding conventions to sizeof 2014-07-09 07:41:54 +02:00
Martine Lenders
6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
René Kijewski
840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
René Kijewski
f3bbec633b unittests: core: add test_bitarithm_[ml]sb_all 2014-06-05 20:19:10 +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
René Kijewski
beb91163ab unittests: Move tests-core into subdirectoy 2014-05-15 11:07:11 +02:00