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ยง
- FAULT_
RESPONSE ๐ - NUM_
PROCS
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.