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

4274 Commits

Author SHA1 Message Date
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
324a57a914 cpu/mc1322x: rename adc header to mc1322x-adc 2014-10-25 17:11:18 +02:00
Ludwig Ortmann
d42d226d66 cpu: use adc_legacy.h where appropriate 2014-10-25 17:09:22 +02:00
Ludwig Ortmann
c59dd9787f drivers: mark adc.h as legacy 2014-10-25 17:04:29 +02:00
Ludwig Ortmann
7476ce8abf doc: mark legacy adc API as deprecated 2014-10-25 16:36:10 +02:00
Christian Mehlis
b7fc0df5d3 Merge pull request #1875 from LudwigOrtmann/doxygen-periph-modules
doc: make peripheral interfaces modules
2014-10-25 16:17:51 +02:00
Ludwig Ortmann
5523ec67f3 doc: make peripheral interfaces modules
also remove `@file` parameters
2014-10-25 15:37:04 +02:00
Ian Martin
34086fc6c6 cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in(). 2014-10-24 14:36:06 -04:00
Ludwig Ortmann
0f36f8c09c Merge pull request #1873 from LudwigOrtmann/doxygen-periph
doxygen: add predefines for periph headers
2014-10-24 08:02:30 -07:00
Ludwig Ortmann
8f76622ebf doc: add doxygen predefines for periph headers 2014-10-24 16:57:50 +02:00
Hauke Petersen
e6e37e0371 Merge pull request #1864 from haukepetersen/add_board_openmote
boards: added support for OpenMote
2014-10-24 16:50:29 +02:00
Oleg Hahm
c33e1b5dad Merge pull request #1844 from OlegHahm/doxygen_cleanup
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Hauke Petersen
616ff64929 Merge pull request #1771 from PeterKietzmann/correct_stm32f4_spi_return_values
cpu/stm32f4: Changed SPI return values to API definitions
2014-10-24 15:37:22 +02:00
Hauke Petersen
c6d0e282fd examples: blacklisted openmote for riot_and_cpp 2014-10-24 15:34:15 +02:00
Hauke Petersen
a0ac86ed16 boards: added support for OpenMote 2014-10-24 15:34:12 +02:00
Hauke Petersen
ffea9fc4e8 cpu/cc2538: added linkerscript for cc2538sf53 2014-10-24 15:25:44 +02:00
Hauke Petersen
eb6891c14a Merge pull request #1863 from haukepetersen/fix_cc2538_gpiodefs
cpu/cc2538: adjusted GPIO register definitions
2014-10-24 15:17:04 +02:00
Hauke Petersen
6889fd1f89 cpu/cc2538: adjusted GPIO register definitions 2014-10-24 14:43:52 +02:00
Ludwig Ortmann
ac150e9a3b Merge pull request #1840 from LudwigOrtmann/cppcheck-selecta
Travis + cppcheck: let cppcheck fail for new files
2014-10-24 05:40:40 -07:00
Hauke Petersen
9051c7be4b Merge pull request #1861 from haukepetersen/fix_cc2538_irqvector
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:40:10 +02:00
Thomas Eichinger
2e9d4cbba4 Merge pull request #1862 from haukepetersen/fix_cc2538_includecleanup
cpu/cc2538: centralized all cpu specific includes
2014-10-24 14:23:43 +02:00
Hauke Petersen
ca20603d54 cpu/cc2538: made ISR names configurable by a board 2014-10-24 14:00:53 +02:00
Hauke Petersen
eee159ee74 board/cc2538dk: made ISR functions configurable 2014-10-24 14:00:53 +02:00
Hauke Petersen
24ac5a7e94 cpu/cc2538: cleaned up IRQ vector definition 2014-10-24 14:00:47 +02:00
Ludwig Ortmann
6a5026803c Merge pull request #1842 from fnack/cc110x_ng_rename
drivers/cc110x_ng: rename driver to cc110x_legacy
2014-10-24 03:07:37 -07:00
Ludwig Ortmann
f8b8ef3bab Travis: let cppcheck fail for new files
Change Travis configuration for cppcheck to fail on new files and keep on
warning about existing ones.
2014-10-24 11:43:00 +02:00
Ludwig Ortmann
6424ba0665 cppcheck: handle --diff-filter option
Add the possibility to the cppcheck script to pass git's
`--diff-filter` option.
Also improve comments a bit.
2014-10-24 11:40:18 +02:00
Oleg Hahm
9b819c4dd6 Merge pull request #1836 from Kijewski/yield-less
core: introduce sched_yield(), yield less
2014-10-24 10:05:37 +02:00
Fabian Nack
310d468659 drivers - cc110x_legacy: add missing license 2014-10-24 09:55:57 +02:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
René Kijewski
677d690e2b core: introduce thread_yield_higher(), yield less
Fixes #1708.

Currently involuntary preemption causes the current thread not only to
yield for a higher prioritized thread, but all other threads of its own
priority class, too.

This PR adds the function `thread_yield_higher()`, which will yield the
current thread in favor of higher prioritized functions, but not for
threads of its own priority class.

Boards now need to implement `thread_yield_higher()` instead of
`thread_yield()`, but `COREIF_NG` boards are not affected in any way.

`thread_yield()` retains its old meaning: yield for every thread that
has the same or a higher priority.

This PR does not touch the occurrences of `thread_yield()` in the periph
drivers, because the author of this PR did not look into the logic of
the various driver implementations.
2014-10-24 00:09:56 +02:00
Oleg Hahm
a676038472 Merge pull request #1869 from authmillenon/vtimer-doc-improve
vtimer: improve documentation of vtimer_set_msg()
2014-10-23 22:56:24 +02:00
Martine Lenders
f7d9b02d7e vtimer: improve documentation of vtimer_set_msg() 2014-10-23 21:28:15 +02:00
Oleg Hahm
84cb4ccaa2 Merge pull request #1830 from thomaseichinger/transceiver-fixes
sys/transceiver: fixes for the use of `ieee802154_packet_t`
2014-10-23 20:58:57 +02:00
Oleg Hahm
cb48f7cd47 doc: fix warning from avr libc 2014-10-23 20:53:01 +02:00
Oleg Hahm
c53bd9ca5d doc: remove more CPU specific documentation 2014-10-23 20:53:01 +02:00
Oleg Hahm
c0bcac460e doc: beautify HTML documentation
* add logo
* add description
* use RIOT specific color scheme
* add search functionality
* remove broken custom header, footer, and style sheet
2014-10-23 20:53:01 +02:00
Oleg Hahm
b066433bdc doc: improve doxygen cache size 2014-10-23 20:53:01 +02:00
Oleg Hahm
3092416a0a doc: add names to pca1000x boards 2014-10-23 20:53:00 +02:00
Oleg Hahm
31b83e8753 doc: rename iot-lab_M3 group name 2014-10-23 20:53:00 +02:00
Oleg Hahm
a9a5c2da1c doc: fix vtimer documentation 2014-10-23 20:53:00 +02:00
Oleg Hahm
bbf82ab254 doc: put atmega cpu file into the right group 2014-10-23 20:53:00 +02:00
Oleg Hahm
ca866b248e doc: fix naming for Cortex M3 common group 2014-10-23 20:53:00 +02:00
Oleg Hahm
481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
2014-10-23 20:53:00 +02:00
Oleg Hahm
b186b177a5 doc: fix doxygen warnings for color module
Also fixes the module name in API documentation.
2014-10-23 20:53:00 +02:00
Oleg Hahm
49208ffb59 doc: exclude more CPU specific stuff from doxygen 2014-10-23 20:53:00 +02:00
René Kijewski
aa086158ee Add copyright information to lpc1768/include/cpu.h 2014-10-23 20:50:31 +02:00
René Kijewski
c0ce346a12 cppcheck: don't needlessly assign sched_active_pid 2014-10-23 20:50:31 +02:00
René Kijewski
b46d3d9d1a Merge pull request #1866 from OlegHahm/core_fix_thread_init_prototype
cpu: use typed function pointer for thread_arch_init
2014-10-23 19:55:44 +02: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