diff --git a/tests/lib/cpp/cxx/prj.conf b/tests/lib/cpp/cxx/prj.conf index 76420fd7ca2..3e4cfd717d8 100644 --- a/tests/lib/cpp/cxx/prj.conf +++ b/tests/lib/cpp/cxx/prj.conf @@ -5,3 +5,9 @@ CONFIG_ZTEST_STACK_SIZE=2048 CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=128 CONFIG_ZTEST_NEW_API=y CONFIG_CRC=y + +# RTIO +CONFIG_RTIO=y +CONFIG_RTIO_SUBMIT_SEM=y +CONFIG_RTIO_CONSUME_SEM=y +CONFIG_RTIO_SYS_MEM_BLOCKS=y diff --git a/tests/lib/cpp/cxx/src/main.cpp b/tests/lib/cpp/cxx/src/main.cpp index 6428fe59e3d..0f9447337d3 100644 --- a/tests/lib/cpp/cxx/src/main.cpp +++ b/tests/lib/cpp/cxx/src/main.cpp @@ -79,6 +79,13 @@ #include #include +/* Add RTIO headers to make sure they're CXX compatible */ +#include +#include +#include +#include +#include + #include class foo_class {