2024-07-04 21:20:00 +02:00
|
|
|
USEMODULE += wakaama_core wakaama_core_coap wakaama_core_coap13 wakaama_data wakaama_client
|
2020-06-10 14:17:34 +02:00
|
|
|
|
2019-11-29 17:54:08 +01:00
|
|
|
# include contrib code (platform adaption and client implementation)
|
|
|
|
USEMODULE += wakaama_contrib
|
2021-03-12 18:54:23 +01:00
|
|
|
USEMODULE += uri_parser
|
2019-11-29 17:54:08 +01:00
|
|
|
|
|
|
|
# this allows us to include our own objects, implemented in the 'objects'
|
|
|
|
# folder, by adding 'wakaama_objects_<objectName>' modules
|
|
|
|
USEMODULE += wakaama_objects
|
|
|
|
|
2021-03-11 15:12:27 +01:00
|
|
|
# include mandatory objects
|
2019-11-29 17:54:08 +01:00
|
|
|
USEMODULE += wakaama_objects_device
|
2021-03-11 15:12:27 +01:00
|
|
|
USEMODULE += wakaama_objects_security
|
2019-11-29 17:54:08 +01:00
|
|
|
|
2024-02-04 15:21:28 +01:00
|
|
|
ifneq (,$(filter wakaama_objects_barometer,$(USEMODULE)))
|
|
|
|
USEMODULE += wakaama_objects_ipso_sensor_base
|
|
|
|
endif
|
|
|
|
|
2024-02-04 15:23:26 +01:00
|
|
|
ifneq (,$(filter wakaama_objects_current,$(USEMODULE)))
|
|
|
|
USEMODULE += wakaama_objects_ipso_sensor_base
|
|
|
|
endif
|
|
|
|
|
2024-02-04 15:24:02 +01:00
|
|
|
ifneq (,$(filter wakaama_objects_humidity,$(USEMODULE)))
|
|
|
|
USEMODULE += wakaama_objects_ipso_sensor_base
|
|
|
|
endif
|
|
|
|
|
2024-02-04 15:24:51 +01:00
|
|
|
ifneq (,$(filter wakaama_objects_illuminance,$(USEMODULE)))
|
|
|
|
USEMODULE += wakaama_objects_ipso_sensor_base
|
|
|
|
endif
|
|
|
|
|
2024-02-04 15:25:19 +01:00
|
|
|
ifneq (,$(filter wakaama_objects_temperature,$(USEMODULE)))
|
|
|
|
USEMODULE += wakaama_objects_ipso_sensor_base
|
|
|
|
endif
|
|
|
|
|
2024-02-04 15:25:44 +01:00
|
|
|
ifneq (,$(filter wakaama_objects_voltage,$(USEMODULE)))
|
|
|
|
USEMODULE += wakaama_objects_ipso_sensor_base
|
|
|
|
endif
|
|
|
|
|
2021-11-02 11:37:17 +01:00
|
|
|
USEMODULE += ztimer
|
|
|
|
USEMODULE += ztimer_sec
|
2024-08-22 18:50:58 +02:00
|
|
|
USEMODULE += random
|
2019-11-29 17:54:08 +01:00
|
|
|
USEPKG += tlsf
|
|
|
|
|
|
|
|
# If logs for the package are active, we need fmt
|
|
|
|
ifneq (,$(filter -DLWM2M_WITH_LOGS,$(CFLAGS)))
|
|
|
|
USEMODULE += fmt
|
|
|
|
endif
|
2020-12-16 09:45:20 +01:00
|
|
|
|
|
|
|
# wakaama uses Sock UDP (implemented by some stack)
|
|
|
|
USEMODULE += sock_udp
|
2021-11-03 17:21:45 +01:00
|
|
|
USEMODULE += sock_async_event
|
|
|
|
USEMODULE += sock_util
|
|
|
|
USEMODULE += event_timeout
|
|
|
|
USEMODULE += event_thread
|
|
|
|
USEMODULE += event_thread_medium
|
|
|
|
|
|
|
|
ifneq (,$(filter wakaama_client_dtls, $(USEMODULE)))
|
|
|
|
USEMODULE += sock_dtls
|
|
|
|
USEMODULE += credman_load
|
|
|
|
endif
|