tests: net: lib: lwm2m: fix the missing float support

The tests `content_json` and `content_plain_test` depend on the float
support of libc. After PR##57340, Picolibc would be selected in
these two tests and the `PICOLIBC_IO_FLOAT` won't be selected if
the platform doesn't select `FPU`.

This commit select `CONFIG_PICOLIBC` and `CONFIG_PICOLIBC_IO_FLOAT`
for these two tests.

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
This commit is contained in:
Huifeng Zhang 2023-09-08 13:31:24 +08:00 committed by Anas Nashif
commit 662a14a25e
2 changed files with 4 additions and 0 deletions

View file

@ -9,3 +9,5 @@ CONFIG_LWM2M=y
CONFIG_LWM2M_COAP_MAX_MSG_SIZE=512
CONFIG_LWM2M_RW_JSON_SUPPORT=y
CONFIG_JSON_LIBRARY=y
CONFIG_PICOLIBC_IO_FLOAT=y

View file

@ -6,3 +6,5 @@ CONFIG_ZTEST_NEW_API=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_LWM2M=y
CONFIG_PICOLIBC_IO_FLOAT=y