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

RP2: Add wiznet5K support Raspberry pi pico. #8021

Closed
wants to merge 7 commits into from
Closed

RP2: Add wiznet5K support Raspberry pi pico. #8021

wants to merge 7 commits into from

Conversation

irinakim12
Copy link

Changed to allow wiznet5k to be used in the ports/rp2 folder.

@irinakim12
Copy link
Author

irinakim12 commented Nov 23, 2021

I want to add wiznet5K driver to be usable in the ports/rp2 folder.
What do I need to do?

@irinakim12
Copy link
Author

The cause of the crash is that I modified ports/rp2/mpconfigport.h .
As far as I know, to use Wiznet5K's library under Network, I need to edit the file.
This error occurs because I do not have permission to edit the file.

@robert-hh
Copy link
Contributor

If you cloned the repository, you have full accesd rights and can do any change you like. Only the master repository is protected against changes by anyone. And that is good.

andrewleech added a commit to andrewleech/micropython that referenced this pull request May 5, 2022
Originally based on stm32/modnwwiznet5k.
Uses the TCP stack running on the Wiznet controller.

Updated to newer wiznet driver (in submodule).
Adds support for W5100S
Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from the unique board id.

Also includes modnwwiznet5k.c updates by @irinakim12 in micropython#8021, most notably bringing in DHCP support.
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 5, 2022
Originally based on stm32/modnwwiznet5k.
Uses the TCP stack running on the Wiznet controller.

Updated to newer wiznet driver (in submodule).
Adds support for W5100S
Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from the unique board id.

Also includes modnwwiznet5k.c updates by @irinakim12 in micropython#8021, most notably bringing in DHCP support.
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 5, 2022
Originally based on stm32/modnwwiznet5k.
Uses the TCP stack running on the Wiznet controller.

Updated to newer wiznet driver (in submodule).
Adds support for W5100S
Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from the unique board id.

Also includes modnwwiznet5k.c updates by @irinakim12 in micropython#8021, most notably bringing in DHCP support.
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 5, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the LwIP TCP stack in
micropython, communicating with the wiznet controller in MACRAW mode.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from the unique board id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 5, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the LwIP TCP stack in
micropython, communicating with the wiznet controller in MACRAW mode.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from board unique_id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.

Signed-off-by: Andrew Leech <andrew@alelec.net>
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 5, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the LwIP TCP stack in
micropython, communicating with the wiznet controller in MACRAW mode.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from board unique_id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.

Signed-off-by: Andrew Leech <andrew@alelec.net>
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 25, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the LwIP TCP stack in
micropython, communicating with the wiznet controller in MACRAW mode.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from board unique_id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.

Signed-off-by: Andrew Leech <andrew@alelec.net>
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 26, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the LwIP TCP stack in
micropython, communicating with the wiznet controller in MACRAW mode.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from board unique_id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.

Signed-off-by: Andrew Leech <andrew@alelec.net>
andrewleech added a commit to andrewleech/micropython that referenced this pull request May 27, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the LwIP TCP stack in
micropython, communicating with the wiznet controller in MACRAW mode.

If LwIP is not enabled, it runs in modnetwork / socket mode providing
an interface to the TCP stack running on the wiznet controller chip.

Supports defining hw pins in board config or dynamically set at runtime.
Sets a default MAC address in the random namespace from board unique_id.
extmod/network_wiznet5k_provided: Add wiznet ethernet modnetwork driver.

In LwIP mode it supports using the INTN pin from wiznet controller to
receive data from interrupt trigger.

When running in modnetwork mode it includes some modnwwiznet5k updates by
@irinakim12 in micropython#8021, most notably bringing in DHCP support.

Signed-off-by: Andrew Leech <andrew@alelec.net>
dpgeorge pushed a commit that referenced this pull request Jun 3, 2022
Originally based on both stm32/network_wiznet5k and stm32/modnwwiznet5k.

If MICROPY_PY_LWIP is enabled it uses the lwIP TCP stack in MicroPython,
communicating with the Wiznet controller in MACRAW mode.  In this mode it
supports using the INTN pin from Wiznet controller to receive data from an
interrupt trigger.

If lwIP is not enabled, it runs in modnetwork/socket mode providing an
interface to the TCP stack running on the Wiznet controller chip.  In this
mode it includes some updates by @irinakim12 from #8021, most notably
bringing in DHCP support.

Supports defining hardware pins in board config or dynamically set at
runtime.  Sets a default MAC address in the random namespace from board
unique-id.

Signed-off-by: Andrew Leech <andrew@alelec.net>
@dpgeorge
Copy link
Member

dpgeorge commented Jun 3, 2022

This was implemented differently in bca816f

@dpgeorge dpgeorge closed this Jun 3, 2022
tannewt pushed a commit to tannewt/circuitpython that referenced this pull request Jun 6, 2023
Silabs fixes, BLE bonding and peripheral changes
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.

None yet

3 participants