1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
LibrePilot/flight/OpenPilot
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
..
Modules OP-121 OP-122 Flight: Improved USB HID communication. 2010-08-25 05:32:52 +00:00
System Merge branch 'watchdog' 2010-08-13 05:18:17 +00:00
Tests 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
UAVObjects OP-103, UAVObject update. 2010-08-25 00:55:15 +00:00
UAVTalk 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
Makefile OP-121 OP-122 Flight: Improved USB HID communication. 2010-08-25 05:32:52 +00:00
Makefile.posix Added ManualControl to the win32 and posix makefiles. Also fixed a compiler error about "No newline at end of file." 2010-08-23 00:52:56 +00:00
Makefile.win32 Added ManualControl to the win32 and posix makefiles. Also fixed a compiler error about "No newline at end of file." 2010-08-23 00:52:56 +00:00