1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/rng/Makefile
Benjamin Valentin f362a19eed sys/shell: hide random commands behind random_cmd pseudo-module
These commands cost 248 bytes of memory, we don't want to always
include them when the `random` module is selected.
2021-11-19 16:53:46 +01:00

21 lines
538 B
Makefile

include ../Makefile.tests_common
# Default stack with printf + the tests buffer uint32_t[32]/uint8_t[256]
MAIN_THREAD_SIZE = THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF+256
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\($(MAIN_THREAD_SIZE)\)
# override PRNG if desired (see sys/random for alternatives)
# USEMODULE += prng_minstd
USEMODULE += fmt
USEMODULE += random
USEMODULE += random_cmd
USEMODULE += shell
USEMODULE += xtimer
FEATURES_OPTIONAL += periph_hwrng
TEST_ON_CI_WHITELIST += native
include $(RIOTBASE)/Makefile.include