Commit Graph

91 Commits

Author SHA1 Message Date
Andrew Tridgell b6543e7a85 AP_Bootloader: added Holybro GPS board type 2021-06-01 09:19:51 +10:00
bugobliterator 23757c249e AP_Bootloader: free few bytes of flash as bootloader build overflew on devices with 16k flash 2021-05-26 17:26:05 +10:00
Peter Barker 8e61de37be Tools: board_types.txt: reallocate 1033 to Joey, take 1034 for SeriphGPS 2021-05-26 16:32:47 +10:00
Peter Barker 2109fae56a Tools: reserve a board ID for SierraF9PGPS 2021-05-20 14:17:45 +10:00
liang 891cc94577 AP_Bootloader: check VBUS for fast boot 2021-05-14 15:48:30 -07:00
climr b46f621fc6 AP_HAL_ChibiOS: add two new horizon31.com boards
PixC4-Pi and PixC4-Jetson
2021-05-14 12:04:29 +10:00
Andy Piper 1700ab814e AP_Bootloader: change id to AP range 2021-05-12 17:26:35 +10:00
Andy Piper 319a6404c4 Tools: add KakuteF4Mini to board types and scripts 2021-05-12 17:26:35 +10:00
bugobliterator 3edf26dff9 Bootloader: complete GET_DEVICE commands before allowing timeout reset 2021-05-12 17:21:14 +10:00
Andrew Tridgell 44eadb7291 AP_Bootloader: added FreeflyRTK board type 2021-05-09 06:44:19 +10:00
Andrew Tridgell de893a2530 Tools: allocate ID 1029 for luminousbee5
1028 will be the FreeflyRTK
2021-04-21 20:41:34 +10:00
Andrew Tridgell 22c936140e Tools: removed assert calls
these waste flash space and do not do us any good
2021-03-25 14:03:40 +11:00
Andrew Tridgell 188e3d6974 AP_Bootloader: save some flash space
gets our largest F4 bootloaders under 16k again
2021-03-23 12:01:20 +11:00
Andrew Tridgell 3590fe36e8 AP_Bootloader: support dual CAN 2021-03-23 12:01:20 +11:00
Andrew Tridgell af64b86c9e AP_Bootloader: support STM32G4 2021-03-23 12:01:20 +11:00
Lava Chemist e614c9eeb2 Tools: add bootloader and board types 2021-03-16 11:27:23 +11:00
Andrew Tridgell 0528414a9c AP_Bootloader: limit the 1M flash check to the F427
this fixes an issue with the DrotekP3Pro which uses the STM32F469
2021-02-28 17:24:25 +11:00
danlaks d244f22522 Tools: AP_Bootloader: Add AP_HW_SWBOOMBOARD_PERIPH identifier
SpektreWorks Boom Board AP_Periph device
2021-02-04 08:37:32 +11:00
auturgy 3b7207a5e4 Tools: Update board_types.txt
Cross-alignment with PX4, plus whitespace fixes
2021-01-01 17:31:44 +11:00
Andy Piper efb2e9f81a Tools: bootloader for iFlight Beast H7 AIO 2020-12-30 18:13:03 +11:00
Tom Pittenger 6bb2bec4f3 AP_Bootloader: add boardIDs for CubeORange/Black-periph, pixracer-periph 2020-12-29 07:52:39 -07:00
Tom Pittenger 84e578b3df AP_Bootloader: respect HAL_BOOTLOADER_TIMEOUT when CAN and SERIAL/USB is enabled 2020-12-18 16:35:57 +11:00
Andrew Tridgell e0e4198358 AP_Bootloader: fixed can bootloader with old UAVCAN GUI tool
the part that was failing was the write of the leading words. That
part is not actually needed in this bootloader as we use a CRC before
running, so remove it, which fixes the old windows GUI tool.

This also saves some memory and flash
2020-12-15 12:26:14 -08:00
Tom Pittenger f62a27ca8a Tools/AP_Bootloader: differentiate FAIL_REASON_BAD_LENGTH errors 2020-12-08 14:23:11 +11:00
Phillip Kocmoud 602388224b AP_Bootloader: Repurpose unused mRo board ID 2020-11-28 17:16:55 +11:00
Phillip Kocmoud f2c63e13be AP_Bootloader: Add 3 new mRo board IDs 2020-10-15 08:33:27 +11:00
QioTek da5da6b14e Tools: added Qiotek ZealotF427 board ID
add board id for Qiotek ZealotF427
2020-09-28 06:18:32 +10:00
Andrew Tridgell 246e790484 AP_Bootloader: use new hal CAN interface for CAN support 2020-09-24 12:32:19 +10:00
Siddharth Purohit 4bfd3c0782 AP_Bootloader: add support for HAL CANIface based bootloader 2020-09-24 12:32:19 +10:00
Siddharth Purohit b8e3d9c6e8 AP_Bootloader: add fail reason bad length 2020-09-24 12:32:19 +10:00
Siddharth Purohit 2edcd852eb AP_Bootloader: add support for app start offset 2020-09-24 12:32:19 +10:00
climr 918dfc13f7 Tools: Add Horizon31 PixC4 to board_types.txt 2020-08-10 13:33:32 +10:00
Peter Barker f8acc211cf Tools: AP_Bootloader: remove unused BL_WAIT_MAGIC define
This has been replaced with RTC_BOOT_HOLD
2020-06-23 09:16:42 +10:00
auturgy c4a92fb0fe Update board_types.txt
Update URL for ArduPilot board_types.txt
2020-06-18 14:49:57 +10:00
Andrew Tridgell 0efae38af0 Tools: updated PR instructions for board_types PRs 2020-06-17 14:24:22 +10:00
Andrew Tridgell 17e8e422db AP_Bootloader: added board_types.txt
avoiding pointing people at the old bootloader directory for board IDs
2020-06-17 14:16:47 +10:00
Andrew Tridgell 10d990a43b AP_Bootloader: refer to SERIAL_ORDER 2020-04-28 10:32:23 +10:00
Andrew Tridgell a74f2428f2 AP_Bootloader: fixed use of FLASH_RESERVE_END_KB 2020-04-14 10:02:51 +10:00
Andrew Tridgell c998f93949 AP_Bootloader: removed use of float in can code 2020-01-07 12:37:35 +11:00
Andrew Tridgell e62cf21ce6 AP_Bootloader: added more protection against line noisy triggering bootloader
this is in reponse to a report from Ryan of the Hybrid project who
found that mavlink on telem1 could make bootloader get stuck
2019-12-06 11:39:48 +11:00
Andrew Tridgell a6fbcc50fc AP_Bootloader: added STM32H7xx chip revisions 2019-11-25 21:52:45 +11:00
Andrew Tridgell 147cf900fe AP_Bootloader: support STM32F303 MCU 2019-11-01 10:53:53 +11:00
Andrew Tridgell e612ab92ff AP_Bootloader: added error codes for failing to load app
use the vendor code to indicate failure reason
2019-10-28 15:53:16 +11:00
Andrew Tridgell 31f7a62cdc AP_Bootloader: use crc32_small() 2019-10-28 15:53:16 +11:00
Andrew Tridgell dcc417f27b AP_Bootloader: use crc32_small() 2019-10-28 15:53:16 +11:00
Andrew Tridgell ec1060d4f8 AP_Bootloader: pre-define fields of app_descriptor
this is needed to store it in flash
2019-10-28 15:53:16 +11:00
Andrew Tridgell cc1f86e1f1 AP_Bootloader: use MAINTAINENCE mode for CAN bootloader
this makes it obvious we are in the bootloader
2019-10-26 15:32:10 +11:00
Andrew Tridgell c1ef2e29d7 AP_Bootloader: stay in CAN bootloader if in watchdog reset
if the app has not been running for at least 30s then stay in
bootloader to allow used to load new fw
2019-10-26 15:32:10 +11:00
Andrew Tridgell c08d37bd8f Tools: fixed build with --out directory for build_binaries 2019-10-25 09:35:27 +11:00
Andrew Tridgell 34e0ac51f5 AP_Bootloader: use APJ_BOARD_ID in hw major/minor 2019-10-25 09:35:27 +11:00