**** Build of configuration Nios II for project NISO_Led ****
make all
Info: Building ../NISO_Led_bsp/
make --no-print-directory -C ../NISO_Led_bsp/
Compiling alt_alarm_start.c...
nios2-elf-gcc -xc -MP -MMD -c -I./HAL/inc -I. -I./drivers/inc -DSYSTEM_BUS_WIDTH=32 -pipe -D__hal__ -DALT_NO_C_PLUS_PLUS -DALT_NO_CLEAN_EXIT -DALT_NO_EXIT -DALT_USE_DIRECT_DRIVERS -DALT_NO_INSTRUCTION_EMULATION -DALT_USE_SMALL_DRIVERS -DSMALL_C_LIB -DALT_SINGLE_THREADED "Os" -g -Wall -EL -mno-hw-div -mno-hw-mul -mno-hw-mulx -o obj/HAL/src/alt_alarm_start.o HAL/src/alt_alarm_start.c
nios2-elf-gcc: "Os": Invalid argument
make[1]: *** [obj/HAL/src/alt_alarm_start.o] Error 1
make[1]: *** Deleting file `obj/HAL/src/alt_alarm_start.o'
make: *** [../NISO_Led_bsp/-recurs-make-lib] Error 2
这个问题
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
Makefile not up to date.
C:/Users/Administrator/Desktop/NIOS/NOIS_cpu.sopcinfo has been modified since the BSP was generated.
Generate the BSP to update the Makefile, and then build again.
To generate from Eclipse:
1. Right-click the BSP project.
2. In the Nios II Menu, click Generate BSP.
To generate from the command line:
nios2-bsp-generate-files --settings=<settings file> --bsp-dir=<target bsp files directory>
make[1]: *** [public.mk] Error 1
make: *** [../NISO_Led_bsp/-recurs-make-lib] Error 2
一周热门 更多>