1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu
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
..
arm7_common core: cpu: sys: simplify reboot() 2016-01-27 13:30:01 +01:00
atmega2560 Merge pull request #3984 from kaspar030/simplify_reboot 2016-01-29 14:24:08 +01:00
atmega_common cpu: atmega_common_ add off_t to sys/types.h 2015-11-26 20:41:36 +01:00
cc430 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
cc2538 cpu/cc2538: doxgen fixes 2016-01-27 09:55:24 +01:00
cortexm_common core: cpu: sys: simplify reboot() 2016-01-27 13:30:01 +01:00
ezr32wg cpu/ezr32wg: added extern C to vendor headers 2015-10-28 17:33:44 +01:00
k60 Merge pull request #3283 from gebart/pr/kinetis-errata-e4218 2015-10-30 07:33:31 +01:00
k64f kinetis_common: Refactor GPIO implementation 2015-10-28 14:12:19 +01:00
kinetis_common cpu: fixed any doxygen warning realated to 'periph' 2015-11-19 16:08:38 +01:00
kw2x kinetis_common: Refactor GPIO implementation 2015-10-28 14:12:19 +01:00
lm4f120 cpu/lm4f120: reworking timer 2015-12-02 13:58:23 +01:00
lpc11u34 Merge pull request #3984 from kaspar030/simplify_reboot 2016-01-29 14:24:08 +01:00
lpc1768 core: cpu: sys: simplify reboot() 2016-01-27 13:30:01 +01:00
lpc2387 cpu/lpc2387: s/F_CPU/CLOCK_CORECLOCK/ 2016-01-27 09:52:44 +01:00
msp430-common Merge pull request #3984 from kaspar030/simplify_reboot 2016-01-29 14:24:08 +01:00
msp430fxyz cpu: msp430: add write() + needed libc header fixes 2015-11-28 22:09:37 +01:00
native Merge pull request #3984 from kaspar030/simplify_reboot 2016-01-29 14:24:08 +01:00
nrf51 cpu nrf51: fix pedantic compiler warnings 2015-12-07 20:28:52 +01:00
sam3 cpu/sam3: s/F_CPU/CLOCK_CORECLOCK/ 2016-01-27 09:52:44 +01:00
samd21 cpu/samd21: s/F_CPU/CLOCK_CORECLOCK/ 2016-01-27 09:52:44 +01:00
saml21 cpu/saml21: fix typo in gpio.c 2015-10-31 17:35:41 +01:00
stellaris_common lm4f120: removed superfluous stellaris debug.h 2015-09-20 01:51:47 +02:00
stm32f0 cpu/stm32f0: adapted UART driver 2015-10-27 14:59:38 +01:00
stm32f1 stm32f1/i2c: do not block in case of error 2016-02-03 17:42:42 +01:00
stm32f3 cpu: stm32f3: spi: remove unused vtimer include 2015-11-10 12:26:58 +01:00
stm32f4 cpu/stm32f4: Fix DMA race bug (#4716) 2016-01-30 07:04:26 +01:00
stm32l1 Revert "stm32l1/i2c.c: adapt for new periph driver interface" 2015-12-07 17:21:34 +01:00
x86 Merge pull request #3984 from kaspar030/simplify_reboot 2016-01-29 14:24:08 +01:00
doc.txt fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Makefile.include.cortexm_common cpu/Makefile.include.cortexm_common: don't use cortex-m0plus for clang if unsupported 2015-09-22 21:19:59 +02:00