Setting hostname on Pico W

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
cubbieco
Posts: 4
Joined: Sat Sep 11, 2021 1:46 pm

Re: Setting hostname on Pico W

Post by cubbieco » 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.

Thanks

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Setting hostname on Pico W

Post by jimmo » Mon Sep 05, 2022 1:18 am

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.

cubbieco
Posts: 4
Joined: Sat Sep 11, 2021 1:46 pm

Re: Setting hostname on Pico W

Post by cubbieco » Mon Sep 05, 2022 1:50 am

Thank you for your reply. I'll just be patient then. :D

Post Reply