-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Ethernet with STM NUCLEO-F429ZI #3878
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
Comments
There is preliminary support for ETH in PR #3808. It gets ETH working with two F7 boards. It should be pretty straightforward to take that PR and add support for the NUCLEO-F429ZI, it just requires updating the board config files. |
thanks dpgeorge so much for your help ,as i will start updating the board config files , |
The "usual" way of using networking in MicroPython should just work with the Ethernet, see eg http://docs.micropython.org/en/latest/pyboard/library/network.html#module-network For example: import network
eth = network.Ethernet()
eth.active(1)
eth.ifconfig('dhcp')
import socket
socket.getaddrinfo('micropython.org', 80) # should return the correct IP address of this site |
But when i write eth = network.Ethernet() in the serial prompt i get this error : |
You need to make sure you have pulled the PR #3808 and in the config file for your new board put |
i made all the changes in the config files and when i run the make command i got these errors but i managed to solve these errors by changing the address but when i tried to write: is there is a specific way to connect to the Ethernet or my approach to solve the above errors (from make command) was wrong |
That sounds correct.
I'm not sure what is wrong here. If you can please post your code (all the additional files you added and any changes you made to existing files) then it will be easier to debug it. |
thank you @dpgeorge for your help as i managed to solve the problem by writing these two commands to get the firmware: and upload it normally to the board |
Fomu fixes for 6.0.0
Hi everyone, import network Do you have any advice? Cheers |
Hello,
I would like to ask if the Ethernet connection is supported with STM NUCLEO-F429ZI ?
If it is supported is there is any sample code or anything that could help me to start using it ?
i would really appreciate any help.
thanks in advance
The text was updated successfully, but these errors were encountered: