1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
LibrePilot/flight/Modules
Stacey Sheldon b94f4b49a4 usb: major refactoring of USB descriptors, CDC and HID
Summary of changes:
 * USB CDC and HID drivers are completely split apart.
   * This will allow different max buffer sizes for HID and CDC.
 * USB descriptors have been overhauled:
   * Proper structs/macros/enums declared for USB (see pios_usb_defs.h)
   * Two common descriptor definitions.  One for HID+CDC another for HID only.
     See pios_usb_desc_{hid_cdc,hid_only}.c for details.
   * Long standing bugs in OP USB descriptors became much more obvious with the
     new struct definitions.
   * Board specific USB initialization is now in pios_usb_board_data.h in each build target.
   * Definition of USB descriptors is now entirely indpendent of STM32 libs.
     Glue into STM32 libs is provided by pios_usbhook.c.
 * Removed a lot of stale/irrelevant USB #defines throughout the tree.
 * Improved naming consistency throughout USB code:
   * PIOS_USB_HID_* now refers to the HID endpoint code.
   * PIOS_USB_CDC_* now refers to the CDC endpoint code.
   * PIOS_USB_* now refers to the low-level USB code.
   * PIOS_USB_BOARD_* now refers to board-specific USB data
   * PIOS_USBHOOK_* is glue between PIOS and STM32 USB libs.
   * struct usb_* and enum usb_* and USB_* and HID_* are all types from the USB spec.
 * Shrunk the buffer size on the CDC call mgmt endpoint to save some RAM.
 * Made a few more USB related variables static to save some RAM.
2012-01-02 14:27:06 -05:00
..
Actuator UAVObjects ; Modules/ManualControl: Fixed metadata interface and segfault when retrieving it 2011-11-30 09:20:46 +01:00
AHRSComms Initialize objects for guidance in the correct place. Init some objects in 2011-08-19 09:52:05 -05:00
Altitude Merge branch 'next' into camera_stabilization 2011-07-30 10:06:10 +09:00
Attitude OP-565: Added the ability to do a trim flight to compute the accels for level flight 2011-12-21 15:25:00 -06:00
Battery Merge branch 'next' into camera_stabilization 2011-07-30 10:06:10 +09:00
CameraStab code style: move variable into function and free 1 byte of RAM :-) 2011-11-13 18:27:52 +02:00
ComUsbBridge com-bridge: Make com-bridge an optional (and configurable) module 2011-12-30 23:05:36 -05:00
Example OP-423: simplify the MODULE_INITCALL macro and remove the ordering loops 2011-07-12 20:44:32 -07:00
Fault fault: add optional fault insertion module 2011-12-30 23:05:39 -05:00
FirmwareIAP Merge branch 'next' into camera_stabilization 2011-07-30 10:06:10 +09:00
FlightPlan Initialize objects for guidance in the correct place. Init some objects in 2011-08-19 09:52:05 -05:00
GPS code style: move variable into function and free 1 byte of RAM :-) 2011-11-13 18:27:52 +02:00
Guidance Posix: fix object initialization where necessary 2011-08-19 18:36:30 +02:00
ManualControl UAVObjects ; Modules/ManualControl: Fixed metadata interface and segfault when retrieving it 2011-11-30 09:20:46 +01:00
MK/MKSerial OP-265 Flight reorganization of UAVObjects and Modules up a directory 2011-01-14 01:38:19 +00:00
Osd/OsdEtStd OP-174 ET OSD: barometric altitude works now, units must be set metric with E-Logger 2011-04-29 19:08:28 +03:00
Stabilization Stabilization fix typo 2011-09-12 11:56:01 -05:00
System bootfault: add support for recovery from init failures 2011-12-30 23:05:38 -05:00
Telemetry usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00