Commit Graph

30379 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
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
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
Jeffrey Laut
3133aff352 SITL: fix simulated RC failure while receiving RC overrides 2022-09-02 12:08:34 +10: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
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
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
Iampete1
e2c29b09ab AP_Scripting: add arming check for failed scripts 2022-08-31 17:04:24 +10:00
Iampete1
c5c09860da AP_Arming: move scripting checks to scripting 2022-08-31 17:04:24 +10:00
Andrew Tridgell
d7710e5ccf HAL_ChibiOS: make it easy to debug secure boot on Nucleo-G491 2022-08-31 10:14:25 +10:00
Shiv Tyagi
8bd26dffac AC_PrecLand: rotate target vector based on sensor orient
Since, the frontend takes care of rotating sensor frame target vector to body frame, the  sitl backend should return unit
vector in sensor frame instead of body frame. This is to have homogeneity among backends.
2022-08-30 03:44:26 -04:00
Shiv Tyagi
bc3ff20871 AC_PrecLand: add _ORIENT param to precland library
The orient parameter will help us construct a direction of approach vector in vehicle body frame. This vector would help
us rotate the target vector from sensor frame to body frame and determine the horizontal position error of vehicle for
more orientations than just PITCH_270
2022-08-30 03:44:26 -04:00
esaldiran
bbeef1a5cd AC_CustomControl: add README 2022-08-30 13:10:09 +10:00
esaldiran
618164fea4 AC_CustomControl: add PID backend 2022-08-30 13:10:09 +10:00
esaldiran
8eeb4227f7 RC_Channel: add custom controller aux func 2022-08-30 13:10:09 +10:00
esaldiran
4abb6725a8 AC_CustomControl: add empty controller backend as a template 2022-08-30 13:10:09 +10:00
esaldiran
c5787a0165 AC_CustomControl: add custom controller support 2022-08-30 13:10:09 +10:00
Andrew Tridgell
13453f705e AP_RPM: added AP_Generator support
useful for notch filtering of generator vibration
2022-08-30 10:53:45 +10:00
Andrew Tridgell
a06d163ef0 GCS_MAVLink: refuse DFU for secure firmware 2022-08-30 10:51:06 +10:00
Andrew Tridgell
b808351f2a hwdef: enable DFU on some boards 2022-08-30 10:51:06 +10:00
bugobliterator
cee8a638f8 AP_HAL: set default HAL_ENABLE_DFU_BOOT 2022-08-30 10:51:06 +10:00
bugobliterator
eb116849c6 AP_HAL_ChibiOS: add LED Bootloader in CubeOrange and related boards 2022-08-30 10:51:06 +10:00
bugobliterator
f31d915e14 GCS_MAVLink: add support for booting into dfu 2022-08-30 10:51:06 +10:00
bugobliterator
441ce2e593 AP_HAL: add util method boot_to_dfu() 2022-08-30 10:51:06 +10:00
Andrew Tridgell
c70643f0e7 AP_CheckFirmware: added monocypher 2022-08-30 10:51:06 +10:00
bugobliterator
d434038b26 AP_CheckFirmare: add support for signed firmwares 2022-08-30 10:51:06 +10:00
bugobliterator
0c78f8bac2 AP_HAL_ChibiOS: add support for booting into DFU 2022-08-30 10:51:06 +10:00
Henry Wurzburg
d420ba0edd HWDEF: correct default params file and readme for SPR H7 2022-08-30 10:27:25 +10:00
Randy Mackay
2bcb503170 AP_Mount: allow users to disable yaw on 3-axis gimbals
Also fixes 3-axis gimbal support for SToRM32 serial and MAVLink gimbals
2022-08-30 10:05:09 +10:00
Andy Piper
a560d1f2cc AP_Vehicle: update notch count. 2022-08-30 10:03:31 +10:00
Andy Piper
28d0086a97 AP_ESC_Telem: don't provide zero udpates for ESCs that have never been used 2022-08-30 10:03:31 +10:00
Andy Piper
acb318fcab AP_HAL_ChibiOS: rename KakuteH7Miniv2 to kakuteH7Mini-Nand 2022-08-30 09:52:41 +10:00
Joshua Henderson
a93b887f5f AP_BattMonitor: move read_block up to SMBus base class 2022-08-30 09:09:54 +10:00
Iampete1
fb86318848 AC_Fence: always declare AC_PolyFenceItem 2022-08-30 09:07:27 +10:00