Implement reading firmware on Horus via USB (#5442)
commit975759284d9364a3eea0cf953035ad14f82b92ab
authorArne Schwabe <arne@rfc2549.org>
Mon, 18 Dec 2017 22:19:19 +0000 (18 23:19 +0100)
committerBertrand Songis <bsongis@gmail.com>
Mon, 18 Dec 2017 22:19:19 +0000 (18 23:19 +0100)
treef81cd48173a73202eb726ca2cdaf678088d3832b
parentd13e770ac46cce69a25244318382960bcf109c60
Implement reading firmware on Horus via USB (#5442)

* Add firmware lun target for non EEPROM platforms

* Fix Fat fat tables and make FAT 1024 byte big

* Niceify some constants

* Cleanup (saves 1024 byte of flash) and fix reporting wrong Size of drive

* Silence compiler warning, set right size for flash on X12/X10

* Add firmware.txt/bootload.txt to virtual drive that displays version information

* Report also version of other component (bootloader/firmware)

* Show version also in bootloader and fix F4 platforms

* Save space on X7

* Fix X7 logic

* Compile fix for AVR

* avr-gcc does not like no newline after ifdef

* Really fix avr
radio/src/opentx.h
radio/src/stamp.cpp
radio/src/targets/common/arm/stm32/usbd_storage_msd.cpp
radio/src/targets/horus/board.h
radio/src/targets/horus/stm32f4_flash.ld
radio/src/targets/taranis/bootloader/CMakeLists.txt
radio/src/targets/taranis/bootloader/boot.cpp
radio/src/targets/taranis/stm32f2_flash.ld
radio/src/targets/taranis/stm32f4_flash.ld
radio/util/fat12.py