samples: Use DT_ prefix define for DT filters

Update the filters that are extracting info from DT to use a define that
has a DT_ prefix so its clear that its coming from DT_.  Also this lets
us remove any non-DT prefixed defines in the conf db.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-02-08 16:19:44 -06:00 committed by Kumar Gala
parent 74f9901b8d
commit 1f68831197
6 changed files with 8 additions and 12 deletions

View file

@ -3,6 +3,5 @@ sample:
tests:
test:
tags: LED gpio
# The filters below are from DTS
filter: LED0_GPIO_CONTROLLER
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER
depends_on: gpio

View file

@ -3,6 +3,5 @@ sample:
tests:
test:
tags: button gpio
# The filters below are from DTS
filter: SW0_GPIO_CONTROLLER
filter: DT_GPIO_KEYS_SW0_GPIO_CONTROLLER
depends_on: gpio

View file

@ -2,6 +2,5 @@ sample:
name: Disco Lights
tests:
test:
# The filters below are from DTS
filter: LED0_GPIO_CONTROLLER and LED1_GPIO_CONTROLLER
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_LEDS_LED1_GPIO_CONTROLLER
tags: LED gpio

View file

@ -2,7 +2,8 @@ sample:
name: RGB LED
tests:
test:
# The filters below are from DTS
filter: RED_PWM_LED_PWM_CONTROLLER
filter: DT_PWM_LEDS_RED_PWM_LED_PWM_CONTROLLER and
DT_PWM_LEDS_GREEN_PWM_LED_PWM_CONTROLLER and
DT_PWM_LEDS_BLUE_PWM_LED_PWM_CONTROLLER
tags: drivers pwm
depends_on: pwm

View file

@ -5,5 +5,4 @@ sample:
tests:
test:
tags: kernel threads gpio
# The filters below are from DTS
filter: LED0_GPIO_CONTROLLER and LED1_GPIO_CONTROLLER
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_LEDS_LED1_GPIO_CONTROLLER

View file

@ -3,8 +3,7 @@ sample:
tests:
test:
tags: drivers
# The filters below are from DTS
filter: LED0_GPIO_CONTROLLER and SW0_GPIO_CONTROLLER
filter: DT_GPIO_LEDS_LED0_GPIO_CONTROLLER and DT_GPIO_KEYS_SW0_GPIO_CONTROLLER
harness: console
harness_config:
type: one_line