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:
parent
efb47ace39
commit
51cc6a4ffa
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user