diff --git a/samples/basic/hash_map/sample.yaml b/samples/basic/hash_map/sample.yaml index 40dec267473c0a3..ba625ffe32e6a3e 100644 --- a/samples/basic/hash_map/sample.yaml +++ b/samples/basic/hash_map/sample.yaml @@ -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 diff --git a/samples/drivers/crypto/prj.conf b/samples/drivers/crypto/prj.conf index 997396aa8a433ae..d00719602f06173 100644 --- a/samples/drivers/crypto/prj.conf +++ b/samples/drivers/crypto/prj.conf @@ -4,3 +4,4 @@ CONFIG_LOG=y CONFIG_LOG_MODE_MINIMAL=y CONFIG_MAIN_STACK_SIZE=4096 +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/samples/drivers/virtualization/ivshmem/doorbell/prj.conf b/samples/drivers/virtualization/ivshmem/doorbell/prj.conf index 84f4d6c4b18e052..d9b0c7662069856 100644 --- a/samples/drivers/virtualization/ivshmem/doorbell/prj.conf +++ b/samples/drivers/virtualization/ivshmem/doorbell/prj.conf @@ -12,3 +12,5 @@ CONFIG_POLL=y CONFIG_VIRTUALIZATION=y CONFIG_IVSHMEM=y CONFIG_IVSHMEM_DOORBELL=y + +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/samples/modules/tflite-micro/hello_world/prj.conf b/samples/modules/tflite-micro/hello_world/prj.conf index c4652d4f7c39423..e947c49796bbef1 100644 --- a/samples/modules/tflite-micro/hello_world/prj.conf +++ b/samples/modules/tflite-micro/hello_world/prj.conf @@ -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 diff --git a/samples/modules/tflite-micro/magic_wand/prj.conf b/samples/modules/tflite-micro/magic_wand/prj.conf index ff2119e62b8863d..58e475c153f1611 100644 --- a/samples/modules/tflite-micro/magic_wand/prj.conf +++ b/samples/modules/tflite-micro/magic_wand/prj.conf @@ -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 diff --git a/samples/modules/tflite-micro/tflm_ethosu/prj.conf b/samples/modules/tflite-micro/tflm_ethosu/prj.conf index e4d4947b2981b34..1f4f25f7b736e89 100644 --- a/samples/modules/tflite-micro/tflm_ethosu/prj.conf +++ b/samples/modules/tflite-micro/tflm_ethosu/prj.conf @@ -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 diff --git a/samples/modules/thrift/hello/client/prj.conf b/samples/modules/thrift/hello/client/prj.conf index 9ca8b3be5388451..cf40adc28a2849f 100644 --- a/samples/modules/thrift/hello/client/prj.conf +++ b/samples/modules/thrift/hello/client/prj.conf @@ -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 diff --git a/samples/modules/thrift/hello/server/prj.conf b/samples/modules/thrift/hello/server/prj.conf index 1aacd9d14d758fc..4f672d0f4faf84d 100644 --- a/samples/modules/thrift/hello/server/prj.conf +++ b/samples/modules/thrift/hello/server/prj.conf @@ -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 diff --git a/samples/net/cloud/tagoio_http_post/prj.conf b/samples/net/cloud/tagoio_http_post/prj.conf index cffd6feb142ac08..237ac772ff8fa67 100644 --- a/samples/net/cloud/tagoio_http_post/prj.conf +++ b/samples/net/cloud/tagoio_http_post/prj.conf @@ -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 diff --git a/samples/net/lwm2m_client/prj.conf b/samples/net/lwm2m_client/prj.conf index 20ec664e37dc13a..a3a43a614ef02fe 100644 --- a/samples/net/lwm2m_client/prj.conf +++ b/samples/net/lwm2m_client/prj.conf @@ -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 diff --git a/samples/net/openthread/coprocessor/prj.conf b/samples/net/openthread/coprocessor/prj.conf index da5ef9f637c9409..de6962ef6a0aa90 100644 --- a/samples/net/openthread/coprocessor/prj.conf +++ b/samples/net/openthread/coprocessor/prj.conf @@ -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 diff --git a/samples/net/wifi/prj.conf b/samples/net/wifi/prj.conf index de7de625340f1f5..656581b03a0bb19 100644 --- a/samples/net/wifi/prj.conf +++ b/samples/net/wifi/prj.conf @@ -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 diff --git a/samples/subsys/fs/littlefs/prj.conf b/samples/subsys/fs/littlefs/prj.conf index 673735fb0fd8115..8bbe833db7832fc 100644 --- a/samples/subsys/fs/littlefs/prj.conf +++ b/samples/subsys/fs/littlefs/prj.conf @@ -22,3 +22,5 @@ CONFIG_FLASH_PAGE_LAYOUT=y CONFIG_FILE_SYSTEM=y CONFIG_FILE_SYSTEM_LITTLEFS=y + +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf b/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf index b2db245ddd47052..4e951acb7afef3e 100644 --- a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf +++ b/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf @@ -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 diff --git a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-fs.conf b/samples/subsys/mgmt/mcumgr/smp_svr/overlay-fs.conf index 2acb7e839719c71..a8ce7f46b55490d 100644 --- a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-fs.conf +++ b/samples/subsys/mgmt/mcumgr/smp_svr/overlay-fs.conf @@ -8,3 +8,5 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2304 # Enable file system commands CONFIG_MCUMGR_GRP_FS=y + +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-serial.conf b/samples/subsys/mgmt/mcumgr/smp_svr/overlay-serial.conf index cf542238a48c58b..43728b69463ff8a 100644 --- a/samples/subsys/mgmt/mcumgr/smp_svr/overlay-serial.conf +++ b/samples/subsys/mgmt/mcumgr/smp_svr/overlay-serial.conf @@ -2,3 +2,4 @@ CONFIG_BASE64=y CONFIG_MCUMGR_TRANSPORT_UART=y CONFIG_CONSOLE=y +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/samples/subsys/mgmt/updatehub/prj.conf b/samples/subsys/mgmt/updatehub/prj.conf index 2a84998f36622b6..f8018b5dc17bf57 100644 --- a/samples/subsys/mgmt/updatehub/prj.conf +++ b/samples/subsys/mgmt/updatehub/prj.conf @@ -44,3 +44,5 @@ CONFIG_NET_SHELL=y # Debug helpers CONFIG_LOG=y #CONFIG_UPDATEHUB_LOG_LEVEL_DBG=y + +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/samples/subsys/shell/fs/prj.conf b/samples/subsys/shell/fs/prj.conf index 1f2863e0038a7b9..3a1e8ef2d56e6c8 100644 --- a/samples/subsys/shell/fs/prj.conf +++ b/samples/subsys/shell/fs/prj.conf @@ -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 diff --git a/samples/subsys/shell/fs/prj_flash_load.conf b/samples/subsys/shell/fs/prj_flash_load.conf index ae5e4d727e158dd..cc195e1f14def9d 100644 --- a/samples/subsys/shell/fs/prj_flash_load.conf +++ b/samples/subsys/shell/fs/prj_flash_load.conf @@ -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 diff --git a/samples/subsys/usb/mass/prj.conf b/samples/subsys/usb/mass/prj.conf index 0954afcd0eec0b1..a1a0767aae6e2f5 100644 --- a/samples/subsys/usb/mass/prj.conf +++ b/samples/subsys/usb/mass/prj.conf @@ -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 diff --git a/samples/synchronization/prj.conf b/samples/synchronization/prj.conf index f1a8e1201bd7feb..1b4eed6c3beafc7 100644 --- a/samples/synchronization/prj.conf +++ b/samples/synchronization/prj.conf @@ -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 diff --git a/tests/benchmarks/mbedtls/prj.conf b/tests/benchmarks/mbedtls/prj.conf index 6339cd45b17360f..b9ec730e0218de7 100644 --- a/tests/benchmarks/mbedtls/prj.conf +++ b/tests/benchmarks/mbedtls/prj.conf @@ -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 diff --git a/tests/crypto/mbedtls/prj.conf b/tests/crypto/mbedtls/prj.conf index 7532e84b251bf8b..4dfec9506e77161 100644 --- a/tests/crypto/mbedtls/prj.conf +++ b/tests/crypto/mbedtls/prj.conf @@ -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 diff --git a/tests/drivers/build_all/modem/modem_cellular.conf b/tests/drivers/build_all/modem/modem_cellular.conf index e541af07e2d3f9e..edabfac2ee5b848 100644 --- a/tests/drivers/build_all/modem/modem_cellular.conf +++ b/tests/drivers/build_all/modem/modem_cellular.conf @@ -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 diff --git a/tests/drivers/build_all/modem/modem_esp_at.conf b/tests/drivers/build_all/modem/modem_esp_at.conf index 01d4b62ba50e9e2..45ff58f95f32d6d 100644 --- a/tests/drivers/build_all/modem/modem_esp_at.conf +++ b/tests/drivers/build_all/modem/modem_esp_at.conf @@ -6,3 +6,4 @@ CONFIG_NETWORKING=y CONFIG_NET_SOCKETS=y CONFIG_NET_IPV4=y CONFIG_WIFI=y +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/drivers/build_all/modem/prj.conf b/tests/drivers/build_all/modem/prj.conf index bb5ccbec1bab82e..b8dc53de8f2e650 100644 --- a/tests/drivers/build_all/modem/prj.conf +++ b/tests/drivers/build_all/modem/prj.conf @@ -1,3 +1,4 @@ CONFIG_TEST=y CONFIG_TEST_USERSPACE=y CONFIG_SERIAL=y +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/kernel/common/prj.conf b/tests/kernel/common/prj.conf index a31c6961785938e..e7ead342d48cffd 100644 --- a/tests/kernel/common/prj.conf +++ b/tests/kernel/common/prj.conf @@ -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 diff --git a/tests/lib/cpp/cxx/prj.conf b/tests/lib/cpp/cxx/prj.conf index 70945ee8a6eb4fc..cdd6bd6f2fb4965 100644 --- a/tests/lib/cpp/cxx/prj.conf +++ b/tests/lib/cpp/cxx/prj.conf @@ -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 diff --git a/tests/lib/cpp/libcxx/prj.conf b/tests/lib/cpp/libcxx/prj.conf index fff9acb3adca156..6aab9feb4dd93ee 100644 --- a/tests/lib/cpp/libcxx/prj.conf +++ b/tests/lib/cpp/libcxx/prj.conf @@ -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 diff --git a/tests/lib/hash_map/prj.conf b/tests/lib/hash_map/prj.conf index 3b37f590afb1521..42cf5ec7b636b45 100644 --- a/tests/lib/hash_map/prj.conf +++ b/tests/lib/hash_map/prj.conf @@ -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 diff --git a/tests/lib/mem_alloc/prj.conf b/tests/lib/mem_alloc/prj.conf index d8d148b11448ab5..72b2e3b68cbac14 100644 --- a/tests/lib/mem_alloc/prj.conf +++ b/tests/lib/mem_alloc/prj.conf @@ -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 diff --git a/tests/lib/mem_alloc/prj_negative_testing.conf b/tests/lib/mem_alloc/prj_negative_testing.conf index 780ea37adc2c4d9..c6eed958322626c 100644 --- a/tests/lib/mem_alloc/prj_negative_testing.conf +++ b/tests/lib/mem_alloc/prj_negative_testing.conf @@ -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 diff --git a/tests/lib/mem_alloc/prj_picolibc.conf b/tests/lib/mem_alloc/prj_picolibc.conf index 090aa34134fba69..40b341b492ad4dd 100644 --- a/tests/lib/mem_alloc/prj_picolibc.conf +++ b/tests/lib/mem_alloc/prj_picolibc.conf @@ -2,3 +2,4 @@ CONFIG_ZTEST=y CONFIG_PICOLIBC=y CONFIG_TEST_USERSPACE=y CONFIG_ZTEST_NEW_API=y +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/modules/uoscore/prj.conf b/tests/modules/uoscore/prj.conf index 406324798ea30b0..5d3b69817ff625f 100644 --- a/tests/modules/uoscore/prj.conf +++ b/tests/modules/uoscore/prj.conf @@ -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 diff --git a/tests/net/all/prj.conf b/tests/net/all/prj.conf index bb40e71fca18780..42af88a671f0c0b 100644 --- a/tests/net/all/prj.conf +++ b/tests/net/all/prj.conf @@ -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 diff --git a/tests/net/lib/lwm2m/block_transfer/prj.conf b/tests/net/lib/lwm2m/block_transfer/prj.conf index f88f71b4d5de330..76a3a6d420dcc2a 100644 --- a/tests/net/lib/lwm2m/block_transfer/prj.conf +++ b/tests/net/lib/lwm2m/block_transfer/prj.conf @@ -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 diff --git a/tests/net/lib/lwm2m/content_json/prj.conf b/tests/net/lib/lwm2m/content_json/prj.conf index 7ff07df98975586..7cfb781b08b01a4 100644 --- a/tests/net/lib/lwm2m/content_json/prj.conf +++ b/tests/net/lib/lwm2m/content_json/prj.conf @@ -11,3 +11,4 @@ CONFIG_LWM2M_RW_JSON_SUPPORT=y CONFIG_JSON_LIBRARY=y CONFIG_PICOLIBC_IO_FLOAT=y +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/net/lib/lwm2m/content_link_format/prj.conf b/tests/net/lib/lwm2m/content_link_format/prj.conf index 952b54a4566a13b..5f085dc4813018f 100644 --- a/tests/net/lib/lwm2m/content_link_format/prj.conf +++ b/tests/net/lib/lwm2m/content_link_format/prj.conf @@ -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 diff --git a/tests/net/lib/lwm2m/content_oma_tlv/prj.conf b/tests/net/lib/lwm2m/content_oma_tlv/prj.conf index 6041addad83722f..4c683ed7e4221ac 100644 --- a/tests/net/lib/lwm2m/content_oma_tlv/prj.conf +++ b/tests/net/lib/lwm2m/content_oma_tlv/prj.conf @@ -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 diff --git a/tests/net/lib/lwm2m/content_plain_text/prj.conf b/tests/net/lib/lwm2m/content_plain_text/prj.conf index 877c969958f6cea..0ded1e8b03f7f23 100644 --- a/tests/net/lib/lwm2m/content_plain_text/prj.conf +++ b/tests/net/lib/lwm2m/content_plain_text/prj.conf @@ -8,3 +8,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y CONFIG_LWM2M=y CONFIG_PICOLIBC_IO_FLOAT=y +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/net/lib/lwm2m/content_raw_cbor/prj.conf b/tests/net/lib/lwm2m/content_raw_cbor/prj.conf index 64ab6f89d22a9c6..bff8449348ca5d0 100644 --- a/tests/net/lib/lwm2m/content_raw_cbor/prj.conf +++ b/tests/net/lib/lwm2m/content_raw_cbor/prj.conf @@ -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 diff --git a/tests/net/lib/lwm2m/content_senml_cbor/prj.conf b/tests/net/lib/lwm2m/content_senml_cbor/prj.conf index 27a8364af58871d..dfa2a7e942db9e3 100644 --- a/tests/net/lib/lwm2m/content_senml_cbor/prj.conf +++ b/tests/net/lib/lwm2m/content_senml_cbor/prj.conf @@ -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 diff --git a/tests/net/lib/lwm2m/engine/prj.conf b/tests/net/lib/lwm2m/engine/prj.conf index 4477075056a55a0..38935f0661a51da 100644 --- a/tests/net/lib/lwm2m/engine/prj.conf +++ b/tests/net/lib/lwm2m/engine/prj.conf @@ -8,3 +8,4 @@ CONFIG_TEST_RANDOM_GENERATOR=y CONFIG_LWM2M=y CONFIG_LWM2M_COAP_MAX_MSG_SIZE=512 +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/net/lib/lwm2m/lwm2m_registry/prj.conf b/tests/net/lib/lwm2m/lwm2m_registry/prj.conf index 4d5e497fe8df6ee..ec286e7b8e42878 100644 --- a/tests/net/lib/lwm2m/lwm2m_registry/prj.conf +++ b/tests/net/lib/lwm2m/lwm2m_registry/prj.conf @@ -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 diff --git a/tests/net/lib/mqtt_publisher/prj.conf b/tests/net/lib/mqtt_publisher/prj.conf index 32ad6f7cfd86b01..369c683cb882d5e 100644 --- a/tests/net/lib/mqtt_publisher/prj.conf +++ b/tests/net/lib/mqtt_publisher/prj.conf @@ -33,3 +33,5 @@ CONFIG_NET_BUF_DATA_SIZE=256 CONFIG_ZTEST=y CONFIG_ZTEST_NEW_API=y + +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/net/lib/mqtt_publisher/prj_tls.conf b/tests/net/lib/mqtt_publisher/prj_tls.conf index 9e575d1bc07e7cf..3934072b4749d01 100644 --- a/tests/net/lib/mqtt_publisher/prj_tls.conf +++ b/tests/net/lib/mqtt_publisher/prj_tls.conf @@ -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 diff --git a/tests/net/socket/offload_dispatcher/prj.conf b/tests/net/socket/offload_dispatcher/prj.conf index 0d185939cec8c6a..42a4d42fc32ae71 100644 --- a/tests/net/socket/offload_dispatcher/prj.conf +++ b/tests/net/socket/offload_dispatcher/prj.conf @@ -19,3 +19,5 @@ CONFIG_MBEDTLS_ENABLE_HEAP=y CONFIG_TEST_USERSPACE=y CONFIG_TEST_RANDOM_GENERATOR=y + +CONFIG_COMMON_LIBC_MALLOC=y diff --git a/tests/net/socket/register/prj.conf b/tests/net/socket/register/prj.conf index 36da34741ce71d0..9c930e61e9b2923 100644 --- a/tests/net/socket/register/prj.conf +++ b/tests/net/socket/register/prj.conf @@ -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 diff --git a/tests/net/socket/tls_ext/prj.conf b/tests/net/socket/tls_ext/prj.conf index 5d8e65e8c700d88..e4c38f90a88a1be 100644 --- a/tests/net/socket/tls_ext/prj.conf +++ b/tests/net/socket/tls_ext/prj.conf @@ -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 diff --git a/tests/subsys/fs/littlefs/prj.conf b/tests/subsys/fs/littlefs/prj.conf index 9ccaa0d458950ab..ee9e77369c15141 100644 --- a/tests/subsys/fs/littlefs/prj.conf +++ b/tests/subsys/fs/littlefs/prj.conf @@ -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. diff --git a/tests/subsys/fs/multi-fs/prj.conf b/tests/subsys/fs/multi-fs/prj.conf index 7a2b28cffed0906..ea1af29a126740a 100644 --- a/tests/subsys/fs/multi-fs/prj.conf +++ b/tests/subsys/fs/multi-fs/prj.conf @@ -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 diff --git a/tests/subsys/fs/multi-fs/prj_fs_shell.conf b/tests/subsys/fs/multi-fs/prj_fs_shell.conf index aa2c4cfd79ca7d7..f5567c14898458b 100644 --- a/tests/subsys/fs/multi-fs/prj_fs_shell.conf +++ b/tests/subsys/fs/multi-fs/prj_fs_shell.conf @@ -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 diff --git a/tests/subsys/logging/log_backend_fs/prj.conf b/tests/subsys/logging/log_backend_fs/prj.conf index 4f0984364c4d645..a9622bc61ca6525 100644 --- a/tests/subsys/logging/log_backend_fs/prj.conf +++ b/tests/subsys/logging/log_backend_fs/prj.conf @@ -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 diff --git a/tests/subsys/storage/flash_map/overlay-mbedtls.conf b/tests/subsys/storage/flash_map/overlay-mbedtls.conf index 0d18fba5d3b344d..85ef90c39013e02 100644 --- a/tests/subsys/storage/flash_map/overlay-mbedtls.conf +++ b/tests/subsys/storage/flash_map/overlay-mbedtls.conf @@ -1 +1,2 @@ CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS=y +CONFIG_COMMON_LIBC_MALLOC=y