1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/PiOS/STM32F10x
stac 88e73906d0 i2c: Add recovery code for i2c bus errors
I2C bus errors are now recoverable.  The bus is properly reset
and an error indication is now provided to the caller whenever
a bus error occurs during processing of the transaction list.

For now, the users of the I2C layer just retry infinitely on
failure.  The BMP085 and HMC5843 code should be changed to
report errors to its callers to allow a more sensible retry
strategy.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1625 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-15 14:20:57 +00:00
..
Libraries i2c: Change API to allow passing const config data 2010-08-08 04:14:58 +00:00
link_stm32f10x_HD_BL.ld OP-21/Flight Prep work for the USB HID bootloader 2010-08-22 18:54:57 +00:00
link_stm32f10x_HD_NB.ld OP-21/Flight Prep work for the USB HID bootloader 2010-08-22 18:54:57 +00:00
link_stm32f10x_HD.ld Directory re-structuring. Doesn't compile yet, need to commit first. 2009-12-01 14:04:30 +00:00
link_stm32f10x_MD.ld Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00
pios_adc.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_debug.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_delay.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_exti.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_gpio.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_i2c.c i2c: Add recovery code for i2c bus errors 2010-09-15 14:20:57 +00:00
pios_irq.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_led.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_ppm.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_pwm.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_servo.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_spektrum.c OP-22 Flight/PiOS: Spektrum reworked, input is mapped to old aux in receiver connector, works nicely with calibration plugin. Also bind works, just needs config flag to bind on powerup 2010-08-01 10:34:07 +00:00
pios_spi.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_sys.c Added 'uint32_t PIOS_SYS_getCPUFlashSize(void)' into pios_sys.c/h files. 2010-09-14 09:18:55 +00:00
pios_usart.c More documentation updates, standardizing format to include addtogroup at the beginning of headers so files are associated with modules 2010-07-16 19:53:35 +00:00
pios_usb_hid_desc.c Flight: Was only returning half of the serial number (thanks for catching that Pip) 2010-08-31 02:33:47 +00:00
pios_usb_hid_istr.c OP-121 OP-122 Flight: Improved the Blocking/Nonblocking behavior for USB to be correct. I'd like a mutex still around the transmission buffer but don't want to slow down the interrupt. 2010-08-25 05:32:54 +00:00
pios_usb_hid_prop.c Deleting old USB code that I meant to delete a while ago. Also changed names of some functions to OP. Finally fixed the USB taking over PIOS telemetry. Detects the USB cable and that the configuration has been taken by the USB bus. 2010-08-05 23:43:52 +00:00
pios_usb_hid_pwr.c Deleting old USB code that I meant to delete a while ago. Also changed names of some functions to OP. Finally fixed the USB taking over PIOS telemetry. Detects the USB cable and that the configuration has been taken by the USB bus. 2010-08-05 23:43:52 +00:00
pios_usb_hid.c Flight - #ifdefs to make it work with both normal and bootloader packet formats. 2010-09-13 17:08:52 +00:00
pios_wdg.c added casting to prevent int overflows when calculating the watchdog delay 2010-08-30 16:48:33 +00:00
startup_stm32f10x_HD_OP.S OP-21/Flight Prep work for the USB HID bootloader 2010-08-22 18:54:57 +00:00
startup_stm32f10x_HD.S OP-21: Made changes to OpenPilot makefile too allow building for bootloader and non-bootloader targets. Use "USE_BOOTLOADER = YES" to build for the OpenPilot Bootloader. 2010-03-13 20:01:31 +00:00
startup_stm32f10x_MD.S Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00