-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13243 from leandrolanzieri/pr/kconfig_migrate/net…
…/nanocoap net/nanocoap: Expose configurations to Kconfig
- Loading branch information
Showing
11 changed files
with
98 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) 2020 HAW Hamburg | ||
# | ||
# 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. | ||
# | ||
menu "CoAP" | ||
|
||
rsource "gcoap/Kconfig" | ||
rsource "nanocoap/Kconfig" | ||
|
||
endmenu # CoAP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright (c) 2020 HAW Hamburg | ||
# | ||
# 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. | ||
# | ||
|
||
# Nanocoap provides CoAP functionalities | ||
config MODULE_NANOCOAP | ||
select HAS_PROTOCOL_COAP | ||
|
||
menuconfig KCONFIG_MODULE_NANOCOAP | ||
bool "Configure Nanocoap module" | ||
depends on MODULE_NANOCOAP | ||
|
||
if KCONFIG_MODULE_NANOCOAP | ||
|
||
config NANOCOAP_NOPTS_MAX | ||
int "Maximum number of options in a message" | ||
default 16 | ||
|
||
config NANOCOAP_URI_MAX | ||
int "Maximum length of a resource path" | ||
default 64 | ||
help | ||
Maximum length of a resource path string read from or written to a | ||
message. | ||
|
||
config NANOCOAP_BLOCK_SIZE_EXP_MAX | ||
int "Maximum size for a blockwise fransfer (as exponent of 2^n)" | ||
default 6 | ||
|
||
config NANOCOAP_QS_MAX | ||
int "Maximum length of a query string written to a message" | ||
default 64 | ||
|
||
endif # KCONFIG_MODULE_NANOCOAP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters