mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 06:51:56 +00:00
The driver can be tested using different networking emulation approaches. This approach will work across multiple Qemu instances. There can be more than one Qemu instance, run using the following command. They would appear to be on the same Ethernet network. $ qemu-system-arm -M lm3s6965evb \ -serial stdio \ -net nic \ -net socket,mcast=230.0.0.1:1234 \ -kernel zephyr.elf This approach will work with other virtualization technologies that support connecting to a VDE switch, like VirtualBox and User Mode Linux. The switch can be started using the following command. $ vde_switch --sock /tmp/switch Qemu can be connected to the switch using the following command. $ qemu-system-arm -M lm3s6965evb \ -serial stdio \ -net nic \ -net vde,sock=/tmp/switch \ -kernel zephyr.elf Signed-off-by: Fadhel Habeeb <fadhel@zilogic.com> Signed-off-by: Nirav Parmar <niravparmar@zilogic.com> Signed-off-by: Vijay Kumar B <vijaykumar@zilogic.com>
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Kconfig - Ethernet drivers configuration options
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menu "Ethernet Drivers"
|
|
|
|
if NET_L2_ETHERNET
|
|
module = ETHERNET
|
|
module-dep = LOG
|
|
module-str = Log level for Ethernet driver
|
|
module-help = Sets log level for Ethernet Device Drivers.
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
endif # NET_L2_ETHERNET
|
|
|
|
config ETH_INIT_PRIORITY
|
|
int "Ethernet driver init priority"
|
|
depends on NET_L2_ETHERNET
|
|
default 80
|
|
help
|
|
Ethernet device driver initialization priority.
|
|
Do not mess with it unless you know what you are doing.
|
|
Note that the priority needs to be lower than the net stack
|
|
so that it can start before the networking sub-system.
|
|
|
|
source "drivers/ethernet/Kconfig.enc28j60"
|
|
source "drivers/ethernet/Kconfig.mcux"
|
|
source "drivers/ethernet/Kconfig.dw"
|
|
source "drivers/ethernet/Kconfig.e1000"
|
|
source "drivers/ethernet/Kconfig.sam_gmac"
|
|
source "drivers/ethernet/Kconfig.stm32_hal"
|
|
source "drivers/ethernet/Kconfig.native_posix"
|
|
source "drivers/ethernet/Kconfig.stellaris"
|
|
|
|
endmenu
|