Embedded Firmware · Hard · C

RISC-V SoC Bring-Up Main

Write the bare-metal bring-up sequence for GPIO, UART and timer.

Task

In main(), clear GPIO, transmit 'B', schedule the first timer interrupt for 1000 cycles and then remain in an infinite loop.

Examples

Constraints

Concepts to review

C, bring-up, SoC

Open HDLForge to solve this problem in the interactive editor.

Related problems