net: openthread: New build options for OpenThread

Some options were available in the options.cmake but were not reflected
in Kconfig.
Added possibility to enable additional configuration options for OT.
Some of the options were left commented out as those options are not
yet supported e.g. require Thread 1.2 or require shim changes.
As openthread has gazillion configuration options that are passed as
define value, created generic option for passing any number of those
values separated with space.

Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>
This commit is contained in:
Marek Porwisz 2020-06-25 10:08:56 +02:00 committed by Anas Nashif
commit 83f7f81d8d
2 changed files with 55 additions and 1 deletions

View file

@ -325,4 +325,58 @@ config OPENTHREAD_REFERENCE_DEVICE
help help
Enable Thread Certification reference device support in OpenThread stack Enable Thread Certification reference device support in OpenThread stack
config OPENTHREAD_CHANNEL_MONITOR
bool "Enable channel monitor support"
config OPENTHREAD_CHANNEL_MANAGER
bool "Enable channel manager support"
depends on OPENTHREAD_CHANNEL_MONITOR
config OPENTHREAD_CHILD_SUPERVISION
bool "Enable child supervision support"
config OPENTHREAD_COAPS
bool "Enable secure coap api support"
depends on OPENTHREAD_COAP
config OPENTHREAD_DNS_CLIENT
bool "Enable DNS client support"
config OPENTHREAD_EXTERNAL_HEAP
bool "Enable external heap support"
config OPENTHREAD_IP6_FRAGM
bool "Enable ipv6 fragmentation support"
config OPENTHREAD_LEGACY
bool "Enable legacy network support"
config OPENTHREAD_LOG_LEVEL_DYNAMIC
bool "Enable dynamic log level control"
config OPENTHREAD_MAC_FILTER
bool "Enable mac filter support"
config OPENTHREAD_MTD_NETDIAG
bool "Enable TMF network diagnostics on MTDs"
config OPENTHREAD_PLATFORM_NETIF
bool "Enable platform netif support"
config OPENTHREAD_SETTINGS_RAM
bool "Enable volatile-only storage of settings"
config OPENTHREAD_SNTP_CLIENT
bool "Enable SNTP Client support"
config OPENTHREAD_CUSTOM_PARAMETERS
string "Custom Parameters to pass to OpenThread build system"
default ""
help
This option is intended for advanced users only.
Pass additional parameters that do not have corresponding Kconfig
options to the OpenThread build system. Separate multiple values with
space " ", for example:
"OPENTHREAD_CONFIG_JOINER_ENABLE=1 OPENTHREAD_CONFIG_JOINER_MAX_CANDIDATES=3"
endif endif

View file

@ -104,7 +104,7 @@ manifest:
revision: 29e516ec585b1a909af2b5f1c60d83e7d4d563e3 revision: 29e516ec585b1a909af2b5f1c60d83e7d4d563e3
path: modules/lib/loramac-node path: modules/lib/loramac-node
- name: openthread - name: openthread
revision: 44e3608c066910bd18b6dc808770496f967129af revision: e3b80d6e4c8d368c856dfce774bc792ffde54cfe
path: modules/lib/openthread path: modules/lib/openthread
- name: segger - name: segger
revision: 6fcf61606d6012d2c44129edc033f59331e268bc revision: 6fcf61606d6012d2c44129edc033f59331e268bc