Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: eth: Add native-sim support to native-posix Ethernet driver #63447

Merged

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Oct 3, 2023

This will enable Ethernet driver to be used when compiling for native-sim board.

@jukkar jukkar requested a review from aescolar October 3, 2023 12:05
@jukkar jukkar requested a review from rlubos October 3, 2023 12:05
@zephyrbot zephyrbot added area: native port Host native arch port (native_sim) area: Ethernet labels Oct 3, 2023
@jukkar jukkar force-pushed the native-sim-ethernet-support branch 2 times, most recently from 93d84e1 to 7db1060 Compare October 3, 2023 12:12
@jukkar jukkar force-pushed the native-sim-ethernet-support branch 3 times, most recently from a80d38c to 2627559 Compare October 3, 2023 13:02
@jukkar jukkar force-pushed the native-sim-ethernet-support branch 2 times, most recently from 82986f4 to f29abfa Compare October 4, 2023 08:21
@jukkar jukkar requested a review from nashif as a code owner October 4, 2023 08:21
@zephyrbot zephyrbot requested a review from ssharks October 4, 2023 08:22
As the automatic start requires that the zephyr exe is run as
a root user, it is somewhat cumbersome to use. Remove the script
support and require that the zeth device is created beforehand
by the net-setup.sh script found in net-tools zephyr project.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This application is no longer needed as we have removed
the automatic startup support which was used by this sample.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
@jukkar jukkar force-pushed the native-sim-ethernet-support branch from f29abfa to 56a2f44 Compare October 4, 2023 08:27
aescolar
aescolar previously approved these changes Oct 4, 2023
Remove the mention of startup script and update the documentation
to reflect the current way of working i.e., using net-setup.sh script
before starting the zephyr.exe process.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This will enable Ethernet driver to be used when compiling
for native-sim board.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
@carlescufi carlescufi merged commit c345f59 into zephyrproject-rtos:main Oct 20, 2023
20 checks passed
@jukkar jukkar deleted the native-sim-ethernet-support branch October 20, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants