Expand description
Board file for SiFive HiFive1b RISC-V development platform.
This board file is only compatible with revision B of the HiFive1.
Modules§
Structs§
- HiFive1 🔒
- A structure representing this platform that holds references to all capsules for this platform. We’ve included an alarm and console.
Constants§
Statics§
- CHIP 🔒
- PROCESSES 🔒
- PROCESS_
PRINTER 🔒 - STACK_
MEMORY - Dummy buffer that causes the linker to reserve enough space for the stack.
Functions§
- load_
processes_ 🔒not_ inlined - For the HiFive1, if load_process is inlined, it leads to really large stack utilization in main. By wrapping it in a non-inlined function, this reduces the stack utilization once processes are running.
- main⚠
- Main function called after RAM initialized.
- start 🔒 ⚠
- This is in a separate, inline(never) function so that its stack frame is removed when this function returns. Otherwise, the stack space used for these static_inits is wasted.