tests: Add ethernet drivers to drivers/build_all

Extend the driver build_all tests to include a test for ethernet
drivers.

Change-Id: I2b01d547001d3fae45cda3bc95a74c35fd75ab2b
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-11 10:40:44 +01:00 committed by Anas Nashif
commit f163e11034
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,11 @@
CONFIG_NETWORKING=y
CONFIG_ETHERNET=y
# No board will enable the generic SPI hosted enc28j60 driver by
# default, force it on:
CONFIG_SPI=y
CONFIG_ETH_ENC28J60=y
CONFIG_ETH_ENC28J60_0=y
CONFIG_ETH_ENC28J60_0_MAC2=0x02
CONFIG_ETH_ENC28J60_0_MAC3=0xde
CONFIG_ETH_ENC28J60_0_MAC4=0xad

View file

@ -11,3 +11,8 @@ extra_args = CONF_FILE=sensors.conf
build_only = true
tags = drivers footprint
extra_args = CONF_FILE=sensors_trigger.conf
[test_build_ethernet]
build_only = true
tags = drivers footprint
extra_args = CONF_FILE=ethernet.conf