Pico W and amount of udp sockets #11105
Unanswered
manpowre
asked this question in
RP2040 / Pico
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@manpowre There's a limited amount of RAM available to LWIP. See (Also please encode code in triple-backticks as per the Welcome post) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On Pico W, I have code that opens a few udp sockets for different messages:
udp_in_socket
udp_debug_out_socket
udp_step_out_socket
udp_UI_out_socket
Unfortunately, opening these 4 sockets fails with micropython and Pico W.
Error message:
OSError: [Errno 12] ENOMEM
I tried the latest nightly build as of today. On Arduino Nano rp2040 this works just fine.
Offcourse I removed the debug socket to get all of my code to work, but its not optimal offcourse. I can always reuse the other sockets to send different types of messages, but I wanted to report this if someone else runs into this.
Anyone know why, or is this a bug ?
Here is code that reproduces the issue:
(Edit by @jimmo to fix formatting)
Beta Was this translation helpful? Give feedback.
All reactions