change fmu-v5's uavcan timer5 to timer6

This commit is contained in:
honglang
2021-06-07 14:31:56 +08:00
committed by Lorenz Meier
parent 00229c4fd2
commit 8b1d2b8551
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ px4_add_board(
ROMFSROOT px4fmu_common
IO px4_io-v2_default
UAVCAN_INTERFACES 2
UAVCAN_TIMER_OVERRIDE 6
SERIAL_PORTS
GPS1:/dev/ttyS0
TEL1:/dev/ttyS1
+3
View File
@@ -52,6 +52,9 @@ if(CONFIG_ARCH_CHIP)
elseif(${CONFIG_ARCH_CHIP} MATCHES "stm32")
set(UAVCAN_DRIVER "stm32")
set(UAVCAN_TIMER 5) # The default timer is TIM5
if (DEFINED config_uavcan_timer_override)
set (UAVCAN_TIMER ${config_uavcan_timer_override})
endif()
endif()
endif()