1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/PiOS/STM32F10x
stac a3a2dbd634 spi: Add support for hardware CRC generation/checking
PIOS SPI devices may now make use of automatic CRC generation
and checking on block transfers.  Only supports CRC8 for now.

Since the SPI interface CRC calculation continues across message
boundaries (ie. not reset on every transfer), we must manually reset
the CRC registers for every transfer to allow the two sides of the
link to resynchronize.

Unfortunately, resetting the CRC registers requires disabling the
SPI peripheral which must now be done on every block transfer.

Note: The last byte of the tx buffer is never sent and is assumed to
      be a place holder for the tx CRC8.
Note: The last byte of the rx buffer is expected to hold the rx CRC8.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1011 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 02:21:42 +00:00
..
Libraries Minini removed from PiOS 2010-07-01 08:57:40 +00:00
link_stm32f10x_HD_BL.ld OP-21: Cleaning up a few things. 2010-03-13 20:46:46 +00:00
link_stm32f10x_HD_NB.ld init cleanup: use irq stack during early init 2010-06-13 04:22:47 +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 ADC Updates. 2010-05-12 12:09:35 +00:00
pios_debug.c com/usart: generalize com driver API 2010-06-13 04:24:26 +00:00
pios_delay.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_exti.c Updated BMP085 test code. 2010-03-23 04:01:11 +00:00
pios_gpio.c Added GPIO functions for accelerometer full-scale selection. 2010-05-15 15:27:52 +00:00
pios_i2c.c lowered I2C timoout whne using RTOS 2010-06-21 09:19:02 +00:00
pios_irq.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_led.c PIOS_LED: Initialise all LED's as off. 2010-03-14 06:47:57 +00:00
pios_ppm.c Working on the PPM functionality. Getting there but it is still not 100% correct. 2010-03-30 04:48:15 +00:00
pios_pwm.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_servo.c Do not configure the servo outputs when ENABLE_AUX_UART 2010-06-20 18:02:26 +00:00
pios_spektrum.c OP-22 Flight/PiOS: Spektrum bind function tested and working. 2010-05-23 11:19:28 +00:00
pios_spi.c spi: Add support for hardware CRC generation/checking 2010-07-04 02:21:42 +00:00
pios_sys.c Changes to PiOS to be compatible with the AHRS. 2010-05-11 13:36:13 +00:00
pios_usart.c com: mark tx buffer as const throughout API 2010-07-04 02:21:08 +00:00
pios_usb_com.c PIOS_DONT_USE_XXX => PIOS_INCLUDE_XXX 2010-03-11 12:38:51 +00:00
pios_usb_hid.c com: mark tx buffer as const throughout API 2010-07-04 02:21:08 +00:00
pios_usb.c USB HID: basic COM functionality over USB HID 2010-05-24 16:33:40 +00:00
startup_stm32f10x_HD_BL.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_HD_NB.S init cleanup: use irq stack during early init 2010-06-13 04:22:47 +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