2018-09-05 02:39:50 +02:00
|
|
|
# additional modules dependencies
|
|
|
|
|
2018-12-26 16:03:38 +01:00
|
|
|
ifneq (, $(filter esp_sdk, $(USEMODULE)))
|
|
|
|
USEMODULE += core_thread_flags
|
2019-01-29 23:25:31 +01:00
|
|
|
INCLUDES += -I$(ESP8266_SDK_DIR)/third_party/include
|
2019-01-23 19:47:08 +01:00
|
|
|
LINKFLAGS += -Wl,-wrap=malloc
|
|
|
|
LINKFLAGS += -Wl,-wrap=free
|
|
|
|
LINKFLAGS += -Wl,-wrap=calloc
|
|
|
|
LINKFLAGS += -Wl,-wrap=realloc
|
|
|
|
LINKFLAGS += -Wl,-wrap=_malloc_r
|
|
|
|
LINKFLAGS += -Wl,-wrap=_free_r
|
|
|
|
LINKFLAGS += -Wl,-wrap=_realloc_r
|
2018-12-26 16:03:38 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (, $(filter esp_spiffs, $(USEMODULE)))
|
|
|
|
export SPIFFS_STD_OPTION = -std=c99
|
|
|
|
USEMODULE += spiffs
|
|
|
|
USEMODULE += vfs
|
|
|
|
endif
|
|
|
|
|
2019-01-16 19:30:59 +01:00
|
|
|
ifneq (, $(filter esp_wifi, $(USEMODULE)))
|
|
|
|
CFLAGS += -DLWIP_OPEN_SRC
|
|
|
|
LINKFLAGS += -Wl,-wrap=ethernet_input
|
|
|
|
USEMODULE += netdev_eth
|
|
|
|
endif
|
|
|
|
|
2018-09-05 02:39:50 +02:00
|
|
|
ifneq (,$(filter ndn-riot,$(USEPKG)))
|
|
|
|
USEMODULE += crypto
|
|
|
|
USEMODULE += cipher_modes
|
|
|
|
endif
|