Browse Source

projects/riscv_usb: Add nano.specs in the CFLAGS

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut 5 years ago
parent
commit
0eec262a74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      projects/riscv_usb/fw/Makefile

+ 1 - 1
projects/riscv_usb/fw/Makefile

@@ -5,7 +5,7 @@ OBJCOPY = $(CROSS)objcopy
 ICEPROG = iceprog
 ICEPROG = iceprog
 
 
 BOARD_DEFINE=BOARD_$(shell echo $(BOARD) | tr a-z\- A-Z_)
 BOARD_DEFINE=BOARD_$(shell echo $(BOARD) | tr a-z\- A-Z_)
-CFLAGS=-Wall -Os -march=rv32i -mabi=ilp32 -ffreestanding -flto -nostartfiles -fomit-frame-pointer -Wl,--gc-section -D$(BOARD_DEFINE)
+CFLAGS=-Wall -Os -march=rv32i -mabi=ilp32 -ffreestanding -flto -nostartfiles -fomit-frame-pointer -Wl,--gc-section --specs=nano.specs -D$(BOARD_DEFINE)
 
 
 HEADERS=\
 HEADERS=\
 	config.h \
 	config.h \