mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 00:37:44 -04:00
Add RISC-V demo for the spike simulator. (#532)
* Add RISC-V demo for the spike simulator. * Figuring out what the header checker wants. * Fix more headers. * Ignore htif.c and htif.h for header checks. These files are already stamped with BSD-3-Clause, which I'm not allowed to remove. There are numerous other files with the same license in FreeRTOS, so I assume this is fine. * Use proxy syscalls for RV32. Looks like spike won't be changed to make htif character writes work propery for RV32. This is now an even closer copy of the version in opensbi, which is arguably strictly better. * Support RV64 builds to use with spike. OpenOCD does not currently support debugging 64-bit FreeRTOS, but now that I have a target to test hopefully that will be remedied shortly. * Tweak rv32 instructions. This way you can have separate cross-tools installations that can coexist side by side. Co-authored-by: Joseph Julicher <jjulicher@mac.com>
This commit is contained in:
parent
aaece95529
commit
3fee3ac61f
14 changed files with 1097 additions and 1 deletions
3
.github/scripts/core_checker.py
vendored
3
.github/scripts/core_checker.py
vendored
|
@ -265,7 +265,8 @@ FREERTOS_IGNORED_FILES = [
|
|||
'requirements.txt',
|
||||
'run-cbmc-proofs.py',
|
||||
'.editorconfig',
|
||||
'lcovrc'
|
||||
'lcovrc',
|
||||
'htif.c', 'htif.h'
|
||||
]
|
||||
|
||||
FREERTOS_HEADER = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue