From e00b35e142f0a9b85277fa55a9c51a049d98e555 Mon Sep 17 00:00:00 2001 From: Daniel Mesham Date: Tue, 3 Oct 2023 09:17:25 +0200 Subject: [PATCH] boards: default to custom participant for uXRCE-DDS client on Skynode --- boards/px4/fmu-v5x/init/rc.board_defaults | 6 ++++++ boards/px4/fmu-v6x/init/rc.board_defaults | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/boards/px4/fmu-v5x/init/rc.board_defaults b/boards/px4/fmu-v5x/init/rc.board_defaults index 50402d17b235..2ff61617b9ed 100644 --- a/boards/px4/fmu-v5x/init/rc.board_defaults +++ b/boards/px4/fmu-v5x/init/rc.board_defaults @@ -18,6 +18,12 @@ param set-default SENS_EN_INA226 1 param set-default SYS_USE_IO 1 +if ver hwtypecmp V5X009000 V5X009001 V5X00a000 V5X00a001 V5X008000 V5X008001 V5X010001 +then + # Skynode: use the "custom participant" config for uxrce_dds_client + param set-default UXRCE_DDS_PTCFG 2 +fi + safety_button start # GPIO Expander driver on external I2C3 diff --git a/boards/px4/fmu-v6x/init/rc.board_defaults b/boards/px4/fmu-v6x/init/rc.board_defaults index ba812e4b7bfd..d277bd771cb9 100644 --- a/boards/px4/fmu-v6x/init/rc.board_defaults +++ b/boards/px4/fmu-v6x/init/rc.board_defaults @@ -18,4 +18,10 @@ param set-default SENS_EN_INA226 1 param set-default SYS_USE_IO 1 +if ver hwtypecmp V6X009010 V6X010010 +then + # Skynode: use the "custom participant" config for uxrce_dds_client + param set-default UXRCE_DDS_PTCFG 2 +fi + safety_button start