1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-03 11:24:10 +01:00
LibrePilot/flight/Bootloaders/BootloaderUpdater
Stacey Sheldon 3b0508e753 bu: check compatibility btw BL and HW before installing
CC and CC3D boards share the same FW image.  This is accomplished
by checking the BOARD_REVISION field in the board_info_blob
that is stored in the BL partition in flash as we init the FW.

Make sure that the BU image only writes a BL image that has
the same BOARD_TYPE and BOARD_REVISION fields in the embedded
image as the ones currently in flash on the board.

This ensures that we never write a CC3D BL image onto a CC board
and vice versa.  This check should prevent "bricking" a board.
2012-05-22 00:33:40 -04:00
..
inc Flight/Bootloadera - small cleaning up. Start of Bootloader Update firmware witch will enable users to update the Bootloader itself without JTAG. 2011-02-14 18:15:25 +00:00
main.c bu: check compatibility btw BL and HW before installing 2012-05-22 00:33:40 -04:00
Makefile board_hw_defs: factor out board-specific hw config definitions 2012-01-22 19:41:41 -05:00
pios_board.c Disable LEDs on the bootloader update as without knowing the particular 2012-05-04 08:53:14 -05:00