-
Notifications
You must be signed in to change notification settings - Fork 74
[nrf toup][nrfconnect] Align OpenThread Kconfigs with Zephyr changes #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,7 +70,7 @@ config HEAP_MEM_POOL_IGNORE_MIN | |
|
|
||
| config CHIP_MALLOC_SYS_HEAP_SIZE | ||
| default 10240 if SOC_SERIES_NRF54LX # nRF54L requires more memory due to crypto backend | ||
| default 8192 if NET_L2_OPENTHREAD | ||
| default 8192 if OPENTHREAD | ||
|
|
||
| config MPSL_WORK_STACK_SIZE | ||
| default 2048 if SOC_SERIES_NRF54LX # nRF54L requires more memory due to crypto backend | ||
|
|
@@ -104,6 +104,8 @@ endif # MPSL | |
| # Zephyr networking configuration | ||
| # ============================================================================== | ||
|
|
||
| if NETWORKING | ||
|
|
||
| config NET_IPV6_MLD | ||
| default y | ||
|
|
||
|
|
@@ -135,6 +137,8 @@ config NET_BUF_TX_COUNT | |
| config NET_SOCKETS_POLL_MAX | ||
| default 6 if CHIP_WIFI | ||
|
|
||
| endif # NETWORKING | ||
|
|
||
| # ============================================================================== | ||
| # Bluetooth Low Energy configuration | ||
| # ============================================================================== | ||
|
|
@@ -260,7 +264,7 @@ config NRF_WIFI_FW_PATCH_DFU | |
| default y if NRF_WIFI_PATCHES_EXT_FLASH_STORE | ||
|
|
||
| # ============================================================================== | ||
| # OpenThread configuration | ||
| # OpenThread L2 configuration | ||
| # ============================================================================== | ||
|
|
||
| config NET_L2_OPENTHREAD | ||
|
|
@@ -272,6 +276,17 @@ if NET_L2_OPENTHREAD | |
| config IEEE802154_NRF5_RX_STACK_SIZE | ||
| default 1024 | ||
|
|
||
| endif # NET_L2_OPENTHREAD | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we change line 271:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently |
||
|
|
||
| # ============================================================================== | ||
| # OpenThread configuration | ||
| # ============================================================================== | ||
|
|
||
| config OPENTHREAD | ||
| default y if !WIFI_NRF70 | ||
|
|
||
| if OPENTHREAD | ||
|
|
||
| config OPENTHREAD_THREAD_STACK_SIZE | ||
| default 6144 if (PSA_CRYPTO_DRIVER_CC3XX && PSA_CRYPTO_DRIVER_OBERON) || PSA_CRYPTO_DRIVER_CRACEN | ||
| default 4096 | ||
|
|
@@ -281,7 +296,7 @@ config OPENTHREAD_DEFAULT_TX_POWER | |
| default 3 if SOC_SERIES_NRF53X | ||
| default 8 if SOC_SERIES_NRF52X || SOC_SERIES_NRF54LX | ||
|
|
||
| endif # NET_L2_OPENTHREAD | ||
| endif # OPENTHREAD | ||
|
|
||
| # ============================================================================== | ||
| # Wi-Fi configuration | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,14 +95,14 @@ if(CONFIG_CHIP) | |
| matter_add_gn_arg_bool("chip_progress_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 3) | ||
| matter_add_gn_arg_bool("chip_detail_logging" CONFIG_MATTER_LOG_LEVEL GREATER_EQUAL 4) | ||
| matter_add_gn_arg_bool("chip_automation_logging" FALSE) | ||
| matter_add_gn_arg_bool("chip_enable_openthread" CONFIG_NET_L2_OPENTHREAD) | ||
| matter_add_gn_arg_bool("chip_enable_openthread" CONFIG_OPENTHREAD) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will take some time after we would be able to upstream it I guess (due to TLink or others)..
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should work the same, as |
||
| matter_add_gn_arg_bool("chip_openthread_ftd" CONFIG_OPENTHREAD_FTD) | ||
| matter_add_gn_arg_bool("chip_inet_config_enable_ipv4" CONFIG_CHIP_IPV4) | ||
| matter_add_gn_arg_bool("chip_enable_wifi" CONFIG_WIFI) | ||
| matter_add_gn_arg_bool("chip_config_network_layer_ble" CONFIG_BT) | ||
| matter_add_gn_arg_bool("chip_mdns_minimal" CONFIG_WIFI) | ||
| matter_add_gn_arg_bool("chip_mdns_minimal" CONFIG_NET_L2_ETHERNET) | ||
| matter_add_gn_arg_bool("chip_mdns_platform" CONFIG_NET_L2_OPENTHREAD) | ||
| matter_add_gn_arg_bool("chip_mdns_platform" CONFIG_OPENTHREAD) | ||
| matter_add_gn_arg_bool("chip_inet_config_enable_tcp_endpoint" CONFIG_CHIP_BUILD_TESTS) | ||
| matter_add_gn_arg_bool("chip_malloc_sys_heap" CONFIG_CHIP_MALLOC_SYS_HEAP) | ||
| matter_add_gn_arg_bool("chip_inet_config_enable_tcp_endpoint" FALSE) | ||
|
|
@@ -122,7 +122,7 @@ if(CONFIG_CHIP) | |
| matter_add_gn_arg_string("chip_mdns" "minimal") | ||
| elseif(CONFIG_NET_L2_ETHERNET) | ||
| matter_add_gn_arg_string("chip_mdns" "minimal") | ||
| elseif(CONFIG_NET_L2_OPENTHREAD) | ||
| elseif(CONFIG_OPENTHREAD) | ||
| matter_add_gn_arg_string("chip_mdns" "platform") | ||
| else() | ||
| matter_add_gn_arg_string("chip_mdns" "none") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍