1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/pios/stm32f10x
Stacey Sheldon b56f5206bd com/usart/cdc: ensure that device structs are memset before use
CDC and USART device drivers were not all clearing their
device structs before using them.

This specifically caused crashes in the case where the upper
COM layer was binding only a Tx path.  The Rx path callback
in the lower driver was uninitialized random data and would
result in the lower driver faulting when it tried to call the
callback.

Conflicts:
	flight/PiOS/STM32F30x/pios_usart.c
	flight/PiOS/STM32F30x/pios_usb_cdc.c
	flight/PiOS/STM32F30x/pios_usb_hid.c
2013-05-11 22:40:59 +02:00
..
libraries Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
library.mk Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_stm32f10x_HD.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_stm32f10x_MD.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM3210E_OP_BL_sections.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM3210E_OP_memory.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM3210E_OP_sections.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM32103CB_CC_Rev1_BL_sections.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM32103CB_CC_Rev1_memory.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM32103CB_CC_Rev1_sections.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM32103CB_OPLINKMINI_BL_sections.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM32103CB_OPLINKMINI_memory.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
link_STM32103CB_OPLINKMINI_sections.ld Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_adc.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_bkp.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_bl_helper.c OP-917 Various review fixes: 2013-04-28 10:19:08 +02:00
pios_debug.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_delay.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_dsm.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_eeprom.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_exti.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_gpio.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_i2c.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_irq.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_led.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_ppm_out.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_ppm.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_pwm.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_rtc.c OP-931: Makes flight code compile with -Wfloat-equal and -Wunsuffixed-float-constants enabled. 2013-04-30 20:36:42 +09:30
pios_servo.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_spi.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_sys.c OP-917 Moved all the flash architecture related code to pios_bl_helper, get the flash addresses from board defines, major cleanup. 2013-04-27 15:15:28 +02:00
pios_tim.c Merge remote-tracking branch 'origin/next' into sambas/diffnext 2013-04-26 16:31:19 +03:00
pios_usart.c com/usart/cdc: ensure that device structs are memset before use 2013-05-11 22:40:59 +02:00
pios_usb_cdc.c com/usart/cdc: ensure that device structs are memset before use 2013-05-11 22:40:59 +02:00
pios_usb_hid_istr.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_usb_hid_pwr.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_usb_hid.c com/usart/cdc: ensure that device structs are memset before use 2013-05-11 22:40:59 +02:00
pios_usb_rctx.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_usb.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_usbhook.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_wdg.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
startup_stm32f10x_HD_OP.S Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
startup_stm32f10x_HD.S Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
startup_stm32f10x_MD_CC.S Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
startup_stm32f10x_MD_PX.S Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
startup_stm32f10x_MD.S Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00