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

5317 Commits

Author SHA1 Message Date
Thomas Eichinger
8821e0edcf cpu/stm32f4: make i2c thread-safe 2015-01-19 12:20:09 +01:00
Thomas Eichinger
30040fa311 cpu/samd21: make i2c thread-safe 2015-01-19 12:20:09 +01:00
Thomas Eichinger
fe643f7077 periph/i2c: added means to make I2C thread-safe
As discussed in #2289 this changes provide means to
use the i2c interface safely within multible threads.
2015-01-19 12:18:03 +01:00
Thomas Eichinger
5ae38d6dc7 Merge pull request #1927 from kaspar030/add_lto_flags
make: optionally build with gcc's link time optimization
2015-01-19 11:33:32 +01:00
Ludwig Ortmann
3465213118 cpu/native: warn about uninitialized random module 2015-01-19 11:21:01 +01:00
Hauke Petersen
e1801cc98f Merge pull request #2290 from haukepetersen/opt_spi_threadsafe
drivers/periph/spi: added means to make SPI thread-safe
2015-01-19 09:43:06 +01:00
Hauke Petersen
3439247248 drivers/periph/spi: added locking mechanism 2015-01-17 15:13:51 +01:00
Hauke Petersen
70a5df67a5 cpu/stm32f4: made SPI driver thread safe 2015-01-17 15:13:51 +01:00
Oleg Hahm
f6a415a3d9 Merge pull request #2306 from cgundogan/rpl_no_macros_for_shell
rpl: wrong macro definitions in rpl shell commands
2015-01-16 22:00:11 +01:00
Martine Lenders
cfed38ae12 Merge pull request #2287 from authmillenon/pktqueue/api/use-pkt
pktqueue: adapt to pkt_t
2015-01-16 19:48:04 +01:00
Peter Kietzmann
5a2a38dd0c Merge pull request #2316 from PeterKietzmann/correct_periph_spi_test
tests/periph_spi: correct test application
2015-01-16 15:53:18 +01:00
Hauke Petersen
c3cdfe7ef7 Merge pull request #2315 from fnack/spi_clock
cpu/stm32f4: Fix SPI baud rate control settings
2015-01-16 11:19:18 +01:00
PeterKietzmann
c917e6d374 tests/periph_spi: correct test application 2015-01-16 11:15:42 +01:00
Fabian Nack
f9a72b477d boards/msbiot: add spi feature for msbiot to include it in the tests 2015-01-16 09:24:48 +01:00
Fabian Nack
672a362f2e cpu/stm32f4: Corrected wrong spi baud rate control settings 2015-01-16 09:24:48 +01:00
Fabian Nack
9a365b0647 boards: Introduce spi bus divider to distinguish APB2 and APB1 bus 2015-01-16 09:24:48 +01:00
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