mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-18 07:40:27 -05:00
Recreate the RISC-V-Qemu demo using Vanilla Eclipse in place of Freedom Studio as there is not a new Freedom Studio project that targets the HiFive1 board, and the updated Freedom Studio version didn't work with this project any more anyway.
This commit is contained in:
parent
d435a7b62d
commit
f78ccd077a
15 changed files with 118 additions and 802 deletions
|
|
@ -17,7 +17,7 @@ PHDRS
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
__stack_size = DEFINED(__stack_size) ? __stack_size : 2K;
|
||||
__stack_size = DEFINED(__stack_size) ? __stack_size : 400;
|
||||
|
||||
.init :
|
||||
{
|
||||
|
|
|
|||
|
|
@ -222,8 +222,6 @@ void _init()
|
|||
use_pll(0, 0, 1, 31, 1);
|
||||
uart_init(115200);
|
||||
|
||||
printf("core freq at %d Hz\n", (int)get_cpu_freq());
|
||||
|
||||
write_csr(mtvec, &trap_entry);
|
||||
if (read_csr(misa) & (1 << ('F' - 'A'))) { // if F extension is present
|
||||
write_csr(mstatus, MSTATUS_FS); // allow FPU instructions without trapping
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue