Commit Graph

282 Commits

Author SHA1 Message Date
Andrew Tridgell 0bef5a9dab Tools: added HolybroG4Compass board ID 2022-12-17 08:24:28 +11:00
MAD-CRAZY-MAN 0afebe66eb Tools: added ThePeach K1/R1 board types 2022-12-16 14:16:16 +11:00
MallikarjunSE e66f23f606 Tools: add board ID for Sierra F1 AP 2022-12-02 09:23:44 +11:00
Andrew Tridgell fc2090161b Tools: added board type for C-RTK2-HP 2022-11-30 10:01:15 +11:00
Andrew Tridgell 57fcb91f73 Tools: allocate 1086 for JumperXiake800 2022-11-26 21:28:43 +11:00
Peter Barker fc767c4f7f Tools: allocate a board ID for AP_HW_JFB100 2022-11-24 08:21:24 +11:00
xiao fad0c84297 Tools: reserve ID for PixPilot-V6 2022-11-22 07:37:42 +11:00
bugobliterator 3ec938fae6 waf: add dynamic source option to ap_stlib 2022-11-16 18:05:59 +11:00
bugobliterator 0b3197727a AP_Bootloader: use dronecan_dsdlc generated code instead 2022-11-16 18:05:59 +11:00
Andy Piper b9b08c79c5 AP_Bootloader: add board id for SpeedyBee F405 v3 2022-11-02 18:16:33 +00:00
Michael du Breuil b846bc9d77 AP_Bootloader: Add support for skipping the cleared flash check 2022-11-02 18:43:33 +11:00
alexklimaj e5cd25ff98 hwdef: ARKV6X 2022-10-24 07:27:11 +11:00
m.kerneis 094a4bdd1f AP_Bootloader: reserve board ID for JHEMCUGF16F405 2022-10-07 08:30:20 +11:00
Andrew Tridgell 2a7a7eef89 AP_Bootloader: use new check_limit_flash_1M()
use common function
2022-10-06 10:58:46 +11:00
AerofoxTech 19e24bc514 Tools: added AeroFix_PMU board ID 2022-09-29 15:15:36 +10:00
bugobliterator 10cd1b65c1 Tools: replace hardware id of HereID with Here3Plus 2022-09-27 08:48:48 +10:00
bugobliterator 2c90625291 AP_Bootloader: reserve board id for CubePilot CAN Module 2022-09-27 08:48:48 +10:00
Andrew Tridgell bc27db6a5b Tools: allocate board ID for AtomRCF405 2022-09-09 07:14:51 +10:00
AerofoxTech 0c459a69db Tools: add a board ID for AEROFOX_AIRSPEED 2022-09-05 12:36:11 +10:00
bugobliterator 5cd0105971 Tools: add LED notification for bad firmware 2022-08-30 10:51:06 +10:00
Peter Barker 18f3a6bc69 Tools: make HAL_FLASH_PROTECTION a boolean, stop checking for definition 2022-08-16 08:10:16 +10:00
Andrew Tridgell e60550a005 AP_Bootloader: use AP_CheckFirmware 2022-08-15 09:18:34 +10:00
Andrew Tridgell f6e233fb98 Tools: added ODID board types 2022-08-09 14:37:08 +10:00
xiao 084bae21ef HAL_ChibiOS: hwdef: MFE-PixSurveyA1 rename PixSurveyA1 2022-07-05 17:44:03 +10:00
xiao b1638f4e9d Tools: added MFE-PixSurveyA1 board ID 2022-07-05 17:44:03 +10:00
Tom Pittenger 1c9c1d7207 AP_Bootloader: add target SkystarsH7HD 2022-06-30 11:08:51 +10:00
Andy Piper 1b2043edac AP_Bootloader: add Foxeer Reaper F745 v2 2022-06-28 11:03:26 +10:00
Andrew Tridgell 2b03c49b49 AP_Bootloader: sync 6C board ID with px4 bootloader 2022-06-23 13:43:38 +10:00
Andy Piper f952fe8a37 AP_Bootloader: add MambaH743v4 board id 2022-06-08 21:44:21 +10:00
Sion Vaughan-Thomas 12e3206ddd Tools: added board IDs for GreenSight boards 2022-05-27 05:51:24 +10:00
bugobliterator 28f03e64bc AP_Bootloader: add CubeRed and CubeRed IO board types 2022-05-18 15:33:06 +10:00
Andrew Tridgell a27a76c4f5 Tools: added board IDs for FlyingMoon boards 2022-05-08 18:41:39 +10:00
QioTek f5bae62dbb Tools: added QioTekAdeptF427 and F407 board ID
Tools: added QioTekAdeptF427 and F407 board ID
2022-05-08 06:55:49 +10:00
QioTek 56513a0761 Tools: added QioTekAdeptF427 board ID
Tools: added QioTekAdeptF427 board ID
2022-04-12 23:32:28 +10:00
Andy Piper 64743b73ca AP_Bootloader: change timeout on external flash init 2022-04-12 09:19:45 +10:00
Lokesh Ramina e2313cccc4 Tools: added CarbonixF405 board ID
CarbonixF405 a new board added
2022-04-11 12:58:48 +10:00
bugobliterator 95b69ba1fd AP_Bootloader: add board type CubeOrangePlus 2022-03-20 07:23:10 -07:00
mateksys b3f7556ac2 Tools: add MatekL431 bootloader 2022-03-19 12:06:04 +11:00
bugobliterator 1f6c380f69 AP_Bootloader: add value for extra argument in encode methods 2022-03-11 18:13:54 +11:00
MallikarjunSE c690efb033 Tools: Rename board 2022-03-10 08:29:51 +11:00
Evgeniy 74bbf1bd9e Tools: BeastH7v2 board added 2022-03-02 15:46:17 +11:00
Andy Piper b32638b29e AP_Bootloader: allow flash to be unprotected from the bootloader 2022-02-24 10:19:07 +11:00
Andrew Tridgell 1ba5e33474 AP_Bootloader: fix for include changes 2022-02-22 12:13:19 +11:00
Andrew Tridgell 2c50ea56e8 AP_Bootloader: raise timeout on FileRead calls
this is needed to make it possible to update firmware over 56k SiK
radios using CAN_FRAME
2022-02-19 18:24:56 +11:00
Andrew Tridgell 16725f2dd4 AP_Bootloader: support ALT_BOARD_ID 2022-02-17 14:37:41 +11:00
Andrew Tridgell 432c2d1758 AP_Bootloader: support firmware update from px4 firmware
allows droncan_gui_tool to update px4 firmware with ArduPilot
bootloader
2022-02-17 14:37:41 +11:00
Andy Piper 10d99a52eb AP_Bootloader: allow external flash load in middle 2022-02-09 12:47:55 +00:00
Andy Piper f6c07df162 Tools: make CPUInfo test fairer, add data for external flash
fix CPUInfo on linux
make cache disabling optional in CPUInfo
2022-02-09 12:47:55 +00:00
Andrew Tridgell 4e6d3030b6 AP_Bootloader: fixed ID conflict
AP_HW_MRO_MAXXIUM seems to be unused
2022-01-25 15:13:59 +11:00
ot0tot 1a08a1e1a1 hwdef: add support for JHEMCU GSF405A 2022-01-19 18:31:05 +11:00
Andy Piper 891ffa7b8c AP_Bootloader: adjust board id of KakuteH7Mini 2022-01-11 10:58:55 +11:00
Andy Piper 99ad242dc6 bootloaders: add KakuteH7Mini 2022-01-11 10:58:55 +11:00
Andy Piper d1298c751b AP_Bootloader: add BeastF7v2 2022-01-05 18:50:41 +11:00
MallikarjunSE 02c0ff25c6 Tools: Reserve board id for SierraF412 2021-12-29 10:12:40 +11:00
mateksys ac49b2a3c8 Tools: add MatekF405-TE bootloader and autobuild 2021-12-22 18:47:37 +11:00
Andrew Tridgell 209fcf3cbb Tools: added CarbonixL496 board ID 2021-12-07 10:23:54 +11:00
Andrew Tridgell a311983a29 AP_Bootloader: fixed DSDL paths 2021-12-06 20:17:02 +11:00
bugobliterator c3be9f9eb3 AP_Bootloader: libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
MallikarjunSE bca7f519c2 Tools: reserve board id for sierra-F405 2021-11-16 12:53:00 +11:00
Andrew Tridgell a50120cec3 CAN: switched to DroneCAN DSDL and libuavcan 2021-10-23 21:13:07 +11:00
Andrew Tridgell aa5da9d20b Tools: added NucleoL476 board type 2021-10-17 20:30:20 +11:00
Andrew Tridgell eb87de2d63 Tools: added Sierra-L431 board type 2021-10-17 20:30:20 +11:00
Andrew Tridgell e0d23c6495 AP_Bootloader: sync with PX4 board types 2021-10-12 15:47:51 +11:00
Nicholas Weaver 1377c1b78f Tools: board_types.txt: reserve ID for ICSI_Kestrel
Developing a CM4-based carrier board, reserving a board ID.
2021-10-05 11:23:16 +11:00
bugobliterator 8a4b9c2b36 AP_Periph: add support for handling Notify State message 2021-09-30 08:52:27 +10:00
Andrew Tridgell 0a2ba2e28f Tools: added KakuteH7 board type 2021-09-29 18:11:04 +10:00
Pierre Kancir 768c7770e5 Tools: use correct #pragma GCC diagnostic pop 2021-09-29 17:27:29 +10:00
Andrew Tridgell 90bb0d6310 AP_Bootloader: support L496 MCUs 2021-09-24 18:08:00 +10:00
Andrew Tridgell 3d6e2e84f3 AP_Bootloader: added Hitec-Airspeed board type 2021-09-21 13:51:40 +10:00
Siddharth Purohit 7cf9db4cc9 AP_Bootloader: fix bootloader build issues 2021-09-01 17:10:53 +10:00
Siddharth Purohit 1afbf666ad AP_Bootloader: remove dependency on Semaphores in QSPIDevice 2021-09-01 17:10:53 +10:00
Siddharth Purohit fc4be3695f AP_Bootloader: add support for running from external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit 75bcc76189 AP_Bootloader: add support for flashing erasing and verifying ext flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit a1499f9593 AP_Bootloader: add support for erasing external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit edb590e055 AP_Bootloader: fix variable name for External flash support 2021-09-01 17:10:53 +10:00
Siddharth Purohit 8dff6dd27b AP_Bootloader: build FlashIface for bl with external flash support 2021-09-01 17:10:53 +10:00
Marcelo Rodrigues 92b179e0f3 AP_Bootloader: add SKYSTARSF405DJI 2021-08-27 08:54:37 +10:00
Marek S. Łukasiewicz 47f2e13024 HAL_ChibiOS: Add hwdef for BirdCANdy 2021-08-26 09:43:39 +10:00
bugobliterator 2970c865c8 AP_Bootloader: add HereID to board types 2021-08-25 10:09:23 +10:00
Andy Piper 6c26dd075b Tools: bootloader for FlywooF745Nano 2021-08-18 17:06:09 +10:00
Andrew Tridgell 751b901ed9 Tools: fixed printf format errors 2021-08-05 09:43:35 +10:00
Andrew Tridgell adb8e1fc7e Tools: added mRo-M10095 board type 2021-07-30 10:20:52 +10:00
Andrew Tridgell f507e85f10 Tools: added Nucleo-491 2021-07-30 10:20:52 +10:00
Andrew Tridgell cfdf91e18a AP_Bootloader: fixed G4 MCU descriptions 2021-07-30 10:20:52 +10:00
Peter Barker f20644b6cf board_types.txt: reserve ID for Argosdyne DP1000 2021-07-26 18:54:00 +10:00
Isaac Alich c84a880de4 Tools: Add Diatone MambaF405US-I2C 2021-07-25 09:28:17 +10:00
Siddharth Purohit 1af2453b54 AP_Bootloader: ignore cast alignment when reading from flash 2021-07-15 07:50:12 +10:00
Siddharth Purohit 6d76990c1e AP_Bootloader: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit 966e8cd1be AP_Bootloader: reserve board id for HerePro 2021-07-02 08:50:16 +10:00
Siddharth Purohit 35340bf7f2 AP_Bootloader: reserve board_type id for H757 EVAL board 2021-06-30 19:33:17 +10:00
QioTek 979b502d30 AP_Bootloader: added QioTekZealotH743 board type
AP_Bootloader: added QioTekZealotH743 board type
2021-06-15 18:50:24 +10:00
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
Andrew Tridgell 9c4a01e0b0 AP_Bootloader: speed up CAN fw load 2019-10-21 19:12:01 +11:00
Andrew Tridgell 92bd1a485a AP_Bootloader: added app descriptor checking for CAN fw 2019-10-21 19:12:01 +11:00
Andrew Tridgell 6ad762f727 AP_Bootloader: support app comms area for CAN fw update
this allows MissionPlanner to update firmware
2019-10-21 19:12:01 +11:00
Andrew Tridgell 4677dca834 AP_Bootloader: fixed uprintf() build 2019-10-21 19:12:01 +11:00
Andrew Tridgell 230a817539 AP_Bootloader: support ZubaxGNSS 2019-10-21 19:12:01 +11:00
Andrew Tridgell d9e3a01e57 Tools: fixed vsnprintf assumption in AP_Bootloader 2019-09-12 08:43:31 +10:00
Andrew Tridgell a42560ea27 AP_Bootloader: fixed CAN stay in bootloader functionality 2019-09-10 16:22:33 +10:00
Andrew Tridgell 3bc5458a82 AP_Bootloader: added CAN support for AP_Periph 2019-08-27 10:29:56 +10:00
Siddharth Purohit eabb93f842 AP_Bootloader: change to using serusbcfg1 2019-07-12 17:01:21 +10:00