px4_fmu-v6x:Enable UAVCAN

This commit is contained in:
David Sidrane
2021-04-01 11:44:52 -07:00
committed by Lorenz Meier
parent c96ca0434e
commit 003ef59019
2 changed files with 9 additions and 2 deletions
+3 -2
View File
@@ -11,6 +11,7 @@ px4_add_board(
IO px4_io-v2_default
TESTING
UAVCAN_INTERFACES 2
UAVCAN_TIMER_OVERRIDE 2
ETHERNET
SERIAL_PORTS
GPS1:/dev/ttyS0
@@ -54,7 +55,7 @@ px4_add_board(
telemetry # all available telemetry drivers
test_ppm
tone_alarm
# uavcan - No H7 or FD can support in UAVCAN yet
uavcan
MODULES
airspeed_selector
attitude_estimator_q
@@ -114,7 +115,7 @@ px4_add_board(
sd_bench
serial_test
system_time
tests # tests and test runner
# tests # tests and test runner
top
topic_listener
tune_control
@@ -250,6 +250,12 @@
#define STM32_RCC_D3CCIPR_ADCSEL RCC_D3CCIPR_ADCSEL_PLL2
/* FDCAN 1 2 clock source */
#define STM32_RCC_D2CCIP1R_FDCANSEL RCC_D2CCIP1R_FDCANSEL_HSE /* FDCAN 1 2 clock source */
#define STM32_FDCANCLK STM32_HSE_FREQUENCY
/* FLASH wait states
*
* ------------ ---------- -----------