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:
parent
14aa67cbd1
commit
f163e11034
2 changed files with 16 additions and 0 deletions
11
tests/drivers/build_all/ethernet.conf
Normal file
11
tests/drivers/build_all/ethernet.conf
Normal 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
|
|
@ -11,3 +11,8 @@ extra_args = CONF_FILE=sensors.conf
|
||||||
build_only = true
|
build_only = true
|
||||||
tags = drivers footprint
|
tags = drivers footprint
|
||||||
extra_args = CONF_FILE=sensors_trigger.conf
|
extra_args = CONF_FILE=sensors_trigger.conf
|
||||||
|
|
||||||
|
[test_build_ethernet]
|
||||||
|
build_only = true
|
||||||
|
tags = drivers footprint
|
||||||
|
extra_args = CONF_FILE=ethernet.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue