diff --git a/boards/stk3200/Makefile.dep b/boards/stk3200/Makefile.dep index b38ada67a7..c27f40cacf 100644 --- a/boards/stk3200/Makefile.dep +++ b/boards/stk3200/Makefile.dep @@ -3,9 +3,6 @@ ifneq (,$(filter saul_default,$(USEMODULE))) USEMODULE += saul_gpio endif -# limit the stack size so most tests and examples compile -CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512 - # add board common drivers USEMODULE += boards_common_silabs USEMODULE += silabs_bc diff --git a/boards/stk3200/Makefile.include b/boards/stk3200/Makefile.include index 149d8aeebb..9d029b224e 100644 --- a/boards/stk3200/Makefile.include +++ b/boards/stk3200/Makefile.include @@ -1,5 +1,8 @@ # setup JLink for flashing JLINK_PRE_FLASH = r +# limit the stack size so most tests and examples compile +CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512 + # include board common include $(RIOTBOARD)/common/silabs/Makefile.include