forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: net: Add support for 54H target
Add support for 54H target Signed-off-by: Triveni Danda <[email protected]>
- Loading branch information
Showing
16 changed files
with
440 additions
and
8 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
96 changes: 96 additions & 0 deletions
96
samples/net/aws_iot/boards/nrf54h20dk_nrf54h20_cpuapp.conf
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,96 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Wi-Fi | ||
CONFIG_WIFI=y | ||
CONFIG_WIFI_NRF70=y | ||
|
||
# WPA supplicant | ||
CONFIG_WIFI_NM_WPA_SUPPLICANT=y | ||
CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y | ||
|
||
# Networking | ||
CONFIG_NET_L2_ETHERNET=y | ||
CONFIG_NET_SOCKETS=y | ||
CONFIG_NET_IPV6=y | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_DNS_RESOLVER=y | ||
CONFIG_DNS_RESOLVER_AI_MAX_ENTRIES=4 | ||
|
||
# NET sockets | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_MAX_CONN=6 | ||
CONFIG_NET_MAX_CONTEXTS=5 | ||
CONFIG_NET_SOCKETS_POLL_MAX=8 | ||
CONFIG_NET_SOCKETS_OFFLOAD=n | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_NET_CONTEXT_SNDTIMEO=y | ||
CONFIG_NET_CONTEXT_RCVTIMEO=y | ||
CONFIG_NET_MAX_CONTEXTS=3 | ||
|
||
# NET buffers | ||
CONFIG_NET_PKT_TX_COUNT=6 | ||
CONFIG_NET_PKT_RX_COUNT=6 | ||
CONFIG_NET_BUF_TX_COUNT=12 | ||
CONFIG_NET_BUF_RX_COUNT=6 | ||
CONFIG_NRF70_RX_NUM_BUFS=6 | ||
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=4096 | ||
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=4096 | ||
CONFIG_NRF70_MAX_TX_AGGREGATION=1 | ||
|
||
# MQTT | ||
CONFIG_MQTT_HELPER_PROVISION_CERTIFICATES=y | ||
|
||
# Kernel options | ||
CONFIG_POSIX_NETWORKING=y | ||
CONFIG_POSIX_MAX_FDS=21 | ||
|
||
# Shell | ||
CONFIG_SHELL=y | ||
CONFIG_SHELL_CMDS_RESIZE=n | ||
CONFIG_NET_L2_WIFI_SHELL=y | ||
|
||
# TLS | ||
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y | ||
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=1 | ||
CONFIG_NRF_SECURITY=y | ||
CONFIG_MBEDTLS=y | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=n | ||
CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y | ||
CONFIG_TLS_CREDENTIALS=y | ||
CONFIG_TLS_CREDENTIALS_BACKEND_VOLATILE=y | ||
CONFIG_MBEDTLS_TLS_LIBRARY=y | ||
CONFIG_TRUSTED_STORAGE=y | ||
CONFIG_FLASH=y | ||
CONFIG_FLASH_PAGE_LAYOUT=y | ||
CONFIG_FLASH_MAP=y | ||
CONFIG_ZMS=y | ||
CONFIG_SETTINGS=y | ||
|
||
# Stack sizes | ||
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=2048 | ||
CONFIG_NET_TX_STACK_SIZE=2048 | ||
CONFIG_NET_RX_STACK_SIZE=2048 | ||
CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024 | ||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=3100 | ||
CONFIG_NRF70_IRQ_WQ_STACK_SIZE=1024 | ||
CONFIG_NRF70_BH_WQ_STACK_SIZE=2300 | ||
CONFIG_SHELL_STACK_SIZE=4400 | ||
CONFIG_ISR_STACK_SIZE=512 | ||
|
||
# Heap sizes | ||
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=50000 | ||
CONFIG_HEAP_MEM_POOL_SIZE=87000 | ||
|
||
# POSIX API memory optimizations | ||
CONFIG_POSIX_FD_MGMT=n | ||
CONFIG_POSIX_MESSAGE_PASSING=n | ||
CONFIG_POSIX_THREAD_THREADS_MAX=0 |
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
96 changes: 96 additions & 0 deletions
96
samples/net/azure_iot_hub/boards/nrf54h20dk_nrf54h20_cpuapp.conf
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,96 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Wi-Fi | ||
CONFIG_WIFI=y | ||
CONFIG_WIFI_NRF70=y | ||
|
||
# WPA supplicant | ||
CONFIG_WIFI_NM_WPA_SUPPLICANT=y | ||
CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y | ||
|
||
# Networking | ||
CONFIG_NET_L2_ETHERNET=y | ||
CONFIG_NET_SOCKETS=y | ||
CONFIG_NET_IPV6=y | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_DNS_RESOLVER=y | ||
CONFIG_DNS_RESOLVER_AI_MAX_ENTRIES=4 | ||
|
||
# NET sockets | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_MAX_CONN=6 | ||
CONFIG_NET_MAX_CONTEXTS=5 | ||
CONFIG_NET_SOCKETS_POLL_MAX=8 | ||
CONFIG_NET_SOCKETS_OFFLOAD=n | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_NET_CONTEXT_SNDTIMEO=y | ||
CONFIG_NET_CONTEXT_RCVTIMEO=y | ||
CONFIG_NET_MAX_CONTEXTS=3 | ||
|
||
# NET buffers | ||
CONFIG_NET_PKT_TX_COUNT=6 | ||
CONFIG_NET_PKT_RX_COUNT=6 | ||
CONFIG_NET_BUF_TX_COUNT=12 | ||
CONFIG_NET_BUF_RX_COUNT=6 | ||
CONFIG_NRF70_RX_NUM_BUFS=6 | ||
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=4096 | ||
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=4096 | ||
CONFIG_NRF70_MAX_TX_AGGREGATION=1 | ||
|
||
# MQTT | ||
CONFIG_MQTT_HELPER_PROVISION_CERTIFICATES=y | ||
|
||
# Kernel options | ||
CONFIG_POSIX_NETWORKING=y | ||
CONFIG_POSIX_MAX_FDS=21 | ||
|
||
# Shell | ||
CONFIG_SHELL=y | ||
CONFIG_SHELL_CMDS_RESIZE=n | ||
CONFIG_NET_L2_WIFI_SHELL=y | ||
|
||
# TLS | ||
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y | ||
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=1 | ||
CONFIG_NRF_SECURITY=y | ||
CONFIG_MBEDTLS=y | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=n | ||
CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y | ||
CONFIG_TLS_CREDENTIALS=y | ||
CONFIG_TLS_CREDENTIALS_BACKEND_VOLATILE=y | ||
CONFIG_MBEDTLS_TLS_LIBRARY=y | ||
CONFIG_TRUSTED_STORAGE=y | ||
CONFIG_FLASH=y | ||
CONFIG_FLASH_PAGE_LAYOUT=y | ||
CONFIG_FLASH_MAP=y | ||
CONFIG_ZMS=y | ||
CONFIG_SETTINGS=y | ||
|
||
# Stack sizes | ||
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=2048 | ||
CONFIG_NET_TX_STACK_SIZE=2048 | ||
CONFIG_NET_RX_STACK_SIZE=2048 | ||
CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024 | ||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=3100 | ||
CONFIG_NRF70_IRQ_WQ_STACK_SIZE=1024 | ||
CONFIG_NRF70_BH_WQ_STACK_SIZE=2300 | ||
CONFIG_SHELL_STACK_SIZE=4400 | ||
CONFIG_ISR_STACK_SIZE=512 | ||
|
||
# Heap sizes | ||
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=50000 | ||
CONFIG_HEAP_MEM_POOL_SIZE=87000 | ||
|
||
# POSIX API memory optimizations | ||
CONFIG_POSIX_FD_MGMT=n | ||
CONFIG_POSIX_MESSAGE_PASSING=n | ||
CONFIG_POSIX_THREAD_THREADS_MAX=0 |
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
95 changes: 95 additions & 0 deletions
95
samples/net/https_client/boards/nrf54h20dk_nrf54h20_cpuapp.conf
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,95 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Wi-Fi | ||
CONFIG_WIFI=y | ||
CONFIG_WIFI_NRF70=y | ||
|
||
# WPA supplicant | ||
CONFIG_WIFI_NM_WPA_SUPPLICANT=y | ||
CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y | ||
|
||
# Networking | ||
CONFIG_NET_L2_ETHERNET=y | ||
CONFIG_NET_SOCKETS=y | ||
CONFIG_NET_IPV6=y | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_DNS_RESOLVER=y | ||
CONFIG_DNS_RESOLVER_AI_MAX_ENTRIES=4 | ||
|
||
# NET sockets | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_MAX_CONN=6 | ||
CONFIG_NET_MAX_CONTEXTS=5 | ||
CONFIG_NET_SOCKETS_POLL_MAX=8 | ||
CONFIG_NET_SOCKETS_OFFLOAD=n | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_NET_CONTEXT_SNDTIMEO=y | ||
CONFIG_NET_CONTEXT_RCVTIMEO=y | ||
CONFIG_NET_MAX_CONTEXTS=3 | ||
|
||
# NET buffers | ||
CONFIG_NET_PKT_TX_COUNT=6 | ||
CONFIG_NET_PKT_RX_COUNT=6 | ||
CONFIG_NET_BUF_TX_COUNT=12 | ||
CONFIG_NET_BUF_RX_COUNT=6 | ||
CONFIG_NRF70_RX_NUM_BUFS=6 | ||
CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE=4096 | ||
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE=4096 | ||
CONFIG_NRF70_MAX_TX_AGGREGATION=1 | ||
|
||
# Kernel options | ||
CONFIG_POSIX_NETWORKING=y | ||
CONFIG_POSIX_MAX_FDS=21 | ||
|
||
# Shell | ||
CONFIG_SHELL=y | ||
CONFIG_SHELL_CMDS_RESIZE=n | ||
CONFIG_NET_L2_WIFI_SHELL=y | ||
|
||
# TLS | ||
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y | ||
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=1 | ||
CONFIG_NRF_SECURITY=y | ||
CONFIG_MBEDTLS=y | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=n | ||
CONFIG_MBEDTLS_SSL_SERVER_NAME_INDICATION=y | ||
CONFIG_TLS_CREDENTIALS=y | ||
CONFIG_TLS_CREDENTIALS_BACKEND_VOLATILE=y | ||
CONFIG_MBEDTLS_RSA_C=y | ||
CONFIG_MBEDTLS_TLS_LIBRARY=y | ||
CONFIG_TRUSTED_STORAGE=y | ||
|
||
CONFIG_FLASH=y | ||
CONFIG_FLASH_PAGE_LAYOUT=y | ||
CONFIG_FLASH_MAP=y | ||
CONFIG_ZMS=y | ||
CONFIG_SETTINGS=y | ||
|
||
# Stack sizes | ||
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=2048 | ||
CONFIG_NET_TX_STACK_SIZE=2048 | ||
CONFIG_NET_RX_STACK_SIZE=2048 | ||
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096 | ||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=3100 | ||
CONFIG_NRF70_IRQ_WQ_STACK_SIZE=1024 | ||
CONFIG_NRF70_BH_WQ_STACK_SIZE=2300 | ||
CONFIG_SHELL_STACK_SIZE=4400 | ||
CONFIG_ISR_STACK_SIZE=512 | ||
|
||
# Heap sizes | ||
CONFIG_HEAP_MEM_POOL_IGNORE_MIN=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=70000 | ||
CONFIG_HEAP_MEM_POOL_SIZE=87000 | ||
|
||
# POSIX API memory optimizations | ||
CONFIG_POSIX_FD_MGMT=n | ||
CONFIG_POSIX_MESSAGE_PASSING=n | ||
CONFIG_POSIX_THREAD_THREADS_MAX=0 |
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
Oops, something went wrong.