2024-02-24 08:25:27 +00:00
|
|
|
# Modify this variable to fit your NEORV32 setup (neorv32 home folder)
|
2024-02-27 23:43:22 +00:00
|
|
|
OSFLAG :=
|
2024-02-24 08:25:27 +00:00
|
|
|
|
2024-02-27 23:43:22 +00:00
|
|
|
ifeq ($(OS),Windows_NT)
|
|
|
|
NEORV32_HOME ?= ..\..\..
|
|
|
|
sim-check: sim
|
|
|
|
cat $(NEORV32_HOME)\sim\simple\neorv32.uart0.sim_mode.text.out | grep "Hello world! :)"
|
|
|
|
|
|
|
|
include $(NEORV32_HOME)\sw\common\common.mk
|
|
|
|
else
|
|
|
|
|
|
|
|
NEORV32_HOME ?= ../../..
|
2024-02-24 08:25:27 +00:00
|
|
|
|
|
|
|
sim-check: sim
|
|
|
|
cat $(NEORV32_HOME)/sim/simple/neorv32.uart0.sim_mode.text.out | grep "Hello world! :)"
|
2024-02-27 23:43:22 +00:00
|
|
|
|
|
|
|
include $(NEORV32_HOME)/sw/common/common.mk
|
|
|
|
endif
|
|
|
|
|