1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/Bootloaders/CopterControl
Stacey Sheldon 4d2760f11d cc bl: allow bootloader to force safe-boot into firmware
This can be used by the GCS firmware uploader widget to boot
the firmware with a (temporarily) defaulted hwsettings uavo
so that a user can easily recover from a bad/incompatible
hwsettings configuration without wiping all settings.

This uses the same mechanism that the BootFault auto-recovery
code already uses in the CC firmware.  The auto-recovery is
triggered by setting the failed-boot counter to a maximum
value forcing recovery on the next FW init.
2012-01-02 14:27:06 -05:00
..
inc usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00
main.c com: remove all references to PIOS_COM_ReceiveBufferUsed() 2012-01-02 14:27:06 -05:00
Makefile usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00
op_dfu.c cc bl: allow bootloader to force safe-boot into firmware 2012-01-02 14:27:06 -05:00
pios_board.c usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00
pios_usb_board_data.c usb: major refactoring of USB descriptors, CDC and HID 2012-01-02 14:27:06 -05:00