Page 2 of 2

Re: Setting hostname on Pico W

Posted: Sun Sep 04, 2022 11:46 pm
by cubbieco
I've successfully compiled Micropython for the Pico W so I have things set up right. How do I do the compile flag to use the drivers/cyw43 version so I can set the hostname? It might not compile yet but I'd like to try.

Thanks

Re: Setting hostname on Pico W

Posted: Mon Sep 05, 2022 1:18 am
by jimmo
cubbieco wrote:
Sun Sep 04, 2022 11:46 pm
I've successfully compiled Micropython for the Pico W so I have things set up right. How do I do the compile flag to use the drivers/cyw43 version so I can set the hostname? It might not compile yet but I'd like to try.
This isn't supported yet. Making this work that way isn't worth the trouble. Instead three things need to happen:

- The "public" version of the cyw43 driver (the one lib/cyw43-driver) in needs to be updated with the new features.
- The other ports using the existing one in drivers need to be updated to use the lib one.
- The compile-time macros to switch between the two need to be removed (making all features available).

Most of this is pretty close to being done, there's just a lot of stuff in the review queue at the moment.

Re: Setting hostname on Pico W

Posted: Mon Sep 05, 2022 1:50 am
by cubbieco
Thank you for your reply. I'll just be patient then. :D