1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/PiOS/STM32F10x
peabody124 4ca10e92c7 OP-121 OP-122 Flight: Improved USB HID communication.
1. Added reenumeration function and call it on USB init (device will appear after reprogramming now)
  2. Moved buffer.c to general flight/Libraries location
  3. Removed the 62 byte transmission limitation by adding a transmission buffer
  4. Sped up USB communication by increasing endpoint polling frequency

Note, that the nonblocking and blocking USB send functions are not blocking entirely correcting.  The blocking calls the nonblocking, and the nonblocking blocks until the last chunk has started tranmission if it's a big transmission.  The buffering I added would generalize to non-blocking nicely, but would require using the EP1(IN) callback to handle most of the tranmission.  This creates a lot of issues if one function is pushing data onto the buffer and the interrupt is sending.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1403 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 05:32:52 +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: fix error in FSM for restarted reads 2010-08-21 16:19:06 +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 HID working on Mac for telemetry. Need to tweak GCS code for Win/Linux 2010-07-27 20:50:20 +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 OP-121 OP-122 Flight: Improved USB HID communication. 2010-08-25 05:32:52 +00:00
pios_usb_hid_istr.c OP-121 OP-122 Flight: Improved USB HID communication. 2010-08-25 05:32:52 +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 OP-121 OP-122 Flight: Improved USB HID communication. 2010-08-25 05:32:52 +00:00
pios_wdg.c OP-119 AHRS: Added error counters for the messages as well as changed an error on AHRS echo back for the HomeLocation message. 2010-08-20 22:52:13 +00:00
pios_wdg.h Merge branch 'watchdog' 2010-08-13 05:18:17 +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