2018-03-28 17:45:53 +02:00
|
|
|
USEPKG += tlsf
|
|
|
|
USEMODULE += lua-contrib
|
|
|
|
USEMODULE += printf_float
|
2019-10-30 14:27:15 +01:00
|
|
|
|
|
|
|
# LUA is only supported by 32-bit architectures
|
2024-01-12 17:53:46 +01:00
|
|
|
FEATURES_REQUIRED_ANY += arch_32bit|arch_64bit
|
2019-10-30 15:40:09 +01:00
|
|
|
|
2019-10-30 16:11:04 +01:00
|
|
|
# LUA is not supported on RISCV because of build issues with the toolchain
|
|
|
|
# (undefined reference to _times, _unlink and _link functions in provided
|
|
|
|
# newlib nano).
|
|
|
|
FEATURES_BLACKLIST += arch_riscv
|
2020-10-15 18:09:04 +02:00
|
|
|
|
|
|
|
# LUA is not compatible with picolibc and raises errors at compile time:
|
|
|
|
# - lua/liolib.c:671:38: error: '_IOFBF' undeclared (first use in this function)
|
|
|
|
# - lua/liolib.c:671:46: error: '_IOLBF' undeclared (first use in this function)
|
|
|
|
FEATURES_BLACKLIST += picolibc
|
2022-03-02 10:00:00 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter newlib_syscalls_default,$(USEMODULE)))
|
|
|
|
USEMODULE += libc_gettimeofday
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter native,$(CPU)))
|
|
|
|
USEMODULE += libc_gettimeofday
|
|
|
|
endif
|