1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

9777 Commits

Author SHA1 Message Date
Victor Arino
a477d6f81d stm32f1/i2c: do not block in case of error
Due to the errata of some of the stm32f1xx family, the i2c lines need
to be toggled when setting up the peripheral. This however seems to
hang some i2c slaves which do not ack the first message sent after
initialization. This caused the code to be stucked waiting for the
never coming ACK. The same situation could occur when a byte was not
acked due to whatever reason.

The previous implementation of the i2c driver didn't allow recovery
on these situations. Now the driver does not block forever but rather
returns a <0 code to indicate that the transaction was not succesful.
2016-02-03 17:42:42 +01:00
Victor Arino
da5b03df5d stm32f1/i2c: remove duplicated code 2016-02-03 17:42:42 +01:00
Victor Arino
be3279f9bc stm32f1/i2c: fix multi byte reading 2016-02-03 17:35:29 +01:00
Oleg Hahm
ca8dbbac20 Merge pull request #4714 from OlegHahm/6lo_nd_lookup
6lo nd: prefer NCEs over FIB entries
2016-02-03 11:11:49 +01:00
Martine Lenders
e6f33490de Merge pull request #4721 from cgundogan/pr/nc/enhance
ipv6/nc: doc fix and unittest for unmanaged nc entries
2016-02-01 16:01:32 +01:00
Joakim Nohlgård
fa273b134e Merge pull request #4717 from gebart/pr/stm32f4-uart-lock
cpu/stm32f4: Fix DMA race bug (#4716)
2016-02-01 09:07:13 +01:00
Oleg Hahm
fc475ddac9 Merge pull request #4457 from OlegHahm/tlsf_use_pkg_folder
pkg tlsf: use pkg directory for sources
2016-01-31 16:53:11 +01:00
Oleg Hahm
3b5f1f949f pkg tlsf: use pkg directory for sources
The TLSF package was the only one using the $(BINDIR) instead of a subdirectory of pkg/. This commit changes this.
2016-01-31 14:33:08 +01:00
Cenk Gündoğan
e0bf46ce60 unittests: nc: test reachability of unmanaged entries 2016-01-30 15:27:08 +01:00
Cenk Gündoğan
cb68c01325 ipv6/nc: doc fix and removed unused macro 2016-01-30 15:26:49 +01:00
Joakim Nohlgård
4fd7f23650 cpu/stm32f4: Fix DMA race bug (#4716) 2016-01-30 07:04:26 +01:00
Oleg Hahm
ae086aeed1 IPv6: cosmetic improvement
New condition -> new line
2016-01-29 18:56:03 +01:00
Oleg Hahm
250c288929 6lowpan nd: prefer NCEs over FIB entries
If an address can be found in the neighbor cache, it should be used - whatever the FIB may return.
2016-01-29 18:56:03 +01:00
Hauke Petersen
35eb99a46e Merge pull request #3984 from kaspar030/simplify_reboot
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
Peter Kietzmann
7dc6afe486 Merge pull request #4712 from authmillenon/auto_init/fix/debug-disable
auto_init: disable DEBUG
2016-01-29 09:29:21 +01:00
Oleg Hahm
28badca9c7 Merge pull request #4614 from OlegHahm/ccnl_always_fetch
pkg: ccn-lite: always fetch upstream repository
2016-01-29 09:08:48 +01:00
Oleg Hahm
69044dbb15 pkg: ccn-lite: reset origin remote before fetching 2016-01-29 08:16:05 +01:00
Oleg Hahm
4ca418cee9 pkg: ccn-lite: always fetch upstream repository
fixes #4610
2016-01-29 08:16:05 +01:00
Martine Lenders
d87ed59e39 auto_init: disable DEBUG 2016-01-29 01:27:28 +01:00
Oleg Hahm
c4cb93d9b2 Merge pull request #4686 from BytesGalore/add_ipv6_blacklisting
gnrc/ipv6: add blacklisting of IPv6 addresses
2016-01-28 23:16:44 +01:00
Oleg Hahm
2ec29cc55d Merge pull request #4711 from OlegHahm/iotlab_make_site_fixes
iotlab: fix IOTLAB_SITE for term, flash etc
2016-01-28 23:16:22 +01:00
BytesGalore
10ea1226bc gnrc/ipv6: add blacklisting of IPv6 addresses 2016-01-28 21:50:43 +01:00
Martine Lenders
bc2ee6afce Merge pull request #4703 from OlegHahm/license_pattern_fixes
License pattern fixes
2016-01-28 21:28:30 +01:00
Oleg Hahm
daf4cae380 Merge pull request #4706 from cgundogan/pr/iotlab-testbed/makefile_stop
make iotlab: stop
2016-01-28 20:43:40 +01:00
Oleg Hahm
23e3bcf60a iotlab: fix IOTLAB_SITE for term, flash etc 2016-01-28 20:38:08 +01:00
Ludwig Knüpfer
1df395f364 Merge pull request #4647 from LudwigKnuepfer/pr/sys-checksum
sys/checksum: initial import including CRC16-CCITT
2016-01-28 18:11:35 +01:00
Oleg Hahm
b5bd1a8add x86-multiboot: replaced multiboot header
https://www.gnu.org/software/grub/manual/multiboot/html_node/multiboot_002eh.html provides a MIT licensed header.
2016-01-28 16:46:42 +01:00
Oleg Hahm
db03259b6b tools: add pattern for MIT license 2016-01-28 16:46:42 +01:00
Oleg Hahm
6d7b0a2ea2 license: updated Free Software Foundation address 2016-01-28 16:46:41 +01:00
Oleg Hahm
ae8e0957cb Merge pull request #4705 from cgundogan/pr/ndp/pio_fix
ndp/internal: fix pio flags for rtr adv
2016-01-28 16:27:44 +01:00
Oleg Hahm
58eb00e867 Merge pull request #4709 from OlegHahm/remove_hash_string
sys: remove hash_string module
2016-01-28 16:12:51 +01:00
Cenk Gündoğan
11e7160b90 Merge pull request #4707 from BytesGalore/change_whitelist_use_memcpy
gnrc_ipv6/whitelist: switch assignment operation to `memcpy()`
2016-01-28 14:23:21 +01:00
Oleg Hahm
a57e77e46a sys: remove hash_string module
hash_string implements djb2 which is already part of `sys/hashes/`
2016-01-28 14:20:54 +01:00
Cenk Gündoğan
d58e1385b2 ndp/internal: fix pio flags for rtr adv 2016-01-28 14:03:19 +01:00
Cenk Gündoğan
feea0139c4 make iotlab: stop 2016-01-28 10:56:39 +01:00
Cenk Gündoğan
f7005e0402 Merge pull request #4702 from OlegHahm/make_iotlab_minor
iotlab makefiles: minor cleanups
2016-01-28 10:56:16 +01:00
BytesGalore
2d1671473b gnrc_ipv6/whitelist: switch assignment operation to memcpy() 2016-01-28 06:23:31 +01:00
Martine Lenders
03081216f3 Merge pull request #4692 from authmillenon/unittests/fix/python3
unittests: fix for python3
2016-01-27 23:32:37 +01:00
Ludwig Knüpfer
edbfdeb02e tests/unittests: add checksum test 2016-01-27 19:28:05 +01:00
Ludwig Knüpfer
430b4aa600 sys/checksum: initial import including CRC16-CCITT
Adds a checksum module which includes an implementation "the CCITT"
variant of the CRC16 algorithm.
2016-01-27 19:28:05 +01:00
Hauke Petersen
f6d350a5a5 Merge pull request #4502 from haukepetersen/fix_doc_cc2538
cpu/cc2538: vendor header cleanup
2016-01-27 16:32:56 +01:00
Oleg Hahm
dae4253618 Merge pull request #4519 from OlegHahm/fib_remove_superfluous_things
FIB: remove superfluous things
2016-01-27 16:12:08 +01:00
Oleg Hahm
cfdd6cb696 make iotlab: removed duplicated PHONY targets 2016-01-27 15:47:59 +01:00
Oleg Hahm
27688d8be1 make iotlab: rename internal target
In order to avoid potential naming clashes.
2016-01-27 15:47:31 +01:00
Martine Lenders
0f7f9fe986 unittests: fix for python3 2016-01-27 15:07:35 +01:00
Cenk Gündoğan
761f214072 Merge pull request #4690 from Lotterleben/gnrc_networking_ext_doc
examples/gnrc_networking: add explanation for RIOT<->RIOT communication
2016-01-27 14:27:02 +01:00
Cenk Gündoğan
f9c6955230 Merge pull request #4691 from Lotterleben/microcoap_server_docs_2
microcoap_server: add instructions for FF Copper
2016-01-27 14:26:43 +01:00
Lotte Steenbrink
135169ef33 microcoap_server: add instructions for FF Copper 2016-01-27 05:22:32 -08:00
938ff5c5e7 core: cpu: sys: simplify reboot() 2016-01-27 13:30:01 +01:00
Hauke Petersen
d09e572590 Merge pull request #4577 from haukepetersen/opt_fcpu
boards: removed F_CPU defines
2016-01-27 12:58:08 +01:00