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

5150 Commits

Author SHA1 Message Date
Peter Kietzmann
60cbdc8b09 Merge pull request #2307 from haukepetersen/fix_stm32f4_gpioclks
cpu/stm32f4: added lost port clock eanble
2015-01-16 08:38:15 +01:00
Hauke Petersen
c61056ad0f board/stm32f4discovery: adjusted GPIO clken defines 2015-01-15 14:24:48 +01:00
Hauke Petersen
63b2bbd684 board/msbiot: ajusted GPIO clken defines 2015-01-15 14:24:17 +01:00
Hauke Petersen
23ecb09f12 cpu/stm32f4: added lost port clock eanble 2015-01-15 14:23:06 +01:00
Oleg Hahm
cadea97760 Merge pull request #2155 from cgundogan/rpl_one_thread
rpl: RPL/trickle with only *one* thread
2015-01-15 12:27:15 +01:00
Joakim Gebart
079ff1be9d Merge pull request #2299 from gebart/pr/cc110x-header-cleanups
cc110x-legacy: header documentation cleanups
2015-01-15 10:58:56 +01:00
Joakim Gebart
c9df451379 cc110x-legacy: Comment style and spelling/grammar fixes.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-15 10:56:58 +01:00
Cenk Gündoğan
7095241555 rpl: wrong macro definitions in rpl shell commands
It appears that the values defined for RPL_NODE_IS_ROOT and
RPL_MAX_ROUTING_ENTRIES in the Makefile via CFLAGS are not recognized in
sc_rpl.c (my guess: they are only visible to the rpl module?)
Therefore RPL_MAX_ROUTING_ENTRIES is always set to 0, no matter how the
binary is compiled, thus resulting in the output "No routing table
available" for root nodes.
2015-01-15 10:56:22 +01:00
Cenk Gündoğan
c4b01b87bc rpl: RPL/Trickle with only *one* thread
This PR proposes an approach to reduce the thread count of RPL.

The current RPL/Trickle stack needs about 5 threads to handle tasks
like updating the trickle timer, routing entries and the transmission of
DAOs.

This PR modifies RPL to use only one thread with a looped `msg_recv()` call.
The message is then multiplexed to the right task.
2015-01-14 19:42:13 +01:00
Martine Lenders
c9e2f5bdce pktqueue: adapt to pkt_t 2015-01-14 14:53:37 +01:00
Ludwig Ortmann
c4d4458651 Merge pull request #2243 from LudwigOrtmann/native-calloc
native: fix real_calloc, _native_in_calloc  initialization
2015-01-14 14:05:06 +01:00
Ludwig Ortmann
f8085e5fb9 Merge pull request #2274 from LudwigOrtmann/native-random-hq
cpu/native: add high-quality random implementation
2015-01-14 12:41:16 +01:00
Oleg Hahm
6f9073dba9 Merge pull request #2303 from LudwigOrtmann/timex-cppcheck-suppression
sys/timex: suppress passedByValue warnings
2015-01-14 12:39:08 +01:00
Ludwig Ortmann
8676a1972d sys/timex: suppress passedByValue warnings 2015-01-14 11:57:01 +01:00
Ludwig Ortmann
88fa49ab38 cpu/native: add high-quality random implementation
Per default random data is read from `/dev/random` now.

If specified (e.g. `-s 4711`), data is generated by calls to POSIX
random function like before. The POSIX random API is initialize with
the given seed (`srandom(4711);` in this example).
2015-01-14 11:51:23 +01:00
Oleg Hahm
52cc7eb122 Merge pull request #2301 from LudwigOrtmann/issue-2300
travis: disable qemu unittests temporarily
2015-01-14 11:40:04 +01:00
Ludwig Ortmann
644fb00583 travis: disable qemu unittests temporarily 2015-01-14 10:26:44 +01:00
Oleg Hahm
2d874af904 Merge pull request #2158 from authmillenon/pkt/feat/initial-import
pkt: Initial import
2015-01-14 08:20:46 +01:00
Oleg Hahm
5926697d21 Merge pull request #1968 from authmillenon/basic_mac
sys: net: Initial import of a simple data-forwarding MAC protocol (nomac)
2015-01-14 08:19:51 +01:00
Martine Lenders
62544e6923 tests, pkt: add unittests for pkt 2015-01-14 07:04:57 +01:00
Martine Lenders
99e2feca48 pkt: Initial import
This data type is bound to replace the `(netdev_hlist_t *ulh, void
*data)` tuples in netapi and netdev.
2015-01-14 07:04:56 +01:00
Martine Lenders
0221c27d4b unittests: provide unittests for basic_mac 2015-01-14 06:59:59 +01:00
Martin Lenders
96502e2fd4 sys: net: Initial import of a basic MAC protocol layer 2015-01-14 06:58:48 +01:00
Oleg Hahm
34908f11a9 Merge pull request #2257 from cgundogan/rpl_fix_srh_for_storing_mode
rpl: node-to-node communication broken (rpl_udp)
2015-01-13 18:49:14 +01:00
Peter Kietzmann
1bffaedba3 Merge pull request #2292 from BytesGalore/rpl_udp_fix_chan_type
examples/rpl_udp: changed type of variable `chan` to `uint32_t`
2015-01-13 17:31:31 +01:00
BytesGalore
2ed531059d examples/rpl_udp: changed type of variable chan to uint32_t 2015-01-13 16:55:05 +01:00
Oleg Hahm
a31bc97e1c Merge pull request #2253 from cgundogan/rpl_srh_remove_relay_debugf
rpl: move msg_send_receive outside of DEBUGF
2015-01-13 14:43:18 +01:00
Ludwig Ortmann
154a6b5d22 Merge pull request #2268 from cgundogan/rpl_cleanup_no_routing_table
rpl: remove routing table dependent code
2015-01-13 14:09:32 +01:00
Oleg Hahm
0421ab96ee Merge pull request #2245 from cgundogan/rpl_remove_routing_decision_in_rpl_send
rpl: remove decision to drop packets in rpl_send
2015-01-13 14:04:53 +01:00
Peter Kietzmann
322c8d4b79 Merge pull request #2288 from BytesGalore/rename_port_define
tests/pnet: renamed `PORT` define as it collides with the samd21-xpro definition
2015-01-13 13:34:17 +01:00
Oleg Hahm
363c12e822 Merge pull request #2283 from thomaseichinger/rf231_lqi_fix
drivers/at86rf231: fix reading of rssi value
2015-01-13 13:33:54 +01:00
Cenk Gündoğan
a06c667af5 rpl: remove routing table dependent code
This PR removes code depending on a routing table with an entries
size > 0. Currently, all those functions and symbols are compiled into the binary,
even when there is no effective space in the routing table (as it is the
case for normal nodes in non-storing mode)
2015-01-13 13:11:32 +01:00
BytesGalore
024cf7cc49 tests/pnet: renamed PORT define as it collides with the samd21-xpro definition 2015-01-13 11:46:16 +01:00
Hauke Petersen
b435a488fa Merge pull request #2026 from thomaseichinger/stm32l1
stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu
2015-01-12 21:33:21 +01:00
Oleg Hahm
1cb52a8361 Merge pull request #2273 from LudwigOrtmann/latex-batchmode
doxygen: enable latex batchmode
2015-01-12 18:27:57 +01:00
Oleg Hahm
19e06222ad Merge pull request #2280 from OlegHahm/tmp006_latex_fix
driver: tmp006 latex fix
2015-01-12 18:26:27 +01:00
Thomas Eichinger
f2396971e1 drivers/at86rf231: fix reading of rssi value 2015-01-12 16:40:21 +01:00
Oleg Hahm
4a615e21ef Merge pull request #1717 from BytesGalore/base64_encoder_decoder
base64 encoding/decoding module
2015-01-12 16:39:08 +01:00
Thomas Eichinger
61f3060d88 Merge pull request #2052 from Troels51/samr21-cpuid
Samr21: cpuid implementation
2015-01-12 16:10:59 +01:00
Thomas Eichinger
07d76d7127 stm32l1: initial port for the nucleo-l1 board and stm32l1 cpu 2015-01-12 15:13:19 +01:00
Troels Hoffmeyer
29b0e73350 samr21: cpuid implemented by reading 128 bits from flash 2015-01-12 13:50:16 +01:00
Martin Landsmann
a0898dbb9f sys: add base64 encoding/decoding module
- suppressed cppcheck warning for `unassignedVariable` for
   the encode/decode arrays in stream encode/decode tests
   as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
Oleg Hahm
ab191ad8a0 driver: added missing closing bracket 2015-01-12 09:54:29 +01:00
Oleg Hahm
e6c230a81f driver: convert to UNIX line endings 2015-01-12 09:52:41 +01:00
Ludwig Ortmann
d8d3e7e4e5 Merge pull request #2279 from Farthen/pr@licensecheck-bsd
dist/tools/licenses: support BSD sed
2015-01-12 09:19:57 +01:00
Finn Wilke
0d4b81d62e dist/tools/licenses: support BSD sed 2015-01-12 03:20:09 +01:00
Ludwig Ortmann
3ab73bc633 cpu/native: init _native_in_calloc explicitly 2015-01-11 10:59:49 +01:00
Ludwig Ortmann
f5cfda977a cpu/native: fix real_calloc initialization 2015-01-11 10:59:49 +01:00
Ludwig Ortmann
87da25eab3 doxygen: enable latex batchmode
Instruct the latex processor to keep going if an error occurs.
2015-01-10 08:29:34 +01:00
Thomas Eichinger
2ea028dd51 Merge pull request #2011 from haukepetersen/add_stm32f3_spi
cpu/stm32f3: added SPI driver
2015-01-09 11:46:06 +01:00