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

Move serial init to earlier in boot process #7586

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

gneverov
Copy link

In my case:

  1. wait for safe mode flashes the led
  2. the led on a pico-w needs the cyg43 driver
  3. the cyg43 driver prints to console that it loaded
  4. print crashes since uart is not initialized

This only happens if the console uart is enabled, which it is not on production builds of this board.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@dhalbert dhalbert merged commit ca24cff into adafruit:main Feb 15, 2023
@tannewt
Copy link
Member

tannewt commented Feb 16, 2023

I think this might be the console uart used for ESP32 and C3 in production builds. (Starting early might be ok still though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants