Compare commits

...

3 Commits

3 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,14 @@
# Modify this variable to fit your NEORV32 setup (neorv32 home folder) # Modify this variable to fit your NEORV32 setup (neorv32 home folder)
NEORV32_HOME ?= ../..
OSFLAG :=
ifeq ($(OS),Windows_NT)
NEORV32_HOME ?= ..\..
include $(NEORV32_HOME)\sw\common\common.mk include $(NEORV32_HOME)\sw\common\common.mk
else
NEORV32_HOME ?= ../..
include $(NEORV32_HOME)/sw/common/common.mk
endif

View File

@ -25,7 +25,7 @@ if exist %1\image_gen.exe (
) )
cp %3\neorv32_application_image.vhd %2 REM cp %3\neorv32_application_image.vhd %2
echo "Generationg RAW HEX" echo "Generationg RAW HEX"
image_gen.exe -raw_hex %3\main.bin %3\neorv32_raw_exe.hex image_gen.exe -raw_hex %3\main.bin %3\neorv32_raw_exe.hex
@ -51,7 +51,7 @@ if exist %1\image_gen.exe (
echo "FAILED - BOOT iMG VHD" echo "FAILED - BOOT iMG VHD"
) )
cp %3\neorv32_bootloader_image.vhd %2 REM cp %3\neorv32_bootloader_image.vhd %2
echo "Memories Generated" echo "Memories Generated"
) else ( ) else (

View File

@ -1,4 +1,4 @@
# Modify this variable to fit your NEORV32 setup (neorv32 home folder) # Modify this variable to fit your NEORV32 setup (neorv32 home folder)
NEORV32_HOME ?= ../../.. NEORV32_HOME ?= ../../..
include $(NEORV32_HOME)/sw/common/common.mk include $(NEORV32_HOME)\sw\common\common.mk