|
@@ -1,12 +1,12 @@
|
|
|
BOARD ?= icebreaker
|
|
|
-CROSS ?= riscv-none-embed-
|
|
|
+CROSS ?= riscv-none-elf-
|
|
|
CC = $(CROSS)gcc
|
|
|
OBJCOPY = $(CROSS)objcopy
|
|
|
ICEPROG = iceprog
|
|
|
DFU_UTIL = dfu-util
|
|
|
|
|
|
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 --specs=nano.specs -D$(BOARD_DEFINE) -I.
|
|
|
+CFLAGS=-Wall -Os -march=rv32i -mabi=ilp32 -ffreestanding -flto -nostartfiles -fomit-frame-pointer -Wl,--gc-section -D$(BOARD_DEFINE) -I.
|
|
|
|
|
|
NO2USB_FW_VERSION=0
|
|
|
include ../../../cores/no2usb/fw/fw.mk
|