mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
net/unicoap: add module basics
This commit is contained in:
parent
b2406da63f
commit
6b9e5433e6
@ -224,6 +224,9 @@ endif
|
||||
ifneq (,$(filter uhcpc,$(USEMODULE)))
|
||||
DIRS += net/application_layer/uhcp
|
||||
endif
|
||||
ifneq (,$(filter unicoap,$(USEMODULE)))
|
||||
DIRS += net/application_layer/unicoap
|
||||
endif
|
||||
ifneq (,$(filter usbus usbus_%,$(USEMODULE)))
|
||||
DIRS += usb/usbus
|
||||
endif
|
||||
|
||||
@ -572,6 +572,11 @@ ifneq (,$(filter nanocoap_%,$(USEMODULE)))
|
||||
USEMODULE += nanocoap
|
||||
endif
|
||||
|
||||
# include unicoap dependencies
|
||||
ifneq (,$(filter unicoap%,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/net/application_layer/unicoap/Makefile.dep
|
||||
endif
|
||||
|
||||
ifneq (,$(filter skald_%,$(USEMODULE)))
|
||||
USEMODULE += skald
|
||||
endif
|
||||
|
||||
@ -208,3 +208,7 @@ endif
|
||||
ifneq (,$(filter nanocoap,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/net/application_layer/nanocoap/Makefile.include
|
||||
endif
|
||||
|
||||
ifneq (,$(filter unicoap,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/net/application_layer/unicoap/Makefile.include
|
||||
endif
|
||||
|
||||
31
sys/include/net/unicoap.h
Normal file
31
sys/include/net/unicoap.h
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (C) 2024-2025 Carl Seifert
|
||||
* Copyright (C) 2024-2025 TU Dresden
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU Lesser General
|
||||
* Public License v2.1. See the file LICENSE in the top level directory for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* @addtogroup net_unicoap
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Main header for `unicoap`
|
||||
* @author Carl Seifert <carl.seifert1@mailbox.tu-dresden.de>
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
1
sys/net/application_layer/unicoap/Makefile
Normal file
1
sys/net/application_layer/unicoap/Makefile
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
4
sys/net/application_layer/unicoap/Makefile.dep
Normal file
4
sys/net/application_layer/unicoap/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
ifneq (,$(filter unicoap,$(USEMODULE)))
|
||||
# Vectored data support
|
||||
USEMODULE += iolist
|
||||
endif
|
||||
1
sys/net/application_layer/unicoap/Makefile.include
Normal file
1
sys/net/application_layer/unicoap/Makefile.include
Normal file
@ -0,0 +1 @@
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user