1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
LibrePilot/flight
Stacey Sheldon dab400c80d usb: decouple "available" from "cable connected"
The bootloader needs to understand whether the USB cable
is connected.  The HID and CDC drivers need to know if
the cable is connected _and_ the device has been enumerated
already.  Separate these two concepts in the API.

Combining these was resulting in the BL not properly
detecting that the cable was plugged in, and trying to boot
the firmware image immediately.  This effectively bricked
the board if you ever had an invalid firmware image.

It also happens to be the case that the BU images automatically
invalidate themselves after updating the BL so they don't run
again.  The cable detect bug + this intended behaviour of the
BU image resulted in a bricked board after upgrading the BL.
2012-05-22 00:21:24 -04:00
..
board_hw_defs hid+vcp: change default USB descriptor to HID+VCP 2012-05-19 16:06:30 -04:00
Bootloaders usb serial: refactor serial number construction 2012-05-19 16:15:47 -04:00
CopterControl usb serial: refactor serial number construction 2012-05-19 16:15:47 -04:00
Doc OP-378 INS: Continue getting F2 INS to compile 2011-08-08 08:36:40 -05:00
EntireFlash ef: pad any gaps between the BL bank and the FW bank 2012-04-01 22:39:27 -04:00
Libraries Merge branch 'next' into revolution3 2012-01-21 11:27:03 -06:00
Modules Merge branch 'next' into cc3d 2012-05-03 16:31:49 -05:00
OpenPilot/System Improved comment message, aimed at beginners. 2012-04-20 17:10:16 -04:00
PiOS usb: decouple "available" from "cable connected" 2012-05-22 00:21:24 -04:00
PiOS.posix exti: rewrite exti layer to improve portability 2012-01-22 23:23:41 -05:00
PiOS.win32 Fix win32 sim macro problem 2011-09-01 21:50:13 -04:00
PipXtreme usb serial: refactor serial number construction 2012-05-19 16:15:47 -04:00
Project hid+vcp: Add Windows INF file for CDC on OpenPilot boards 2012-05-19 16:06:43 -04:00
Revolution Make revolution work with the FreeRTOS queue based MPU6000 driver 2012-04-03 03:41:52 -05:00
UAVObjects Merge branch 'next' into cc3d 2012-05-03 16:31:49 -05:00
UAVTalk uavtalk: convert tx to use blocking send routines 2011-12-30 23:05:36 -05:00
README.txt Says all it needs to say for now. 2009-12-22 05:07:27 +00:00

Check the wiki