Skip to content

Commit

Permalink
tests: getaddrinfo: set newlib heap size
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Andrew Boie authored and jukkar committed Jun 19, 2019
1 parent 8a9ca0d commit 86586b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/net/socket/getaddrinfo/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86586b2

Please sign in to comment.