oxidecomputer / phbl

Pico Host Boot Loader
Mozilla Public License 2.0
98 stars 7 forks source link

SP5: Initialize IO mux for UART0 pins #48

Closed dancrossnyc closed 5 months ago

dancrossnyc commented 5 months ago

We have observed that, for the pins connected to UART0, the pin mux on e.g. Genoa has values that differ from the documented reset values, causing those pins to be used as e.g. GPIOs. Set them explicitly so we have console output.

dancrossnyc commented 5 months ago

Oh, I'll have to mod this to detect SP5 and adjust accordingly. Hold off on review, please.

dancrossnyc commented 5 months ago

This is ready; PTAL. I still have to take it for a spin on an SP3 machine.