Commit Graph

54780 Commits

Author SHA1 Message Date
Andrew Tridgell 39595d36be AP_CheckFirmware: allow an unsigned bootloader to boot a signed firmware
this is important to provide an upgrade path for AP_Periph from
unsigned to signed. It means a bootloader with no public keys can
still check the board ID and CRCs of the signed firmware
2022-09-05 12:35:37 +10:00
Andrew Tridgell bf511640cf AP_CheckFirmware: added check_signed_bootloader() 2022-09-05 12:35:37 +10:00
Andrew Tridgell a92cb1017e AP_Periph: report unsigned bootloader flash attempt 2022-09-05 12:35:37 +10:00
Andrew Tridgell b79f3caf86 GCS_MAVLINK: report on unsigned bootloader flash attempt 2022-09-05 12:35:37 +10:00
Andrew Tridgell b74c9b5862 HAL_ChibiOS: protect against flashing bootloader without public keys 2022-09-05 12:35:37 +10:00
Andrew Tridgell a6c5e38c5a AP_HAL: added NOT_SIGNED error code 2022-09-05 12:35:37 +10:00
Andrew Tridgell 2c6418a920 AP_HAL: fixed linux build 2022-09-05 12:35:37 +10:00
Andrew Tridgell 1f4db8204b AP_CheckFirmware: support updating or removing public keys
this supports fetching, updating and removing public keys using the
SECURE_COMMAND mavlink operations. This will allow for vendors to
remotely hand over management of RemoteID security to new vendors
2022-09-05 12:35:37 +10:00
Andrew Tridgell 611f26f16c GCS_MAVLink: support SECURE_COMMAND 2022-09-05 12:35:37 +10:00
Andrew Tridgell 0388460c92 Tools: put ArduPilot keys first
makes key changing a bit easier for vendors
2022-09-05 12:35:37 +10:00
Andrew Tridgell 11b12cd4c8 Tools: reformat public keys
add newline to make it easier to compare keys with command line tools
2022-09-05 12:35:37 +10:00
Andrew Tridgell 7454822a8b Tools: added --debug option to build_bootloaders.py 2022-09-05 12:35:37 +10:00
Andrew Tridgell 029947efc7 AP_CheckFirmware: allow for boot if no public keys
this will allow for SECURE_UPDATE command to unlock bootloader
2022-09-05 12:35:37 +10:00
Andrew Tridgell ae55d7d902 mavlink: added SECURE_COMMAND 2022-09-05 12:35:37 +10:00
Peter Barker ae92c7d429 Tools: build_options.py: MODE_FOLLOW requires AC_AVOID 2022-09-05 09:06:33 +10:00
Peter Barker d682718768 Tools: correct test_build_options deps gathering
This was returning things upside-down, providing things that this thing depended on, rather than the things that depended on the feature
2022-09-05 09:06:33 +10:00
Andrew Tridgell 4bed47cbb0 AP_Periph: raise master version to 1.5 dev 2022-09-04 15:15:22 +10:00
Andrew Tridgell c5fb666b0f AP_Periph: release notes for 1.4.0 2022-09-04 15:14:27 +10:00
Iampete1 5a53e22886 Plane: correct extened range airspeed scailing limits 2022-09-04 10:54:41 +10:00
Henry Wurzburg 3610d36fce Tools: fix readme error for signing script 2022-09-04 07:29:38 +10:00
Peter Barker 045115de05 autotest: explicltly close filehandle with streamrate contents
Test sporadically failing on autotest server.
2022-09-03 11:28:10 +10:00
Peter Barker 1fcc7e6926 Tools: extract_features.py: add more feature defines/symbols 2022-09-02 23:08:04 +10:00
Peter Barker de77105df6 Tools: extract_features.py: include !FOUND features in output 2022-09-02 23:08:04 +10:00
Peter Barker e8589de75e build_options.py: add Flip mode 2022-09-02 23:08:04 +10:00
Henry Wurzburg 4b218bd3dc Tools: Completed adding build options to extract_features.py 2022-09-02 14:25:57 +10:00
Peter Barker f2ceb6b0a9 autotest: add a test for SIM_SHIP_ENABLE
trivial takeoff test in qloiter.

Will break with the default ship speed of 3.
2022-09-02 14:24:51 +10:00
Jeffrey Laut 3133aff352 SITL: fix simulated RC failure while receiving RC overrides 2022-09-02 12:08:34 +10:00
Leonard Hall 2165d19af1 Copter: PosHold: remove unnecessary loiter_nav->update 2022-09-02 10:55:48 +09:00
Peter Barker b580c873a8 AP_IOMCU: log number of errors reading status page 2022-09-02 11:16:52 +10:00
Peter Barker 605f42947e AP_IOMCU: log regardless of success reading status page 2022-09-02 11:16:52 +10:00
Peter Barker 0be9c83692 AP_IOMCU: break logging out as a method 2022-09-02 11:16:52 +10:00
Leonard Hall f3cd5a9a38 AC_PosControl: Fix slow target decay decay problem 2022-09-02 09:02:46 +09:00
Leonard Hall af54acd202 AC_WPNav: AC_Loiter: Fix loiter level bug 2022-09-02 09:02:46 +09:00
Peter Barker 67fd2b6856 Tools: build_options.py: correct dependency name for RANGEFINDER
RANGERFINDER vs RANGEFINDERS
2022-09-01 18:02:45 +10:00
Peter Barker a0bef487c1 Tools: build_options.py: correct msp airspeed feature name
this will now match a dependency nominating it
2022-09-01 18:02:45 +10:00
Peter Barker 02e9bf4503 Tools: test_build_options.py: improve dependency handling
autotest: use get_defines when testing in-turn

Not sure why the collection of dependencies was disabled here.

autotest: improve debug for invalid deps

Tools: add a first-pass to ensure deps are consistent
2022-09-01 18:02:45 +10:00
Andrew Tridgell 5c95716ed5 Tools: allow apj_tool.py --extract without having params 2022-09-01 15:20:10 +10:00
Andrew Tridgell 7fccdf3a55 Tools: fixed Holybro 6C UDB product ID 2022-09-01 15:20:10 +10:00
Leonard Hall 57e9e599f4 Copter: Payload Place: Improve touchdown test 2022-09-01 13:49:12 +09:00
Leonard Hall 4b20a2d5f1 Copter: Add control over throttle ramp time during take-off 2022-08-31 19:19:04 -04:00
Leonard Hall 4a12faea92 AC_PosControl: Make get_z_accel_cmss public 2022-08-31 19:19:04 -04:00
Mohammad Hefny a8bf2c0141 fix: baro same driver multi-definition 2022-09-01 08:39:43 +10:00
Peter Barker 1fea941fdb AC_Fence: correct compilation when fence compiled out 2022-09-01 08:25:55 +10:00
Peter Barker a9a3de8f20 AP_Logger: correct compilation when fence compiled out 2022-09-01 08:25:55 +10:00
Peter Barker 252588b9f8 Tools: understand elf is a known firmware file format 2022-08-31 22:51:06 +10:00
Pierre Kancir b6a5eb064c Tools: make hirsute and impish support EOL for env install and vagrant. 2022-08-31 17:07:03 +10:00
TunaLobster f28f5a1ad5 SRV_Channel: Add SRV fucntions for scaled RC passthrough 2022-08-31 17:05:39 +10:00
Iampete1 da5ec973c5 AP_Scripting: add error message buffer semaphore 2022-08-31 17:04:24 +10:00
Iampete1 e3931a6f56 AP_Scripting: add debug option to disable pre-arm 2022-08-31 17:04:24 +10:00
Iampete1 bbcb7b5827 AP_Scripting: move to common status text "Scripting:" prefix to save flash 2022-08-31 17:04:24 +10:00