mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
27 lines
816 B
Makefile
27 lines
816 B
Makefile
|
include ../Makefile.tests_common
|
||
|
|
||
|
USEMODULE += xtimer
|
||
|
USEMODULE += progress_bar
|
||
|
|
||
|
PROGRESS_BAR_LENGTH ?= 50
|
||
|
PROGRESS_BAR_FULL_CHARACTER ?= "█"
|
||
|
PROGRESS_BAR_EMPTY_CHARACTER ?= " "
|
||
|
|
||
|
# Other nice progress bar characters:
|
||
|
#PROGRESS_BAR_FULL_CHARACTER ?= "◉"
|
||
|
#PROGRESS_BAR_EMPTY_CHARACTER ?= "◯"
|
||
|
#PROGRESS_BAR_FULL_CHARACTER ?= "▣"
|
||
|
#PROGRESS_BAR_EMPTY_CHARACTER ?= "▢"
|
||
|
|
||
|
CFLAGS += -DPROGRESS_BAR_FULL_CHARACTER=\"$(PROGRESS_BAR_FULL_CHARACTER)\"
|
||
|
CFLAGS += -DPROGRESS_BAR_EMPTY_CHARACTER=\"$(PROGRESS_BAR_EMPTY_CHARACTER)\"
|
||
|
CFLAGS += -DPROGRESS_BAR_LENGTH=$(PROGRESS_BAR_LENGTH)
|
||
|
|
||
|
include $(RIOTBASE)/Makefile.include
|
||
|
|
||
|
# Make custom progress bar characters available in Python test script via
|
||
|
# environment variables
|
||
|
export PROGRESS_BAR_FULL_CHARACTER
|
||
|
export PROGRESS_BAR_EMPTY_CHARACTER
|
||
|
export PROGRESS_BAR_LENGTH
|