mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[build/makefiles] Commands to create a scenario logger and creator
This commit is contained in:
committed by
EmilieNumworks
parent
2772e0397f
commit
ca2fdf8ffd
1
Makefile
1
Makefile
@@ -35,6 +35,7 @@ include escher/Makefile
|
|||||||
# Executable Makefiles
|
# Executable Makefiles
|
||||||
include apps/Makefile
|
include apps/Makefile
|
||||||
include build/struct_layout/Makefile
|
include build/struct_layout/Makefile
|
||||||
|
include build/scenario/Makefile
|
||||||
include quiz/Makefile # Quiz needs to be included at the end
|
include quiz/Makefile # Quiz needs to be included at the end
|
||||||
|
|
||||||
products += $(objs)
|
products += $(objs)
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ EPSILON_APPS ?= calculation graph code statistics probability solver sequence re
|
|||||||
EPSILON_I18N ?= en fr es de pt
|
EPSILON_I18N ?= en fr es de pt
|
||||||
EPSILON_GETOPT ?= 0
|
EPSILON_GETOPT ?= 0
|
||||||
MATRICES_ARE_DEFINED ?=1
|
MATRICES_ARE_DEFINED ?=1
|
||||||
|
ESCHER_LOG_EVENTS_BINARY ?= 0
|
||||||
|
|
||||||
include build/defaults.mak
|
include build/defaults.mak
|
||||||
include build/platform.$(PLATFORM).mak
|
include build/platform.$(PLATFORM).mak
|
||||||
@@ -36,3 +37,4 @@ ifeq (update,$(EPSILON_BOOT_PROMPT))
|
|||||||
SFLAGS += -DEPSILON_BOOT_PROMPT=$(EPSILON_UPDATE_PROMPT)
|
SFLAGS += -DEPSILON_BOOT_PROMPT=$(EPSILON_UPDATE_PROMPT)
|
||||||
endif
|
endif
|
||||||
SFLAGS += -DMATRICES_ARE_DEFINED=$(MATRICES_ARE_DEFINED)
|
SFLAGS += -DMATRICES_ARE_DEFINED=$(MATRICES_ARE_DEFINED)
|
||||||
|
SFLAGS += -DESCHER_LOG_EVENTS_BINARY=$(ESCHER_LOG_EVENTS_BINARY)
|
||||||
|
|||||||
11
build/scenario/Makefile
Normal file
11
build/scenario/Makefile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
.PHONY: scenario_logger
|
||||||
|
scenario_logger:
|
||||||
|
$(Q) make clean && make -j8 DEBUG=1 PLATFORM=blackbox epsilon.bin
|
||||||
|
$(Q) cp epsilon.bin epsilon_scenario_logger.bin
|
||||||
|
@echo "Run ./epsilon_scenario_logger.bin --logAfter 0 < scenario.esc to log a scenario"
|
||||||
|
|
||||||
|
.PHONY: scenario_creator
|
||||||
|
scenario_creator:
|
||||||
|
$(Q) make clean && make -j8 DEBUG=1 ESCHER_LOG_EVENTS_BINARY=1 PLATFORM=simulator epsilon.elf
|
||||||
|
$(Q) cp epsilon.elf epsilon_scenario_creator.elf
|
||||||
|
@echo "Run ./epsilon_scenario_creator.elf > scenario.esc to create a scenario"
|
||||||
Reference in New Issue
Block a user