2023-05-10 12:05:19 +02:00
|
|
|
include ../Makefile.pkg_common
|
2019-05-29 14:56:33 +02:00
|
|
|
|
|
|
|
USEPKG += lua
|
|
|
|
|
2019-06-13 12:48:15 +02:00
|
|
|
# This application uses getchar and thus expects input from stdio
|
|
|
|
USEMODULE += stdin
|
|
|
|
|
2024-02-01 13:55:02 +01:00
|
|
|
BOARD_WHITELIST += native native64 samr21-xpro
|
2019-05-29 14:56:33 +02:00
|
|
|
|
2024-02-01 13:55:02 +01:00
|
|
|
ifeq (,$(filter native native64,$(BOARD)))
|
2019-05-29 14:56:33 +02:00
|
|
|
# This stack size is large enough to run Lua print() functions of
|
|
|
|
# various lengths. Other functions untested.
|
|
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN='(THREAD_STACKSIZE_DEFAULT+2048)'
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|