Skip to content
Permalink
Browse files

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>
  • Loading branch information...
nashif committed Jun 13, 2019
1 parent efb47ac commit 51cc6a4ffa8a0f3f0dd8167db28b0fcedccfa37d
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 51cc6a4

Please sign in to comment.
You can’t perform that action at this time.