4 Commits

Author SHA1 Message Date
Paul Kocialkowski
4f144b3344 bare-metal: Add uart0_puthex function
Some checks failed
Build host tools / build (push) Has been cancelled
This is useful to print register values.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2026-05-20 01:32:37 +02:00
Paul Kocialkowski
edcbe4f4b8 bare-metal: Add JTAG pin muxing support
This adds SoC-specific pin muxing descriptions to select JTAG on the
SD pins, with a helper function.

The JTAG pins are always the same (PF0/1/3/5) so they are hardcoded,
while the mux is either 3 or 4 depending on the platform.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2026-05-20 01:32:37 +02:00
Paul Kocialkowski
c90ae72147 bare-metal: Use anonymous structs in soc_info and expand table
This gives better readability to the table.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2026-05-20 01:32:37 +02:00
Paul Kocialkowski
b5e2eb2bbc Move bare-metal common support code to dedicated files
This allows re-using the code for other bare-metal programs.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2026-05-20 01:32:37 +02:00