When running the test on `arduino-mega2560` printing the float failed
and was printed as ` ?`.
Calculated ? bits of entropy from 10000 samples.
Replace using `printf` floating point printing by using `fmt/print_float`.
Now the test succeeds on `arduino-mega2560`.
As `print_float` does not buffer and is used with `printf` the output
should be flushed before calling it if `fflush` is available.
20 lines
486 B
Makefile
20 lines
486 B
Makefile
include ../Makefile.tests_common
|
|
|
|
# some boards have not enough rom and/or ram
|
|
BOARD_BLACKLIST += nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 pic32-clicker
|
|
BOARD_INSUFFICIENT_MEMORY += arduino-duemilanove arduino-uno
|
|
|
|
# override PRNG if desired (see sys/random for alternatives)
|
|
# USEMODULE += prng_minstd
|
|
|
|
USEMODULE += fmt
|
|
USEMODULE += random
|
|
USEMODULE += shell
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_OPTIONAL += periph_hwrng
|
|
|
|
TEST_ON_CI_WHITELIST += native
|
|
|
|
include $(RIOTBASE)/Makefile.include
|