trispeed ethernet nios2 eclipse new project and bsp build error
Hi Dear intel team,
sub: trispeed ethernet nios2 eclipse new project and bsp build error
i am using quarts prime lite version 20.1 running on windows 10 OS . while building project to generating elf file tri speed ethernet in eclipse ,we are getting some errors as shown below.
wslpath: /mnt/c/nios2_practice/Trispeed_ethernet/ethernet_04_12_21/software/web_server_ENT0_bsp//obj/HAL/src/crt0.o: No such file or directory
touch web_server_ENT0.elf.srec
Info: Building /mnt/c/nios2_practice/Trispeed_ethernet/ethernet_04_12_21/software/web_server_ENT0_bsp/
make --no-print-directory -C /mnt/c/nios2_practice/Trispeed_ethernet/ethernet_04_12_21/software/web_server_ENT0_bsp/
Compiling alt_close.c...
nios2-elf-gcc.exe -xc -MP -MMD -c -I./drivers/inc -I./drivers/inc/iniche -I./iniche/inc -I./iniche/src/h -I./iniche/src/h/nios2 -I./iniche/src/nios2 -I./UCOSII/inc -I./HAL/inc -I. -I./drivers/inc -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION -DALTERA_TRIPLE_SPEED_MAC -DALT_INICHE -DRO_ZIPFS -D__ucosii__ -DALTERA_AUTONEG_TIMEOUT_THRESHOLD=2500 -DALTERA_CHECKLINK_TIMEOUT_THRESHOLD=10000 -DALTERA_NOMDIO_TIMEOUT_THRESHOLD=1000000 -DTSE_MY_SYSTEM -O0 -g -Wall -mno-hw-div -mhw-mul -mno-hw-mulx -mgpopt=global -o obj/HAL/src/alt_close.o HAL/src/alt_close.c
In file included from ./HAL/inc/includes.h:23,
from ./UCOSII/inc/priv/alt_sem_ucosii.h:45,
from ./UCOSII/inc/os/alt_sem.h:75,
from ./HAL/inc/priv/alt_file.h:44,
from HAL/src/alt_close.c:37:
./UCOSII/inc/ucos_ii.h:1708:2: error: #error "OS_CFG.H, Missing OS_TICKS_PER_SEC: Sets the number of ticks in one second"
1708 | #error "OS_CFG.H, Missing OS_TICKS_PER_SEC: Sets the number of ticks in one second"
| ^~~~~
make[1]: *** [Makefile:746: obj/HAL/src/alt_close.o] Error 1
make: *** [Makefile:846: /mnt/c/nios2_practice/Trispeed_ethernet/ethernet_04_12_21/software/web_server_ENT0_bsp/-recurs-make-lib] Error 2
10:49:35 Build Finished (took 9s.144ms)
i am requesting anyone know solution for this .let me known steps to resolve the above issue .i am attaching some of error image also
i am looking forward for your response
Thanks &Regards
sateesh