Skip to content

Commit

Permalink
drivers: sensors: nxp: kinetis: temp: select CONFIG_ADC
Browse files Browse the repository at this point in the history
The NXP Kinetis temperature sensor depends on CONFIG_ADC. Make the driver
Kconfig select CONFIG_ADC to get better CI coverage (enabling the driver
when CONFIG_SENSOR is enabled without depending on CONFIG_ADC=y).

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
(cherry picked from commit 0a49b78)
  • Loading branch information
henrikbrixandersen authored and github-actions[bot] committed May 21, 2024
1 parent 0e0cd2a commit 059d802
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/sensor/nxp_kinetis_temp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ config TEMP_KINETIS
bool "NXP Kinetis Temperature Sensor"
default y
depends on DT_HAS_NXP_KINETIS_TEMPERATURE_ENABLED
depends on (ADC && SOC_FAMILY_KINETIS)
depends on SOC_FAMILY_KINETIS
select ADC
help
Enable driver for NXP Kinetis temperature sensor.

Expand Down

0 comments on commit 059d802

Please sign in to comment.