AP_HAL_ChibiOS: add support for driving profileds via safety pins

This commit is contained in:
bugobliterator 2024-09-17 15:26:53 +10:00 committed by Andrew Tridgell
parent 4cbc4dfe34
commit d348ffbff9
4 changed files with 13 additions and 7 deletions

View File

@ -19,4 +19,6 @@ IMU Invensensev2 SPI:icm20948_ext ROTATION_PITCH_180
IMU Invensense SPI:mpu9250 ROTATION_YAW_270 IMU Invensense SPI:mpu9250 ROTATION_YAW_270
undef ROMFS undef ROMFS
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_cube_highpolh.bin
define AP_IOMCU_PROFILED_SUPPORT_ENABLED 1

View File

@ -102,8 +102,9 @@ define HAL_IMU_TEMP_MARGIN_LOW_DEFAULT 5
# default the 2nd interface to SLCAN # default the 2nd interface to SLCAN
define HAL_OTG2_PROTOCOL SerialProtocol_SLCAN define HAL_OTG2_PROTOCOL SerialProtocol_SLCAN
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_dshot_highpolh.bin ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_cube_dshot_highpolh.bin
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_cube_highpolh.bin
define AP_IOMCU_PROFILED_SUPPORT_ENABLED 1
# enable support for dshot on iomcu # enable support for dshot on iomcu
define HAL_WITH_IO_MCU_DSHOT 1 define HAL_WITH_IO_MCU_DSHOT 1

View File

@ -296,12 +296,14 @@ define HAL_GPIO_PWM_VOLT_3v3 1
# we can automatically update the IOMCU firmware on boot. The format # we can automatically update the IOMCU firmware on boot. The format
# is "ROMFS ROMFS-filename source-filename". Paths are relative to the # is "ROMFS ROMFS-filename source-filename". Paths are relative to the
# ardupilot root. # ardupilot root.
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_cube_highpolh.bin
# enable support for dshot on iomcu # enable support for dshot on iomcu
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_dshot_highpolh.bin ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_cube_dshot_highpolh.bin
define HAL_WITH_IO_MCU_DSHOT 1 define HAL_WITH_IO_MCU_DSHOT 1
define AP_IOMCU_PROFILED_SUPPORT_ENABLED 1
DMA_NOSHARE SPI1* SPI4* USART6* DMA_NOSHARE SPI1* SPI4* USART6*
# for users who have replaced their CubeSolo with a CubeOrange: # for users who have replaced their CubeSolo with a CubeOrange:

View File

@ -445,9 +445,10 @@ STORAGE_FLASH_PAGE 1
# we can automatically update the IOMCU firmware on boot. The format # we can automatically update the IOMCU firmware on boot. The format
# is "ROMFS ROMFS-filename source-filename". Paths are relative to the # is "ROMFS ROMFS-filename source-filename". Paths are relative to the
# ardupilot root # ardupilot root
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_cube_highpolh.bin
# enable support for dshot on iomcu # enable support for dshot on iomcu
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_dshot_highpolh.bin ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_cube_dshot_highpolh.bin
define HAL_WITH_IO_MCU_DSHOT 1 define HAL_WITH_IO_MCU_DSHOT 1
define AP_IOMCU_PROFILED_SUPPORT_ENABLED 1