Skip to content

Commit

Permalink
samples, tests: Enable COMMON_LIBC_MALLOC where needed
Browse files Browse the repository at this point in the history
When malloc is not available by default, applications which use it will
need to explicitly enable it in their configuration file.

Signed-off-by: Keith Packard <[email protected]>
  • Loading branch information
keith-packard committed Sep 28, 2023
1 parent 2d38c09 commit c483bf6
Show file tree
Hide file tree
Showing 54 changed files with 78 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/basic/hash_map/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ tests:
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
- CONFIG_SYS_HASH_MAP_CHOICE_SC=y
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
- CONFIG_COMMON_LIBC_MALLOC=y
libraries.hash_map.picolibc.open_addressing.djb2:
extra_configs:
- CONFIG_PICOLIBC=y
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
- CONFIG_SYS_HASH_MAP_CHOICE_OA_LP=y
- CONFIG_SYS_HASH_FUNC32_CHOICE_DJB2=y
- CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/drivers/crypto/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_LOG=y
CONFIG_LOG_MODE_MINIMAL=y

CONFIG_MAIN_STACK_SIZE=4096
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/drivers/virtualization/ivshmem/doorbell/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_POLL=y
CONFIG_VIRTUALIZATION=y
CONFIG_IVSHMEM=y
CONFIG_IVSHMEM_DOORBELL=y

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/modules/tflite-micro/hello_world/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ CONFIG_CPP=y
CONFIG_STD_CPP17=y
CONFIG_TENSORFLOW_LITE_MICRO=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/modules/tflite-micro/magic_wand/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ CONFIG_SENSOR=y
CONFIG_NETWORKING=n
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_TENSORFLOW_LITE_MICRO=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/modules/tflite-micro/tflm_ethosu/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CONFIG_TENSORFLOW_LITE_MICRO=y
CONFIG_ARM_ETHOS_U=y
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_LOG=y
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/modules/thrift/hello/client/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096
CONFIG_IDLE_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=8192

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/modules/thrift/hello/server/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096
CONFIG_IDLE_STACK_SIZE=4096
CONFIG_NET_RX_STACK_SIZE=8192

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/net/cloud/tagoio_http_post/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CONFIG_MAIN_STACK_SIZE=4096
# C Library
# Default use minimal libc and with COMMON_LIBC_MALLOC_ARENA_SIZE defining
# HEAP size (512 bytes) are enough to run DNS.
CONFIG_COMMON_LIBC_MALLOC=y
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=4096

# Networking config
Expand Down
2 changes: 2 additions & 0 deletions samples/net/lwm2m_client/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
# Longer endpoint name might be returned in a registration reply
CONFIG_COAP_EXTENDED_OPTIONS_LEN=y
CONFIG_COAP_EXTENDED_OPTIONS_LEN_VALUE=40

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/net/openthread/coprocessor/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ CONFIG_OPENTHREAD_BORDER_AGENT=y
CONFIG_OPENTHREAD_BORDER_ROUTER=y
CONFIG_OPENTHREAD_UDP_FORWARD=y
CONFIG_OPENTHREAD_ENABLE_SERVICE=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/net/wifi/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ CONFIG_NET_STATISTICS_PERIODIC_OUTPUT=n
CONFIG_WIFI=y
CONFIG_WIFI_LOG_LEVEL_ERR=y
CONFIG_NET_L2_WIFI_SHELL=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/fs/littlefs/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ CONFIG_FLASH_PAGE_LAYOUT=y

CONFIG_FILE_SYSTEM=y
CONFIG_FILE_SYSTEM_LITTLEFS=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ CONFIG_CLOCK_CONTROL_NRF_SHELL=n
CONFIG_DEVICE_SHELL=n
CONFIG_DEVMEM_SHELL=n
CONFIG_FLASH_SHELL=n

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/mgmt/mcumgr/smp_svr/overlay-fs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304

# Enable file system commands
CONFIG_MCUMGR_GRP_FS=y

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/subsys/mgmt/mcumgr/smp_svr/overlay-serial.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
CONFIG_BASE64=y
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_CONSOLE=y
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/mgmt/updatehub/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ CONFIG_NET_SHELL=y
# Debug helpers
CONFIG_LOG=y
#CONFIG_UPDATEHUB_LOG_LEVEL_DBG=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/shell/fs/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_FILE_SYSTEM_SHELL=y
CONFIG_FILE_SYSTEM_LITTLEFS=y
CONFIG_FLASH_MAP=y
CONFIG_FLASH_PAGE_LAYOUT=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/shell/fs/prj_flash_load.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE=128
CONFIG_FILE_SYSTEM_LITTLEFS=y
CONFIG_FLASH_MAP=y
CONFIG_FLASH_PAGE_LAYOUT=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions samples/subsys/usb/mass/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_MAIN_STACK_SIZE=1536

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions samples/synchronization/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_STDOUT_CONSOLE=y
# enable to use thread names
CONFIG_THREAD_NAME=y
CONFIG_SCHED_CPU_MASK=y
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/benchmarks/mbedtls/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ CONFIG_MBEDTLS_ECDH_C=y
CONFIG_MBEDTLS_ECDSA_C=y
CONFIG_MBEDTLS_ECJPAKE_C=y
CONFIG_MBEDTLS_ECP_C=y

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/crypto/mbedtls/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ CONFIG_ZTEST_NEW_API=y
CONFIG_TEST_USERSPACE=y
CONFIG_MINIMAL_LIBC_NON_REENTRANT_FUNCTIONS=y
CONFIG_MINIMAL_LIBC_RAND=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/drivers/build_all/modem/modem_cellular.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_NETWORKING=y
CONFIG_NET_L2_PPP=y
CONFIG_MODEM=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/drivers/build_all/modem/modem_esp_at.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_IPV4=y
CONFIG_WIFI=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/drivers/build_all/modem/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_TEST=y
CONFIG_TEST_USERSPACE=y
CONFIG_SERIAL=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/kernel/common/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ CONFIG_IRQ_OFFLOAD=y
CONFIG_TEST_USERSPACE=y
CONFIG_BOUNDS_CHECK_BYPASS_MITIGATION=y
CONFIG_ZTEST_NEW_API=y
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/lib/cpp/cxx/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ CONFIG_RTIO=y
CONFIG_RTIO_SUBMIT_SEM=y
CONFIG_RTIO_CONSUME_SEM=y
CONFIG_RTIO_SYS_MEM_BLOCKS=y

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/lib/cpp/libcxx/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_ZTEST=y
CONFIG_ZTEST_STACK_SIZE=5120
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=32768
CONFIG_ZTEST_NEW_API=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/lib/hash_map/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ CONFIG_SYS_HASH_FUNC32=y
CONFIG_SYS_HASH_MAP=y

CONFIG_TEST_LIB_HASH_MAP_MAX_ENTRIES=40
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/lib/mem_alloc/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_ZTEST=y
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=2048
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_NEW_API=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/lib/mem_alloc/prj_negative_testing.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_ZTEST=y
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=0
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_NEW_API=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/lib/mem_alloc/prj_picolibc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ CONFIG_ZTEST=y
CONFIG_PICOLIBC=y
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_NEW_API=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/modules/uoscore/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=2048
CONFIG_MBEDTLS_ZEPHYR_ENTROPY=y
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/all/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -659,3 +659,5 @@ CONFIG_SHELL_MQTT_INIT_LOG_LEVEL_ERR=y
#CONFIG_NET_UTILS_LOG_LEVEL_INF
#CONFIG_NET_UTILS_LOG_LEVEL_OFF
#CONFIG_NET_UTILS_LOG_LEVEL_WRN

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/lib/lwm2m/block_transfer/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_LWM2M=y
CONFIG_LWM2M_COAP_BLOCK_TRANSFER=y
CONFIG_LWM2M_COAP_BLOCK_SIZE=64
CONFIG_LWM2M_COAP_ENCODE_BUFFER_SIZE=256

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/content_json/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ CONFIG_LWM2M_RW_JSON_SUPPORT=y
CONFIG_JSON_LIBRARY=y

CONFIG_PICOLIBC_IO_FLOAT=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/content_link_format/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_LWM2M=y
CONFIG_LWM2M_RW_JSON_SUPPORT=y
CONFIG_JSON_LIBRARY=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/content_oma_tlv/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ CONFIG_ZTEST_NEW_API=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_LWM2M=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/content_plain_text/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_LWM2M=y

CONFIG_PICOLIBC_IO_FLOAT=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/content_raw_cbor/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_LWM2M=y
CONFIG_LWM2M_VERSION_1_1=y
CONFIG_LWM2M_RW_CBOR_SUPPORT=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/content_senml_cbor/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ CONFIG_LWM2M_VERSION_1_1=y
CONFIG_LWM2M_RW_CBOR_SUPPORT=y
CONFIG_LWM2M_RW_SENML_CBOR_SUPPORT=y
CONFIG_ZCBOR_CANONICAL=y
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/lib/lwm2m/engine/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y

CONFIG_LWM2M=y
CONFIG_LWM2M_COAP_MAX_MSG_SIZE=512
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/lib/lwm2m/lwm2m_registry/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ CONFIG_LWM2M_IPSO_TEMP_SENSOR_VERSION_1_1=y
CONFIG_LWM2M_IPSO_TEMP_SENSOR_INSTANCE_COUNT=4
CONFIG_LWM2M_CONN_MON_OBJ_SUPPORT=y
CONFIG_LWM2M_CONNMON_OBJECT_VERSION_1_2=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/lib/mqtt_publisher/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ CONFIG_NET_BUF_DATA_SIZE=256

CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/lib/mqtt_publisher/prj_tls.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ CONFIG_MBEDTLS_HEAP_SIZE=30000
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y

CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/socket/offload_dispatcher/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ CONFIG_MBEDTLS_ENABLE_HEAP=y

CONFIG_TEST_USERSPACE=y
CONFIG_TEST_RANDOM_GENERATOR=y

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/net/socket/register/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_NET_MAX_CONTEXTS=10
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/net/socket/tls_ext/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ CONFIG_POSIX_MAX_FDS=8
# Stack sizes
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ZTEST_STACK_SIZE=4096

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/subsys/fs/littlefs/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CONFIG_MAIN_STACK_SIZE=4096

# Performance tests need custom buffer allocation
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=8192
CONFIG_COMMON_LIBC_MALLOC=y

# FS abstraction layer is noisy so it's off. Turn it on to see the
# littlefs configuration parameters.
Expand Down
1 change: 1 addition & 0 deletions tests/subsys/fs/multi-fs/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ CONFIG_ZTEST_STACK_SIZE=4096
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/subsys/fs/multi-fs/prj_fs_shell.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ CONFIG_ZTEST_STACK_SIZE=4096
CONFIG_ZTEST=y
CONFIG_ZTEST_NEW_API=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_COMMON_LIBC_MALLOC=y
2 changes: 2 additions & 0 deletions tests/subsys/logging/log_backend_fs/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ CONFIG_MAIN_STACK_SIZE=2048
CONFIG_ZTEST_STACK_SIZE=4096
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=4096

CONFIG_COMMON_LIBC_MALLOC=y
1 change: 1 addition & 0 deletions tests/subsys/storage/flash_map/overlay-mbedtls.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS=y
CONFIG_COMMON_LIBC_MALLOC=y

0 comments on commit c483bf6

Please sign in to comment.