From 15cc3b9a1dcd49d2b89919d4f44a245caf2b2b91 Mon Sep 17 00:00:00 2001 From: Phil-Engljaehringer Date: Thu, 30 Oct 2025 16:06:42 +0100 Subject: [PATCH] commented out instatntiation of driver since it will not be used with v6x --- boards/auterion/fmu-v6x/default.px4board | 2 -- boards/auterion/fmu-v6x/init/rc.board_defaults | 2 +- boards/auterion/fmu-v6x/src/init.cpp | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/boards/auterion/fmu-v6x/default.px4board b/boards/auterion/fmu-v6x/default.px4board index 6b463cd527..f77514fa8c 100644 --- a/boards/auterion/fmu-v6x/default.px4board +++ b/boards/auterion/fmu-v6x/default.px4board @@ -18,7 +18,6 @@ CONFIG_DRIVERS_DIFFERENTIAL_PRESSURE_AUAV=y CONFIG_COMMON_DISTANCE_SENSOR=y CONFIG_DRIVERS_DSHOT=y CONFIG_DRIVERS_GNSS_SEPTENTRIO=y -CONFIG_DRIVERS_GPIO_MCP23017=y CONFIG_DRIVERS_GPS=y CONFIG_DRIVERS_IMU_BOSCH_BMI088=y CONFIG_DRIVERS_IMU_INVENSENSE_ICM20602=y @@ -100,4 +99,3 @@ CONFIG_SYSTEMCMDS_TUNE_CONTROL=y CONFIG_SYSTEMCMDS_UORB=y CONFIG_SYSTEMCMDS_VER=y CONFIG_SYSTEMCMDS_WORK_QUEUE=y -CONFIG_SYSTEMCMDS_GPIO=y diff --git a/boards/auterion/fmu-v6x/init/rc.board_defaults b/boards/auterion/fmu-v6x/init/rc.board_defaults index 42ca20e6c2..9844919ab7 100644 --- a/boards/auterion/fmu-v6x/init/rc.board_defaults +++ b/boards/auterion/fmu-v6x/init/rc.board_defaults @@ -33,4 +33,4 @@ then mcp23009 start -b 3 -X -D 0xf1 -O 0xf0 -P 0x0f -U 10 fi -mcp23017 start -b 2 -X -D 0x0000 -O 0x0000 -P 0x0000 -U 10 -R 0x0000 +#mcp23017 start -b 2 -X -D 0x0000 -O 0x0000 -P 0x0000 -U 10 -R 0x0000 diff --git a/boards/auterion/fmu-v6x/src/init.cpp b/boards/auterion/fmu-v6x/src/init.cpp index e22130e7c1..1e9573a660 100644 --- a/boards/auterion/fmu-v6x/src/init.cpp +++ b/boards/auterion/fmu-v6x/src/init.cpp @@ -289,7 +289,7 @@ __EXPORT int board_app_initialize(uintptr_t arg) return ret; } - int offset = 8; // This is the offset for the naming of the instatiated GPIO-DEVICES. + /*int offset = 8; // This is the offset for the naming of the instatiated GPIO-DEVICES. uint16_t pin_types = 0x0000;// Set pin type. Set bit to 1 to mark pin as INPUT, set to 0 to mark as OUTPUT ret = mcp23017_register_gpios(2, 0x27, offset, pin_types); @@ -297,7 +297,7 @@ __EXPORT int board_app_initialize(uintptr_t arg) if (ret != OK) { led_on(LED_RED); return ret; - } + }*/ #endif /* !defined(BOOTLOADER) */