Repository navigation
Stop printing the MAC address in boot_out.txt on Pico W boards - #11936
Merged
Merged
Conversation
The CYW43 may not be powered up yet when boot_out.txt is written, so the MAC can read as all zeros. Drop the line instead of powering the chip up early. Fixes adafruit#10777. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
dhalbert
approved these changes
Nov 20, 2026
dhalbert
left a comment
Collaborator
There was a problem hiding this comment.
I think this is the right thing to do. Thanks.
@Jerzeek The MAC address is easily available later, but putting it in boot_out.txt lengthens the board start-up time, so I don't think it is such a great idea. We are only doing this on co-processor boards, where we have to start the co-processor to get the MAC address.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Pico W boards no longer print a MAC line in boot_out.txt.
Why
The WiFi chip can still be off when that line is written, so it showed all zeros (#10777).
This undoes #11890, which turned the chip on early and cost about half a second of boot time.
Tested
Pico 2 W running the
ide_tudelft_realpicoexpanderbuild, no WiFi in settings.toml, 10 cold boots each. boot.py printssupervisor.ticks_ms().wifi.radio.mac_addressPico W,
raspberry_pi_pico_wbuild, WiFi in settings.toml, 5 cold boots: no MAC line, correct radio MAC, joined WiFi 5/5.Not tested: other CYW43 boards.
AI assisted (Claude). Test runs and results checked by me on the boards.
Fixes #10777
🤖 Generated with Claude Code