mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: add support for driving profileds via safety pins
This commit is contained in:
parent
4cbc4dfe34
commit
d348ffbff9
|
@ -19,4 +19,6 @@ IMU Invensensev2 SPI:icm20948_ext ROTATION_PITCH_180
|
|||
IMU Invensense SPI:mpu9250 ROTATION_YAW_270
|
||||
|
||||
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
|
||||
|
|
|
@ -102,8 +102,9 @@ define HAL_IMU_TEMP_MARGIN_LOW_DEFAULT 5
|
|||
|
||||
# default the 2nd interface to SLCAN
|
||||
define HAL_OTG2_PROTOCOL SerialProtocol_SLCAN
|
||||
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_dshot_highpolh.bin
|
||||
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin
|
||||
ROMFS io_firmware_dshot.bin Tools/IO_Firmware/iofirmware_cube_dshot_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
|
||||
define HAL_WITH_IO_MCU_DSHOT 1
|
||||
|
|
|
@ -296,12 +296,14 @@ define HAL_GPIO_PWM_VOLT_3v3 1
|
|||
# we can automatically update the IOMCU firmware on boot. The format
|
||||
# is "ROMFS ROMFS-filename source-filename". Paths are relative to the
|
||||
# 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
|
||||
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 AP_IOMCU_PROFILED_SUPPORT_ENABLED 1
|
||||
|
||||
DMA_NOSHARE SPI1* SPI4* USART6*
|
||||
|
||||
# for users who have replaced their CubeSolo with a CubeOrange:
|
||||
|
|
|
@ -445,9 +445,10 @@ STORAGE_FLASH_PAGE 1
|
|||
# we can automatically update the IOMCU firmware on boot. The format
|
||||
# is "ROMFS ROMFS-filename source-filename". Paths are relative to the
|
||||
# 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
|
||||
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 AP_IOMCU_PROFILED_SUPPORT_ENABLED 1
|
||||
|
|
Loading…
Reference in New Issue