-
Notifications
You must be signed in to change notification settings - Fork 12
missing "encoding.h"!! #11
Comments
Can you try it again now? When I try to build the current sources the output is not clean and there are warnings, but it builds working binary and it does run on my spike:
|
Can you confirm if the issue got solved in the meantime or not? If you do not respond it may cause this issue to get closed automatically. |
The issue still exists.Could you help me out with it? |
I'm still receiving this issue when i run the command 'make': |
I believe it's due to some paths not included in the make file. Do I have to do anything except do the changes in CCPATH ? |
Is Makefile#L62 possibly a reason for the build error? Seems like the variable RISCV should be assigned the same path as CCPATH in Makefile.inc |
Yeah, I changed the path but am still getting the same error. It was a slightly different path actually. Here's my makefile.inc: TARGET=riscv${RISCV_XLEN}-unknown-${RISCV_LIB} PROG = riscv-spike FREERTOS_SOURCE_DIR = ../../Source Here's my makefile: include ./Makefile.inc #Root of RISC-V tools installation. Note that we expect to find the spike FREERTOS_SRC = APP_SOURCE_DIR = ../Common/Minimal APP_SRC = PORT_SRC = $(FREERTOS_SOURCE_DIR)/portable/GCC/RISCV/port.c DEMO_SRC = INCLUDES = CFLAGS = GCCVER = RTOS_OBJ = $(FREERTOS_SRC:.c=.o) LDFLAGS = -T arch/link.ld -nostartfiles -static -nostdlib %.o: %.c %.o: %.S all: $(PROG).elf
clean : force_true: #------------------------------------------------------------- |
Hi,
when trying to make riscv-spike it's giving me a message that arch/boot.S is missing encoding.h
I know that FreeRTOS_on_Mi-V_Processor/miv-rv32im-freertos-port-test/riscv_hal/ directory has a "encoding.h" but I don't think this works for riscv-spike because it's still missing some definitions like "CAUSE_MACHINE_ECALL".
The text was updated successfully, but these errors were encountered: