mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
381382b61a
Take into account stack buffers and printf for allocating the default stack size. This solves stack size issues with `wsn430-v1_3b` and `z1`. It now have a main stack usage of 514 bytes out of 768 on `wsn430-v1_3b`.
25 lines
757 B
Makefile
25 lines
757 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-leonardo arduino-nano \
|
|
arduino-uno
|
|
|
|
# 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 += shell
|
|
USEMODULE += xtimer
|
|
|
|
FEATURES_OPTIONAL += periph_hwrng
|
|
|
|
TEST_ON_CI_WHITELIST += native
|
|
|
|
include $(RIOTBASE)/Makefile.include
|