Skip to content

Commit

Permalink
samples: nvs: Use depends_on to select platforms
Browse files Browse the repository at this point in the history
Removes the platform whitelist, leaving just the depends_on/supported
pattern to select which platforms the sample can run on.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  • Loading branch information
MaureenHelm authored and nashif committed Aug 25, 2018
1 parent f2662ac commit 9039d6f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions boards/arm/frdm_k64f/frdm_k64f.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ supported:
- netif:eth
- adc
- i2c
- nvs
- spi
- gpio
- usb_device
Expand Down
1 change: 1 addition & 0 deletions boards/arm/nrf51_pca10028/nrf51_pca10028.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ toolchain:
ram: 32
supported:
- ble
- nvs
1 change: 0 additions & 1 deletion samples/subsys/nvs/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ sample:

tests:
test:
platform_whitelist: nrf51_pca10028
tags: samples
depends_on: nvs

0 comments on commit 9039d6f

Please sign in to comment.