Skip to content
Permalink
Browse files

tests: getaddrinfo: set newlib heap size

Some MPU systems require region power-of-two alignment
and can't automatically use remaining RAM for the newlib
heap. Set it for this case. Fixes this test on mps2_an385.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
  • Loading branch information...
andrewboie authored and jukkar committed May 6, 2019
1 parent 8a9ca0d commit 86586b2d8dae8ab535c7ffa5a34413f9ef27c17f
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/net/socket/getaddrinfo/prj.conf
@@ -32,6 +32,7 @@ CONFIG_ZTEST=y
# User mode requirements
CONFIG_TEST_USERSPACE=y
CONFIG_HEAP_MEM_POOL_SIZE=128
CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=256

# We do not need neighbor discovery etc for this test
CONFIG_NET_IPV6_DAD=n

0 comments on commit 86586b2

Please sign in to comment.
You can’t perform that action at this time.