1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/OpenPilot/System/inc
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
..
alarms.h Modified flight alarm code to set SystemAlarms to an "Uninitialised" value on startup. 2010-12-27 07:30:36 +00:00
FreeRTOSConfig.h Also enable malloc error catching on OpenPilot 2011-08-27 00:12:16 -05:00
op_config.h Doxygen work: created "OpenPilot System" group for system libraries and core files. Changed a typo on the Osd Doxygen. Let me know if you're OK with this approach. 2010-07-28 07:28:21 +00:00
openpilot.h Flight/TaskMonitor: Create TaskMonitor library, used to monitor the remaining task size of all running tasks. 2011-01-08 23:43:34 +00:00
pios_board_posix.h PiOS.posix: small corrections and bugfixes to make pios_com_udp work correctly. Telemetry works now. 2011-08-14 14:21:54 +02:00
pios_config_posix.h Merge branch 'next' into os/GPS-on-CopterControl_next_v2 2011-10-22 23:00:47 +03:00
pios_config.h usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00
pios_usb_board_data.h usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00
taskmonitor.h Flight/FlightPlan: Enable Python VM and test flightplan execution. From now on a Python executable needs to be in the system path as it is used in the Makefile. 2011-01-19 03:34:01 +00:00