From c6e7b8bae1be79df0aa5aaf592eac1f96966ed96 Mon Sep 17 00:00:00 2001 From: Peter van der Perk Date: Fri, 20 Aug 2021 17:16:00 +0200 Subject: [PATCH] [Kconfig] Fix SITL by adding rpm/rpm_simulator --- boards/px4/sitl/default.px4board | 1 + src/drivers/rpm/Kconfig | 4 +++- src/drivers/rpm/pcf8583/Kconfig | 5 ----- 3 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 src/drivers/rpm/pcf8583/Kconfig diff --git a/boards/px4/sitl/default.px4board b/boards/px4/sitl/default.px4board index 386812106d..a4e0229780 100644 --- a/boards/px4/sitl/default.px4board +++ b/boards/px4/sitl/default.px4board @@ -5,6 +5,7 @@ CONFIG_DRIVERS_CAMERA_CAPTURE=y CONFIG_DRIVERS_CAMERA_TRIGGER=y CONFIG_DRIVERS_GPS=y CONFIG_DRIVERS_PWM_OUT_SIM=y +CONFIG_DRIVERS_RPM_RPM_SIMULATOR=y CONFIG_DRIVERS_TONE_ALARM=y CONFIG_MODULES_AIRSHIP_ATT_CONTROL=y CONFIG_MODULES_AIRSPEED_SELECTOR=y diff --git a/src/drivers/rpm/Kconfig b/src/drivers/rpm/Kconfig index 052b0d4848..c4add0d44c 100644 --- a/src/drivers/rpm/Kconfig +++ b/src/drivers/rpm/Kconfig @@ -2,4 +2,6 @@ menuconfig DRIVERS_RPM bool "rpm" default n ---help--- - Enable support for rpm \ No newline at end of file + Enable support for rpm + +rsource "*/Kconfig" diff --git a/src/drivers/rpm/pcf8583/Kconfig b/src/drivers/rpm/pcf8583/Kconfig deleted file mode 100644 index 7ceb228e73..0000000000 --- a/src/drivers/rpm/pcf8583/Kconfig +++ /dev/null @@ -1,5 +0,0 @@ -menuconfig DRIVERS_RPM_PCF8583 - bool "pcf8583" - default n - ---help--- - Enable support for pcf8583 \ No newline at end of file