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

214 Commits

Author SHA1 Message Date
Thomas Eichinger
256ce73d2c boards: initial import for HiKoB fox 2014-11-18 17:24:47 +01:00
Hauke Petersen
63455f7dd9 examples/riot_and_cpp: cleanup in Makefile
removed some deprecated comments about C++
2014-11-18 16:56:20 +01:00
BytesGalore
178b36ae0b exchanged BOARD_BLACKLIST with FEATURES_REQUIRED in the example Makefile
added cpp as feature for board native
2014-11-11 09:52:06 +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
Oleg Hahm
f777f23a89 Merge pull request #1934 from thomaseichinger/at86rf231_robustnes
drivers/at86rf231: improve deployment by default example
2014-11-05 19:59:11 +01:00
Stefan Pfeiffer
a19d6c769d added new board f4vi1 2014-11-04 16:02:25 +01:00
Thomas Eichinger
6a7cee294f examples/default: print 16bit addresses 2014-11-04 15:13:47 +01:00
Christian Mehlis
2114a8267d added board airfy beacon 2014-11-02 18:26:42 +01:00
Martine Lenders
1729524f38 Merge pull request #1878 from authmillenon/rpl_udp-16bit-addr
rpl_udp: Addresses must only be 8-bit with cc110x
2014-11-02 18:03:53 +01:00
Martine Lenders
a8e83d8923 rpl_udp: optimize error handling for set command 2014-11-02 15:06:53 +01:00
Martine Lenders
38fab9dbb6 rpl_udp: Addresses must only be 8-bit with cc110x 2014-11-02 15:05:29 +01:00
Christian Mehlis
f3b1753ac7 added spark core board 2014-11-02 14:36:42 +01:00
Hinnerk van Bruinehsen
3114f362df lint: fix invalidPrintfArgType_sint warning 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Oleg Hahm
8c44eaa6f8 Merge pull request #1903 from authmillenon/rpl_udp_non_routing
rpl_udp: add non-routing hosts to example
2014-10-30 23:38:59 +01:00
Oleg Hahm
9a61d8cf1c core: move optional tcb members to DEVELHELP 2014-10-30 16:37:10 +01:00
Martine Lenders
ca7bbb907d rpl_udp: add non-routing hosts to example 2014-10-30 13:16:45 +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
Hauke Petersen
c6d0e282fd examples: blacklisted openmote for riot_and_cpp 2014-10-24 15:34:15 +02:00
5146c66786 core: adapt to msg_try_send 2014-10-22 12:37:33 +02:00
Thomas Eichinger
ecae75a1ab Merge pull request #1697 from locicontrols/cc2538
Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit.
2014-10-13 16:58:41 +02:00
Ian Martin
0605a7eb95 Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit. 2014-10-13 09:29:49 -04:00
René Kijewski
58a10f3272 Merge pull request #1790 from BytesGalore/extern_C_in_headers_examples
examples: add extern "C" to headers
2014-10-11 04:43:47 +02:00
BytesGalore
b9bae213d0 examples: add extern "C" to header rpl_udp.h 2014-10-10 16:31:02 +02:00
BytesGalore
1f011eb1e9 renamed the cpp header file to *.hpp to preven eventually a collision with #1789 2014-10-10 12:56:16 +02: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
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
Ludwig Ortmann
aef7d2a327 examples/rpl_udp: fix spelling, README.md 2014-09-15 08:12:56 +02:00
Hinnerk van Bruinehsen
68e3e68ce1 Merge pull request #1657 from N8Fear/scope
lint: reduce scope (2)
2014-09-13 20:06:45 +02:00
Hinnerk van Bruinehsen
57b998e4a1 cpu/examples/sys/drivers: reduce scope of variables 2014-09-13 19:03:40 +02:00
Christian Mehlis
34a4bb9cb9 example: adapt README to new naming of the transport layer 2014-09-13 15:05:01 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +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
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Oleg Hahm
400fb29a6b licenses: updated some missing licenses in headers 2014-08-21 23:52:42 +02:00
Oleg Hahm
e879e2aba2 fix low-level sending destination address 2014-08-21 21:34:45 +02:00
Oleg Hahm
659800d397 examples: use correct broadcast address when sending 2014-08-21 21:34:45 +02:00
Oleg Hahm
4e48c25ecd examples: don't advertise IPv6 prefix
Cleaning up the IPv6 address initialization and removed the addition of
an IPv6 prefix to advertise.
2014-08-21 21:34:45 +02:00
Oleg Hahm
8b34d323e2 rpl: moved headers to sys/net/include 2014-08-21 21:34:45 +02:00
Oleg Hahm
4e39f68dd4 examples: cleanup for rpl_udp
* removed unnecessary shell commands
* updated documentation
* Unified global default IP address
2014-08-21 21:34:45 +02:00
Oleg Hahm
ea1d1d68b6 examples: renamed rpl_udp header 2014-08-21 21:34:45 +02:00
Thomas Eichinger
0e79a01cd2 stm32f1: SPI: implement speed setting properly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
aaa2c2e8ba boards: initial import of iot-lab_M3 2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c cpu: initial import of stm32f1 2014-08-21 17:53:37 +02:00
Thomas Eichinger
e6798a8250 examples/ccn-lite-relay: remove unnecessary USEMODULE 2014-08-21 17:46:17 +02:00
Oleg Hahm
1de5c2b4a0 fixed remaining variables to kernel_pid_t 2014-08-07 17:29:53 +02:00
Oleg Hahm
93ef4346e9 ccnl: duplicate variable names
Some variables had multiple definitions, but could be removed or
declared with a smaller scope.
2014-08-07 16:31:27 +02:00
Oleg Hahm
0ad7b170ed make kernel_pid_t comparisons consistent 2014-08-07 16:31:27 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +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
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
René Kijewski
b7b7fd3bc1 make: provide BOARD, MCU and CPU name as a string
This PR adds the defined `RIOT_BOARD`, `RIOT_CPU` and `RIOT_MCU`.
They each are defined as `BOARD_${BOARD}`, `CPU_${CPU}`, and
`MCU_${CPU}`, resp.

`BOARD_${BOARD}` is defined as the string `"${BOARD}"`, but not in upper
case. Same for the other two.
2014-08-01 02:40:40 +02:00
Hauke Petersen
938c61a5a2 Merge pull request #1456 from haukepetersen/board_stm32f3discovery
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
2014-07-31 23:55:05 +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
Hauke Petersen
f2c8997acc examples/tests: blacklisted stm32f3discovery 2014-07-31 19:42:05 +02:00
Oleg Hahm
54fd920da0 Merge pull request #1450 from mehlis/ccp-stacksize-fix
examples: changed stacksize to the recommended value
2014-07-19 15:04:38 +02:00
Christian Mehlis
346c0cc490 examples: changed stacksize to the recommended value 2014-07-18 21:21:43 +02:00
Christian Mehlis
d2b78a398f ccnl: finish rebase 2014-07-18 21:06:40 +02:00
Christian Mehlis
ba22fd41b7 ccnl: adapt HOWTO to new features 2014-07-18 20:08:29 +02:00
Christian Mehlis
9b5eedeea8 ccnl: use stacksize main for all threads 2014-07-18 20:08:29 +02:00
Christian Mehlis
cebffb2ccf ccnl: make relay start on RIOT startup 2014-07-18 20:07:15 +02:00
Christian Mehlis
51fa2ec5c5 ccnl: use vtimer instead of rtc 2014-07-18 20:04:13 +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
Ludwig Ortmann
1c825e2524 tests,examples: remove unneeded headers, fix style 2014-07-15 18:54:45 +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
1a8967cb45 tests&examples: apply coding conventions to sizeof 2014-07-09 07:41:54 +02:00
Ludwig Ortmann
06a86aef20 tests&examples: use sizeof(stack) in thread_create
fixes #1392
2014-07-09 07:41:54 +02:00
Oleg Hahm
13028b41bf applications: set stack size correctly
The correct stack size for all examples and test applications correctly.
KERNEL_CONF_STACKSIZE_MAIN is the correct stack size for any thread
using printf.

Also adapted black lists accordingly.
2014-07-04 15:39:43 +02:00
René Kijewski
63dd8546af Merge pull request #1335 from Kijewski/fix-all-warnings-for-native-and-qemu-i386
Fix all warnings for native and qemu-i386
2014-07-02 10:58:48 +02:00
Pham Huu Dang Nhat
3595506020 added riot_and_cpp example 2014-06-25 16:37:05 +07:00
René Kijewski
3063e3c2b1 Fix all warnings for native and qemu-i386
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
2014-06-24 16:50:32 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
emmanuelsearch
a37e86db0a Documentation: Create README.md for the CCN-lite client and relay 2014-05-26 14:11:30 +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
47ce60ccdc examples: IPC ping-pong README adjustments 2014-05-14 15:40:52 +02:00
Hauke Petersen
279b5cc5ca examples: adjusted output and README for IPC pingpong 2014-05-14 15:11:01 +02:00
Hauke Petersen
fbdc18cd63 examples: added README.md to ipc_pingpong example 2014-05-14 14:46:08 +02:00
René Kijewski
ccc934856f Merge pull request #1124 from Kijewski/consolidate-crypto
sys:crypto: put ciphers into one module
2014-05-14 13:12:21 +02:00
Ludwig Ortmann
2314915ff2 license: fix license header grammar
insert missing "is"
2014-05-14 09:49:09 +02:00
Hauke Petersen
595ede41ea examples/tests: blacklisted arduino-due 2014-05-13 21:18:27 +02:00
René Kijewski
96fba8a19b sys:crypto: put ciphers into one module 2014-05-12 21:57:44 +02:00
Ludwig Ortmann
1eca41456f examples/default: add README.md
Fixes #1068
2014-05-12 11:22:14 +02:00
René Kijewski
4aabf8f1de Merge pull request #1072 from Kijewski/issue-1070
Add readme for the hello-world example
2014-05-08 09:24:37 +02:00
Christian Mehlis
2a37308a10 Merge pull request #1081 from mehlis/ccnl-config-remove
ccnl: remove unused config module
2014-05-07 21:13:37 +02:00
René Kijewski
ca21d9e8f0 Add readme for the hello-world example
Closes #1070.
2014-05-07 09:52:17 +02:00
Christian Mehlis
2f4c4caa5d ccnl: don't include transceiver and defaulttransceiver
This removes the duplicate include of the transceiver.
The transceiver module is a dependency of the
defaulttransceiver, so an explicite include is not needed

Follow up to #1053
2014-04-30 14:05:40 +02:00