Skip to content

Commit 0f7da9c

Browse files
eivindj-nordicjorgenmk
authored andcommitted
samples: net: increase CONFIG_HEAP_MEM_POOL_SIZE to 1280
Increase CONFIG_HEAP_MEM_POOL_SIZE to 1280 for samples that previously used a lower value as it is required by the zephyr kernel. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent db38991 commit 0f7da9c

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,15 @@ Matter samples
373373
Networking samples
374374
------------------
375375

376-
* Updated the following samples to use the :ref:`lib_downloader` library instead of the :ref:`lib_download_client` library:
376+
* Updated:
377+
378+
* The :kconfig:option:`CONFIG_HEAP_MEM_POOL_SIZE` Kconfig option value to ``1280`` for all networking samples that had it set to a lower value.
379+
This is a requirement from zephyr and removes a build warning.
380+
* The following samples to use the :ref:`lib_downloader` library instead of the :ref:`lib_download_client` library:
377381

378-
* :ref:`aws_iot`
379-
* :ref:`azure_iot_hub`
380-
* :ref:`download_sample`
382+
* :ref:`aws_iot`
383+
* :ref:`azure_iot_hub`
384+
* :ref:`download_sample`
381385

382386
NFC samples
383387
-----------

samples/net/azure_iot_hub/boards/native_sim.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77
# Heap and stacks
8-
CONFIG_HEAP_MEM_POOL_SIZE=1024
8+
CONFIG_HEAP_MEM_POOL_SIZE=1280
99

1010
# Networking config
1111
CONFIG_NET_TCP=y

samples/net/download/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ CONFIG_NET_CONNECTION_MANAGER=y
1313
CONFIG_NET_SOCKETS=y
1414
CONFIG_POSIX_API=y
1515
CONFIG_NET_IPV4=y
16-
CONFIG_HEAP_MEM_POOL_SIZE=1024
16+
CONFIG_HEAP_MEM_POOL_SIZE=1280
1717
CONFIG_MBEDTLS_LEGACY_CRYPTO_C=y

samples/net/https_client/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77
# General
8-
CONFIG_HEAP_MEM_POOL_SIZE=1024
8+
CONFIG_HEAP_MEM_POOL_SIZE=1280
99
CONFIG_MAIN_STACK_SIZE=4096
1010

1111
# Logging

samples/net/udp/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ CONFIG_POSIX_API=y
1616
CONFIG_NET_CONNECTION_MANAGER=y
1717

1818
# Heap and stacks
19-
CONFIG_HEAP_MEM_POOL_SIZE=1024
19+
CONFIG_HEAP_MEM_POOL_SIZE=1280
2020
CONFIG_MAIN_STACK_SIZE=4096
2121
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

0 commit comments

Comments
 (0)