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

147 Commits

Author SHA1 Message Date
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
4aff59a4fc examples/default/README.md: minor language fix 2015-05-09 09:04:46 +02:00
Oleg Hahm
9e4328311d examples: fix wording in warning 2015-03-13 10:29:08 +01:00
Oleg Hahm
ddfc88323d examples: radio thread needs more stack
The radio stack in default examples uses printf() and thus needs more
stack.
2015-03-13 10:28:28 +01:00
kushalsingh007
11ad51cc18 Updating the README.md for examples/default
-Replaced date by rtc in examples/default/README.md as date is part of rtc.
2015-03-12 16:23:46 +05:30
Joakim Gebart
14824e9909 examples/default: reduce scope of globals in main.c 2015-01-23 14:08:11 +01:00
Oleg Hahm
b56fb0cf2d examples: simplify Makefile a bit 2014-12-22 20:35:15 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Ludwig Ortmann
8ec17560e4 examples/default: use periph/rtc instead of rtc
The rtc module is deprecated and will be removed.
2014-12-16 16:09:15 +01:00
Ludwig Ortmann
c0ef84bb9f native: move rtc to periph
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Thomas Eichinger
256ce73d2c boards: initial import for HiKoB fox 2014-11-18 17:24:47 +01:00
Thomas Eichinger
6bbc4ca226 shell: provide shell commands to poll lsm303dlhc sensor 2014-11-06 11:28:22 +01:00
Hauke Petersen
7e043bb27f sys/shell: added commands for iot-lab_M3 sensors 2014-11-06 10:41:55 +01:00
Thomas Eichinger
6a7cee294f examples/default: print 16bit addresses 2014-11-04 15:13:47 +01:00
René Kijewski
162850b332 make: Implement optional features
Fixes #1876

This PR introduces `FEATURES_OPTIONAL` which can be used to tell the
Make system, that the application would like to use some feature, but
the build should proceed even if the selected board cannot provide the
optional feature.

`make buildtest` and `make info-supported-boards` heed this variable
when examining the list of supported boards.

If a word is present in `FEATURES_REQUIRED` and `FEATURES_OPTIONAL`,
then `FEATURES_OPTIONAL` takes precedence.
2014-10-26 23:18:58 +01:00
Ludwig Ortmann
5be28f49f6 Merge pull request #1754 from OlegHahm/timex_makefile_order
make: fix the order of Makefile.dep for timex
2014-10-07 05:52:43 -07:00
Oleg Hahm
9cf21545fa make: fix dependencies
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
Thomas Eichinger
a686e909aa examples/default: fix handling of 802.15.4 devices 2014-10-07 10:32:58 +02:00
Ludwig Ortmann
106137ff64 examples: use DEVELHELP per default 2014-08-01 18:49:56 +02:00
Oleg Hahm
983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +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
ac9c80f417 make: don't use export on example makefiles 2014-07-10 15:23:31 +02:00
René Kijewski
ba1a15535b core: remove extra thread_create_arg() function 2014-07-09 10:28:23 +02:00
Ludwig Ortmann
06a86aef20 tests&examples: use sizeof(stack) in thread_create
fixes #1392
2014-07-09 07:41:54 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
Ludwig Ortmann
2314915ff2 license: fix license header grammar
insert missing "is"
2014-05-14 09:49:09 +02:00
Ludwig Ortmann
1eca41456f examples/default: add README.md
Fixes #1068
2014-05-12 11:22:14 +02:00
René Kijewski
e740fbc800 make: Add DEFAULT_MODULE and DISABLE_MODULE
Closes #926
2014-04-01 23:42:00 +02:00
René Kijewski
de29e4184c Add include paths automatocally for USEMODULES
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.

But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Martine Lenders
53264c7a45 Merge pull request #609 from LudwigOrtmann/transceiver_any
anytransceiver pseudomodule
2014-03-24 14:04:02 +01:00
Christian Mehlis
01fdbc3465 examples: make includes adhere to coding conventions 2014-03-24 11:08:42 +01:00
Ludwig Ortmann
8ac4f3332d core cpu: add defaulttransceiver pseudomodule
update examples/default
2014-03-18 10:18:15 +01:00
Christian Mehlis
cb9c5d00de repace project by application in documentation 2014-02-18 12:28:32 +01:00
René Kijewski
b9c9436e88 102dc45382 (commitcomment-5378590) 2014-02-14 14:50:39 +01:00
René Kijewski
102dc45382 Eliminate findstring in more places 2014-02-14 14:30:16 +01:00
Ludwig Ortmann
b175dbee91 update Makefiles to point to all-valgrind target
Header path knowledge is not necessary anymore
2014-02-11 19:22:40 +01:00
Oleg Hahm
9fff3f5b90 Merge pull request #657 from LudwigOrtmann/wsn430-v1_4_Makefiles
fix wsn430-v1_4 Makefiles
2014-02-11 17:55:11 +01:00
Ludwig Ortmann
f09f30c94d fix wsn430-v1_4 Makefiles 2014-02-07 21:20:35 +01:00
Ludwig Ortmann
1c9d4f8720 remove stale cc110x_ng includes 2014-02-07 19:22:27 +01:00
Ludwig Ortmann
c6be9ad3fc remove superfluous uart USEMODULEs from examples 2014-02-06 12:34:54 +01:00
Christian Mehlis
341b095acf added LGPL header and doxygen headers 2014-02-04 12:57:06 +01:00
Christian Mehlis
d0680e7bac shell: added a handler for mersenne twister 2014-01-30 11:52:29 +01:00
Christian Mehlis
f00693255b examples: use astyle to adopt current code style guide 2014-01-29 16:54:20 +01:00
Ludwig Ortmann
57679f90dc remove trailing slashes from RIOTBASE variables
addresses https://github.com/RIOT-OS/RIOT/pull/496#issuecomment-32170092
2014-01-15 17:26:10 +01:00
Ludwig Ortmann
498cc027b1 dist/example Makefiles: not BOARD -> no BOARD, ## Modules -> # Modules 2014-01-13 11:12:14 +01:00
Ludwig Ortmann
a60a0a2cf7 Use dist Makefile style in examples Makefiles 2014-01-13 11:05:52 +01:00
Oleg Hahm
1b1ca336f8 created examples folder with six apps 2014-01-06 10:10:47 +01:00