Commit Graph

57763 Commits

Author SHA1 Message Date
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
Andy Piper 61e70a5fb1 AP_HAL_ChibiOS: add support in hwdef for OCTOSPI 2023-04-28 08:31:15 +10:00
Andy Piper b5d7d06886 AP_HAL_Linux: QSPI -> WSPI 2023-04-28 08:31:15 +10:00
Andy Piper 11fba13dc8 AP_FlashIface: rename QSPIDevice to WSPIDevice 2023-04-28 08:31:15 +10:00
Andy Piper c0b008902f AP_HAL_SITL: rename QSPIDevice to WSPIDevice 2023-04-28 08:31:15 +10:00
Andy Piper eadee1ab8d AP_HAL_Empty: rename QSPIDevice to WSPIDevice 2023-04-28 08:31:15 +10:00
Andy Piper f8dd6a1b2a AP_HAL_ChibiOS: rename QSPIDevice to WSPIDevice 2023-04-28 08:31:15 +10:00
Andy Piper a73945c1b3 AP_HAL: rename QSPIDevice to WSPIDevice 2023-04-28 08:31:15 +10:00
Andy Piper cc086ab8d4 AP_HAL_ChibiOS: support for STM32H730xx MCUs
correct calculation of advanced timers
add support for linker script configuration in mcu config script
use linker script configuration for H750 and H730
add single OTG_HS support on H730 via OTG2
make sure complimentary channels get advanced timers
complemntary timers do not require advanced mode
allow custom clockspeeds of 550Mhz
correct debug pins on H730
support custom clockrate of 520Mhz on H730
correct H730 USB end point pins
restructure linker script for STM32H730
allow chibios_hwdef.py to set advanced timer on L431
don't define RAMFUNC on STM32H730
clock tree for STM32H730
create non-cacheable memory area for SDMMC DMA
don't look for RAM_MAP in bootloader with external flash
2023-04-28 08:31:15 +10:00
Rhys Mainwaring 09ee6b8651 Tools: update ROS 2 DDS topic names
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-04-28 07:37:04 +10:00
Rhys Mainwaring a654027a45 AP_DDS: update topic names
- Change to lower case and prefix with /ap

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-04-28 07:37:04 +10:00
pedro-fuoco 819431050a AP__DDS: update velocity topic name to follow #23603 2023-04-28 07:36:00 +10:00
pedro-fuoco 2298048079 AP_DDS: Add local velocity publisher 2023-04-28 07:36:00 +10:00
Peter Barker a6da1ac3bd Tools: add and use AP_RCPROTOCOL_CRSF_ENABLED 2023-04-27 18:31:30 +10:00
Peter Barker c50b996015 AP_RCTelemetry: add and use AP_RCPROTOCOL_CRSF_ENABLED 2023-04-27 18:31:30 +10:00
Peter Barker 6535bfa546 AP_RCProtocol: add and use AP_RCPROTOCOL_CRSF_ENABLED 2023-04-27 18:31:30 +10:00
Peter Barker dd549ee625 AP_RCProtocol: use defaults to turn off CRSF telem on IO firmware 2023-04-27 18:31:30 +10:00
Peter Barker 1f3aecf41b AP_HAL_ChibiOS: use defaults to turn off CRSF telem on IO firmware 2023-04-27 18:31:30 +10:00
Peter Barker 67f137736a autotest: fix disable-in-turn dependency issue 2023-04-27 13:44:36 +10:00
Peter Barker e89ccf1fa7 AP_RCProtocol: remove intermediate srxl2 callback-chain functions 2023-04-27 08:21:32 +10:00
Randy Mackay 294eb1db5b AP_Scripting: viewpro driver uses focus type and value 2023-04-26 22:55:47 +10:00
Randy Mackay edc2ea7bf6 AP_Scripting: camera state uses focus_type and focus_value 2023-04-26 22:55:47 +10:00
Randy Mackay d187368b33 RC_Channel: camera focus controls use set_focus 2023-04-26 22:55:47 +10:00
Randy Mackay 020a505d78 AP_Mount: set_focus replaces set_manual/auto_focus 2023-04-26 22:55:47 +10:00
Randy Mackay 2ff89498c5 AP_Camera: set_focus replaces set_manual/auto_focus 2023-04-26 22:55:47 +10:00
Peter Barker 926c7d64b1 AP_HAL_ChibiOS: add and use AP_BOOTLOADER_FLASHING_ENABLED 2023-04-26 22:55:36 +10:00