zephyr/tests/lib/cbprintf_fp
Filip Kokosinski 1903756888 tests/lib/cbprintf_fp: add hifive1.conf
This commit sets `CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE=2048` for the
SiFive HiFive1 board. Otherwise, the test fails on the following assert
from Newlib:

memory space available for newlib heap is less than the minimum required
size specified by CONFIG_NEWLIB_LIBC_MIN_REQUIRED_HEAP_SIZE

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-04-02 14:31:39 +01:00
..
boards tests/lib/cbprintf_fp: add hifive1.conf 2024-04-02 14:31:39 +01:00
src samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
Kconfig
prj.conf tests: lib: cbprintf_fp: enable CONFIG_TEST in the test suite 2021-03-04 14:53:27 -05:00
README.txt
testcase.yaml tests: cbprintf: fix test meta data and components 2023-10-11 14:19:40 +03:00

Footprint and Behavior Test for cbprintf variants
#################################################

This ensures that formatted output to the console works as expected with
minimal libc and newlib versions with printk, printf, and cbprintf.

Footprint data can be obtained with:

    for f in sanity-out/*/tests/lib/cbprintf_fp/benchmark.cbprintf_fp.*/build.log ; do
      basename $(dirname $f)
      sed -n '/Memory/,/^\[/p' < $f
    done