Skip to content
Snippets Groups Projects
Commit a9234008 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

prototest makefile: add prototest_bench_{energy,cycles} switch

parent ec15c42a
No related branches found
No related tags found
No related merge requests found
loop ?= 1
ifeq (${prototest_bench_energy}, 1)
loop = 1
COMMON_FLAGS += -DPROTOTEST_BENCH_ENERGY
endif
ifeq (${prototest_bench_cycles}, 1)
loop = 0
arch_drivers += ,counter
COMMON_FLAGS += -DPROTOTEST_BENCH_CYCLES
endif
ifeq (${prototest_include_global}, 1)
COMMON_FLAGS += -DPROTOTEST_INCLUDE_GLOBAL
ifneq (${prototest_include_global}, )
COMMON_FLAGS += -DPROTOTEST_INCLUDE_GLOBAL=${prototest_include_global}
endif
ifeq (${prototest_include_local}, 1)
COMMON_FLAGS += -DPROTOTEST_INCLUDE_LOCAL
ifneq (${prototest_include_local}, )
COMMON_FLAGS += -DPROTOTEST_INCLUDE_LOCAL=${prototest_include_local}
endif
ifeq (${prototest_arduinojson}, 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment