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

38 Commits

Author SHA1 Message Date
Oleg Hahm
9cf21545fa make: fix dependencies
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
René Kijewski
f49bd3e660 make: add Makefile.features telling the BOARDs' features
Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.
2014-10-06 17:42:11 +02:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00
Hauke Petersen
905c97db5d tests/examples: blacklisted yunjia-nrf51822 2014-09-18 18:02:46 +02:00
Cenk Gündoğan
710c7e6cf6 transport_layer: Splitting UDP and TCP
Currently, the tcp and udp implementations are bound to each other in a
module called *destiny*. Thus, when using only one of them then the
other one gets also compiled into the binary and initialized,
which results in unnecessary RAM usage and workload for the CPU.

The approach in this PR defines a common module named *socket_base*,
which contains functions used by the posix layer. Compiled by it's own,
those functions return negative error codes, to symbolize upper layers
that they are not supported. When also including the modules *udp* or
*tcp* respectively, functions from *socket_base* get overwritten with the
correct functionality.

Defining *udp* or *tcp* in a Makefile also includes *socket_base*.
Defining *pnet* in a Makefile also includes *socket_base*.
2014-09-11 20:07:46 +02:00
Fabian Nack
7650ef412f tests/examples: blacklisted msbiot for some tests 2014-09-02 15:45:50 +02:00
Hinnerk van Bruinehsen
4ca3a49a5d tests: blacklist failing test on arduino-mega2560 2014-08-27 17:47:24 +02:00
epiktet
1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 2014-08-04 13:42:06 +02:00
Ludwig Ortmann
106137ff64 examples: use DEVELHELP per default 2014-08-01 18:49:56 +02:00
Hauke Petersen
f2c8997acc examples/tests: blacklisted stm32f3discovery 2014-07-31 19:42:05 +02:00
Hauke Petersen
a49fc062bf test/examples: blacklisted stm32f4discovery 2014-07-16 17:20:53 +02:00
Hauke Petersen
082e970251 tests/examples: added stm32f0discovery to ignorelists 2014-07-16 15:21:33 +02:00
René Kijewski
ac9c80f417 make: don't use export on example makefiles 2014-07-10 15:23:31 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
4e4f908379 Initial import of the x86 port
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
René Kijewski
49778752b3 Use BOARD_INSUFFICIENT_RAM in examples and tests 2014-05-23 14:29:52 +02:00
Kévin Roussel
2a3033b3ca boards/z1: initial import 2014-05-16 11:02:06 +02:00
Hauke Petersen
cbd4f91656 examples/tests: blacklisted udoo board
blacklisted for:
- ccn-lite-client
- ccn-lite-relay
- rpl_udp
- test_net_if
- test_pnet
2014-05-15 11:53:14 +02:00
Hauke Petersen
595ede41ea examples/tests: blacklisted arduino-due 2014-05-13 21:18:27 +02:00
Fabian Brandt
ef5eaff1bc ETX-functionality is now part of a common routing-module 2014-04-25 11:30:28 +02:00
Christian Mehlis
7923e1e24d examples: rpl_udp: blacklist boards 2014-04-18 17:29:59 +02:00
Ludwig Ortmann
373c0aba6e examples/rpl_udp: use defaulttransceiver 2014-04-02 16:08:51 +02:00
Ludwig Ortmann
c0846fde22 Merge pull request #940 from Kijewski/issue-926
make: Add DEFAULT_MODULE and DISABLE_MODULE
2014-04-02 14:46:24 +02:00
Ludwig Ortmann
11e544ac0b Merge pull request #769 from authmillenon/fix-rpl-app-for-clang
rpl: Fix RPL app for clang
2014-04-02 10:56:49 +02:00
René Kijewski
e740fbc800 make: Add DEFAULT_MODULE and DISABLE_MODULE
Closes #926
2014-04-01 23:42:00 +02:00
Martin Lenders
e34b006445 Fix rpl app for clang 2014-04-01 17:31:24 +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
Christian Mehlis
cb9c5d00de repace project by application in documentation 2014-02-18 12:28:32 +01:00
Christian Mehlis
d794900386 Merge pull request #666 from LudwigOrtmann/native_valgrind_config
Native valgrind config
2014-02-12 11:01:34 +01:00
Thomas Eichinger
17b624e0a4 Merge pull request #681 from OlegHahm/at86rf231_fixes
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +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
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8 fix includes and shell commands for at86rf231 2014-02-11 17:15:03 +01:00
Ludwig Ortmann
c6be9ad3fc remove superfluous uart USEMODULEs from examples 2014-02-06 12:34:54 +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