samples: grove_light: remove whitelisting

Remove unnecessary whitelisting and fix boards to enable ADC instance
when ADC is configured in.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-13 08:49:41 -04:00
parent efb47ace39
commit 51cc6a4ffa
4 changed files with 21 additions and 2 deletions

View File

@ -9,6 +9,13 @@ if BOARD_NRF52840_BLIP
config BOARD
default "nrf52840_blip"
if ADC
config ADC_0
default y
endif # ADC
if USB
config USB_NRF52840

View File

@ -9,6 +9,13 @@ if BOARD_NRF52840_PAPYR
config BOARD
default "nrf52840_papyr"
if ADC
config ADC_0
default y
endif # ADC
if USB
config USB_NRF52840

View File

@ -49,6 +49,13 @@ config ETH_SAM_GMAC_MAC_I2C_EEPROM
endif # ETH_SAM_GMAC
if ADC
config ADC_0
default y
endif # ADC
if I2C
config I2C_0

View File

@ -2,8 +2,6 @@ sample:
name: Grove Light Sensor
tests:
sample.sensor.grove_light:
platform_whitelist: arduino_101_sss quark_d2000_crb
arduino_due
tags: drivers sensor grove light
harness: grove
depends_on: adc