Commit Graph

54851 Commits

Author SHA1 Message Date
Peter Barker 84509a4f7d Tools: extract_features: factor slightly to allow better use as library 2022-09-06 10:33:22 +10:00
Randy Mackay 38665a7935 Copter: fix do-mount-control yaw scaling 2022-09-06 10:17:34 +10:00
Peter Barker 7244cd361d Tools: build_ci.sh: build with no/all options enabled
More chance of catching problems, and these are relatively cheap
2022-09-06 09:37:20 +10:00
Willian Galvani 5ed2785dfa AP_HAL_Linux: create GPIO_Navigator 2022-09-06 09:34:07 +10:00
Willian Galvani 710cbacef7 RCOutput_PC9685: refactor write/write_gpio 2022-09-06 09:34:07 +10:00
Willian Galvani 603bc5ecce RCOutput_PCA9685: implement gpio methods 2022-09-06 09:34:07 +10:00
Willian Galvani 018ab14814 RC_Output.h: add gpio methods 2022-09-06 09:34:07 +10:00
Andy Piper d82ba1b7a3 AP_HAL_ChibiOS: use faster SPI clock for BMI270 on MambaH743 and KakuteH7v2 2022-09-06 09:31:21 +10:00
Andy Piper fcbaa0969e AP_InertialSensor: synchronize BMI70 on fifo reads 2022-09-06 09:31:21 +10:00
Iampete1 6358a3c962 Plane: add min airspeed arming check and constrain for speed scailing 2022-09-06 09:01:26 +10:00
Henry Wurzburg d31f6c2f57 AP_GPS: remove incorrect build option on GPS_DRV_OPTIONS param 2022-09-05 12:48:51 +10:00
AerofoxTech 0c459a69db Tools: add a board ID for AEROFOX_AIRSPEED 2022-09-05 12:36:11 +10:00
AerofoxTech b9b158216b hwdef: add AeroFox Airspeed periph 2022-09-05 12:36:11 +10:00
Andrew Tridgell f8b1169165 HAL_ChibiOS: rename ecc_raw to apsec_data 2022-09-05 12:35:37 +10:00
Andrew Tridgell 36e9f9b7d1 AP_CheckFirmware: rename secure data to apsec_data 2022-09-05 12:35:37 +10:00
Andrew Tridgell 5f8f8cf220 Tools: update signing docs 2022-09-05 12:35:37 +10:00
Andrew Tridgell ddf770330d CI: added test of signed firmware builds 2022-09-05 12:35:37 +10:00
Andrew Tridgell f899a47429 HAL_ChibiOS: removed debug msg 2022-09-05 12:35:37 +10:00
Andrew Tridgell 30ed94c73c hwdef: disable UARTS in MatekL431 bootloader
this saves a lot of flash, and UARTs are not needed in the
bootloader. It means we can fit a bootloader with signing for ESC
based RemoteID support
2022-09-05 12:35:37 +10:00
Andrew Tridgell b55ee297d8 waf: allow setting signing key as part of configure with --private-key
makes for faster development with signed bootloaders
2022-09-05 12:35:37 +10:00
Andrew Tridgell 1fab01951a AP_Periph: build fix 2022-09-05 12:35:37 +10:00
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