From 277af5ef37dd5e6321119a558dcf53748c93a089 Mon Sep 17 00:00:00 2001 From: FPGALover Date: Sat, 24 Feb 2024 09:34:54 +0000 Subject: [PATCH] Update sw/example/demo_blink_led_asm/makefile --- sw/example/demo_blink_led_asm/makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sw/example/demo_blink_led_asm/makefile b/sw/example/demo_blink_led_asm/makefile index 8f9e2fd..fa59946 100644 --- a/sw/example/demo_blink_led_asm/makefile +++ b/sw/example/demo_blink_led_asm/makefile @@ -1,4 +1,13 @@ # Modify this variable to fit your NEORV32 setup (neorv32 home folder) +OSFLAG := + +ifeq ($(OS),Windows_NT) +NEORV32_HOME ?= ..\..\.. + +include $(NEORV32_HOME)\sw\common\common.mk +else + NEORV32_HOME ?= ../../.. include $(NEORV32_HOME)/sw/common/common.mk +endif \ No newline at end of file