1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
LibrePilot/flight/PiOS/inc
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
..
FreeRTOSConfig.h More doxygen updates 2010-07-16 05:31:11 +00:00
pios_adc.h 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_bmp085.h "addr" field of I2C transaction struct now takes real I2C address, and not address that is pre-shifted to accommodate the R/W bit 2010-08-18 10:04:55 +00:00
pios_com_priv.h 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_com.h 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.h 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.h 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.h 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.h 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_hmc5843.h AHRS: Keeping magnetometer I2C address consistent with change to I2C driver. 2010-08-18 13:54:15 +00:00
pios_i2c_priv.h i2c: force bus free on warm starts 2010-08-21 16:19:02 +00:00
pios_i2c.h i2c: force bus free on warm starts 2010-08-21 16:19:02 +00:00
pios_irq.h 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.h Added extra LED's .. now up to 4 LED's .. (PipBee has 4 controllable LED's) 2010-08-04 17:32:42 +00:00
pios_opahrs_proto.h AHRS/Flight: Renamed AttitudeSettings to AhrsSettings to make it more intuitive. Added the ability to change the algorithm from GCS. 2010-08-23 03:39:13 +00:00
pios_opahrs.h AHRS/Flight: Renamed AttitudeSettings to AhrsSettings to make it more intuitive. Added the ability to change the algorithm from GCS. 2010-08-23 03:39:13 +00:00
pios_ppm.h 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.h 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_sdcard.h 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.h 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.h 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_priv.h 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_spi.h 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_stm32.h 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.h 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_usart_priv.h 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_usart.h 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.h Got better HID report design with valid data length embedded in report 2010-07-27 17:41:56 +00:00
pios_usb_hid_istr.h Further tweaks to the HID update 2010-07-27 05:28:04 +00:00
pios_usb_hid_prop.h 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.h Further tweaks to the HID update 2010-07-27 05:28:04 +00:00
pios_usb_hid.h OP-121 OP-122 Flight: Improved USB HID communication. 2010-08-25 05:32:52 +00:00
pios_usb.h 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
stm32f10x_conf.h Added debugging port buffer handling. 2010-03-13 15:37:00 +00:00
usb_conf.h Got better HID report design with valid data length embedded in report 2010-07-27 17:41:56 +00:00