This is the error I get when I build the hello world example using eclipse.
10:12:40 **** Incremental Build of configuration Default for project hello_world_ri5cy_rv32m1_vega ****
Building file: C:/Vega/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console.c
Invoking: GNU RISC-V Cross C Compiler
riscv-none-embed-gcc -msmall-data-limit=8 -mno-save-restore -O2 -g -std=gnu11 -MMD -MP -MF”utilities/fsl_debug_console.d” -MT”utilities/fsl_debug_console.o” -c -o “utilities/fsl_debug_console.o” “C:/Vega/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console.c”
In file included from C:/Vega/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console.c:44:
C:/Vega/rv32m1_sdk_riscv/devices/RV32M1/utilities/fsl_debug_console.h:25:10: fatal error: fsl_common.h: No such file or directory
make: *** [utilities/subdir.mk:29: utilities/fsl_debug_console.o] Error 1
“make all” terminated with exit code 2. Build might be incomplete.
10:12:41 Build Failed. 2 errors, 0 warnings. (took 861ms)
I checked and the file fsl_common exists. But I assume it does not get compiled because it has this warning :
Unresolved inclusion: “fsl_device_registers.h”
Can somebody help me with that?
it’s something wrong with your environment settings. Suggest to follow the RV32M1_Vega_Develop_Environment_Setup.pdf to set up your Eclipse environment.
You must be logged in to reply to this topic. Login here