Skip to content

Commit

Permalink
net: lwm2m: Need heap for native_sim
Browse files Browse the repository at this point in the history
When using tickless mode, the socketpair()
seem to use heap by default on native_sim, so
add some space for it.

Signed-off-by: Seppo Takalo <[email protected]>
  • Loading branch information
SeppoTakalo authored and kartben committed Dec 20, 2024
1 parent 0806c9c commit 341f781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/net/lwm2m_client/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="192.0.2.2"
CONFIG_LWM2M_DNS_SUPPORT=y
CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_ZVFS_OPEN_MAX=16
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/interop/boards/native_sim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME=y
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
CONFIG_ASAN=y
CONFIG_NATIVE_EXTRA_CMDLINE_ARGS="--seed-random"
CONFIG_HEAP_MEM_POOL_SIZE=32768
CONFIG_ZVFS_OPEN_MAX=16

0 comments on commit 341f781

Please sign in to comment.