mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 00:21:35 +08:00
commented out instatntiation of driver since it will not be used with v6x
This commit is contained in:
@@ -18,7 +18,6 @@ CONFIG_DRIVERS_DIFFERENTIAL_PRESSURE_AUAV=y
|
|||||||
CONFIG_COMMON_DISTANCE_SENSOR=y
|
CONFIG_COMMON_DISTANCE_SENSOR=y
|
||||||
CONFIG_DRIVERS_DSHOT=y
|
CONFIG_DRIVERS_DSHOT=y
|
||||||
CONFIG_DRIVERS_GNSS_SEPTENTRIO=y
|
CONFIG_DRIVERS_GNSS_SEPTENTRIO=y
|
||||||
CONFIG_DRIVERS_GPIO_MCP23017=y
|
|
||||||
CONFIG_DRIVERS_GPS=y
|
CONFIG_DRIVERS_GPS=y
|
||||||
CONFIG_DRIVERS_IMU_BOSCH_BMI088=y
|
CONFIG_DRIVERS_IMU_BOSCH_BMI088=y
|
||||||
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20602=y
|
CONFIG_DRIVERS_IMU_INVENSENSE_ICM20602=y
|
||||||
@@ -100,4 +99,3 @@ CONFIG_SYSTEMCMDS_TUNE_CONTROL=y
|
|||||||
CONFIG_SYSTEMCMDS_UORB=y
|
CONFIG_SYSTEMCMDS_UORB=y
|
||||||
CONFIG_SYSTEMCMDS_VER=y
|
CONFIG_SYSTEMCMDS_VER=y
|
||||||
CONFIG_SYSTEMCMDS_WORK_QUEUE=y
|
CONFIG_SYSTEMCMDS_WORK_QUEUE=y
|
||||||
CONFIG_SYSTEMCMDS_GPIO=y
|
|
||||||
|
|||||||
@@ -33,4 +33,4 @@ then
|
|||||||
mcp23009 start -b 3 -X -D 0xf1 -O 0xf0 -P 0x0f -U 10
|
mcp23009 start -b 3 -X -D 0xf1 -O 0xf0 -P 0x0f -U 10
|
||||||
fi
|
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
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||||||
return ret;
|
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
|
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);
|
ret = mcp23017_register_gpios(2, 0x27, offset, pin_types);
|
||||||
@@ -297,7 +297,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||||||
if (ret != OK) {
|
if (ret != OK) {
|
||||||
led_on(LED_RED);
|
led_on(LED_RED);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
#endif /* !defined(BOOTLOADER) */
|
#endif /* !defined(BOOTLOADER) */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user