Skip to content

Commit 35a6a72

Browse files
JordanYatesnordicjm
authored andcommitted
lib: lte_link_control: request HEAP size
Registering LTE event handlers requires HEAP to succeed, as `lte_lc_register_handler` calls into `k_malloc`. Signed-off-by: Jordan Yates <[email protected]>
1 parent 74a722b commit 35a6a72

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/lte_link_control/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ menuconfig LTE_LINK_CONTROL
1414

1515
if LTE_LINK_CONTROL
1616

17+
config HEAP_MEM_POOL_ADD_SIZE_LTE_LINK_CONTROL
18+
int "Heap required for event handlers"
19+
default 32
20+
help
21+
Extra heap size required for allocating event handlers.
22+
Default is enough for 4 handlers.
23+
1724
# Modules: these Kconfig options enable specific features of the library.
1825

1926
config LTE_LC_CONN_EVAL_MODULE

0 commit comments

Comments
 (0)