2023-06-13 15:56:24 +02:00
|
|
|
USEMODULE += newlib
|
2021-11-29 10:45:20 +01:00
|
|
|
USEMODULE += periph
|
2020-02-07 22:50:14 +01:00
|
|
|
|
2019-10-18 22:30:05 +02:00
|
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
2021-04-26 17:27:03 +02:00
|
|
|
DEFAULT_MODULE += newlib_nano
|
2019-10-18 22:30:05 +02:00
|
|
|
endif
|
2020-12-18 17:30:40 +01:00
|
|
|
|
2024-05-03 15:25:32 +02:00
|
|
|
ifneq (,$(filter periph_gpio,$(USEMODULE)))
|
|
|
|
# the legacy periph_gpio driver uses gpio_port from periph_gpio_ll
|
|
|
|
FEATURES_REQUIRED += periph_gpio_ll
|
|
|
|
endif
|
|
|
|
|
2020-12-18 17:30:40 +01:00
|
|
|
# Make calls to malloc and friends thread-safe
|
|
|
|
USEMODULE += malloc_thread_safe
|