Commit Graph

57788 Commits

Author SHA1 Message Date
David Buzz f1af8bae0d Tools: on esp32 force constants to single-precision like chibios port does. 2023-05-02 14:38:03 +10:00
Andrew Tridgell 775f12387c waf: added -g option to configure
this adds debug symbolds to the build without enabling other debug
code. This is needed for analysing watchdog crash dumps
2023-05-02 10:38:24 +10:00
Michael du Breuil 29556ade25 Tools: Support MAX_RPM autotest 2023-05-02 10:23:55 +10:00
Michael du Breuil 04b16d1a79 Copter: Support checking max rpm in the takeoff check 2023-05-02 10:23:55 +10:00
Michael du Breuil 3de912f2b8 AP_ESC_Telem: Add support for a max rpm check on the motors running check 2023-05-02 10:23:55 +10:00
Peter Barker f1be6df93e AP_IOMCU: honour AP_RCPROTOCOL_X_ENABLED 2023-05-02 10:19:50 +10:00
Peter Barker 18e55b9d6e AP_RCProtocol: add and use AP_RCPROTOCOL_SBUS_ENABLED 2023-05-02 10:19:50 +10:00
Peter Barker 0cab4c7ebf build_options.py: add AP_RCPROTOCOL_SBUS_ENABLED option 2023-05-02 10:19:50 +10:00
Henry Wurzburg e5336a8e9e AP_HAL_ChibiOS:correct KakauteH7 IMU label 2023-05-02 10:02:35 +10:00
davidsastresas de9024b633 AP_Mount: Siyi supports absolute zoom control
Co-authored-by: davidsastresas <davidsastresas@gmail.com>
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-05-02 10:00:38 +10:00
Iampete1 e613a2d812 Filter: examples: add SlewLimiter example to test functionality 2023-05-02 09:36:03 +10:00
Iampete1 ff4b63f9dc AP_Math: Chirp: add complete method to see if chirp is finished 2023-05-02 09:36:03 +10:00
Iampete1 8a4b30ec3f Filter: SlewLimiter: always caculate slew limit 2023-05-02 09:36:03 +10:00
Iampete1 4ca071045c Plane: move defualt attitude control to base class 2023-05-02 09:29:40 +10:00
Iampete1 6111e9d9db Plane: move Stabilize functions into mode 2023-05-02 09:29:40 +10:00
Tom Pittenger 61b184781a Tools: sim_vehicle to only launch one 1455x UDP port 2023-05-02 09:20:39 +10:00
Iampete1 bb80881c10 Plane: don't trigger RC failsafe until RC has been received for the first time 2023-05-02 09:11:18 +10:00
Andrew Tridgell 4a8eda0589 AP_HAL: default CAN_Px_DRIVER to 0 on SITL
having this default to 1 slows down SITL startup for a lot of people
due to the CAN wait for sensor delays. It is easy to enable it when
CAN is needed in SITL
2023-05-01 14:10:59 +10:00
James O'Shannessy 0dedc4bf74 AP_BattMonitor: Fixes the setting of a default parameter for battery instance #2 set in hwdef 2023-04-28 16:13:33 +10:00
bugobliterator fcb622c610 autotest: add test for lua modules 2023-04-28 12:36:08 +10:00
bugobliterator 684f96021d AP_Scripting: add tests for require 2023-04-28 12:36:08 +10:00
bugobliterator 306b14d8dc AP_Scripting: add require with sandbox inheritence 2023-04-28 12:36:08 +10:00
bugobliterator 350f718745 AP_HAL: don't include Semaphore headers while building C source 2023-04-28 12:36:08 +10:00
Michael du Breuil 24c5fe54df Plane: Support a long failsafe that goes straight to auto
This is very useful with an aircraft that is expected to be autonomously
operating in auto from takeoff to landing. It is convient to have a GCS
connected or RC, but the loss of either isn't considered a reason to
terminate the mission.
2023-04-28 09:37:12 +10:00
Andy Piper d69b8c2693 AP_HAL_ChibiOS: fix usage of ADC2 and ADC3 in STM32H730 2023-04-28 08:31:15 +10:00
Andy Piper e6c1897dd3 AP_HAL_ChibiOS: provide complete ADC2/ADC3 maps for STM32H750 and STM32H743
Fix dummy pin generation
2023-04-28 08:31:15 +10:00
Andy Piper d04f8fe655 CPUInfo: use HAL_XIP_ENABLED 2023-04-28 08:31:15 +10:00
Andy Piper 26c59349d5 AP_HAL_ChibiOS: use HAL_XIP_ENABLED to denote running in external flash 2023-04-28 08:31:15 +10:00
Andy Piper 5ff472208c ChibiOS: update to support STM32H730 and OCTOSPI flash 2023-04-28 08:31:15 +10:00
Andy Piper ff1661a8de AP_HAL_ChibiOS: use STM32_FLASH_NBANKS for flash actions 2023-04-28 08:31:15 +10:00
Andy Piper 5b43926d0a AP_HAL_ChibiOS: for H730/H750 running in XIP mode do not reset clocks
create mcuconf file for STM32H730 (type2)
allow OTG2 to be used as OTG1 on MCUs that need it
remove redundant OTG enablement
2023-04-28 08:31:15 +10:00
Andy Piper b75ff2e2ae AP_HAL_ChibiOS: allow only ADC2 to be used 2023-04-28 08:31:15 +10:00
Andy Piper ae04200fa0 ardupilotwaf: print linker memory map after linking on boards with external flash 2023-04-28 08:31:15 +10:00
Andy Piper 798fc05ba8 AP_HAL_ChibiOS: clean up linker map on H730 and H750
use regular ChibiOS RAM areas for RAM functions
exclude board.o from RAM functions and add some comments
use separate linker script for H750
use correct RAM area for process stack on H750/H743
update EXCLUDE items to put __early_init in flash on H730 and H750
optimize H730 ramfunc usage
2023-04-28 08:31:15 +10:00
Andy Piper 8b8f5eadd6 AP_HAL_ChibiOS: detect QSPI and OSPI separately for setting NO_RESET 2023-04-28 08:31:15 +10:00
Andy Piper fee853dc7d AP_HAL_ChibiOS: correct OSPI clock in WSPIDevice 2023-04-28 08:31:15 +10:00
Andy Piper 7516f04106 AP_HAL_ChibiOS: create two configurable non-cacheable memory areas for DMA 2023-04-28 08:31:15 +10:00
Andy Piper 1607e66977 AP_HAL_ChibiOS: prototype CubeMX configuration for H730 2023-04-28 08:31:15 +10:00
Andy Piper 48e1959737 CPUInfo: build fix on H7
don't disable data cache on STMH730 on CPUInfo
2023-04-28 08:31:15 +10:00
Andy Piper 7336f745dd AP_Bootloader: add H73x MCU ID and produce pretty output 2023-04-28 08:31:15 +10:00
Andy Piper 93e1859ba6 AP_HAL_ChibiOS: support is_busy() on WSPI device 2023-04-28 08:31:15 +10:00
Andy Piper ac8a94e655 AP_HAL: support is_busy() on WSPI device 2023-04-28 08:31:15 +10:00
Andy Piper c7c8e1a8a9 AP_FlashIface: support OctoSPI flash correctly 2023-04-28 08:31:15 +10:00
Andy Piper 74812291e9 bootloaders: add SPRacingH7RF bootloaders 2023-04-28 08:31:15 +10:00
Andy Piper bfcc84c4fa AP_Bootloader: add SPRacingH7RF board id 2023-04-28 08:31:15 +10:00
Andy Piper 19bda7818c AP_HAL: configure HAL_USE_QUADSPI and HAL_USE_OCTOSPI 2023-04-28 08:31:15 +10:00
Andy Piper edfb133375 AP_FlashIface: add support for OCTOSPI 8-line commands 2023-04-28 08:31:15 +10:00
Andy Piper bfc82f283b AP_Bootloader: allow OTG2 to be used as OTG1 on boards that need it 2023-04-28 08:31:15 +10:00
Andy Piper 8ef92805e1 AP_HAL_ChibiOS: support for OCTOSPI 2023-04-28 08:31:15 +10:00
Andy Piper c4d30879d2 AP_HAL_ChibiOS: hwdef for SPRacing H7RF 2023-04-28 08:31:15 +10:00