Thanks, but the lines you've added are not enough. It seems that ./src line in zephyr_include_directories is mandatory for build to be able to find qp_config.h This line is set in CMakeLists.txt coming with qpc zephyr examples (see qpc/examples/zephyr/dpp/CMakeLists.txt) but not in qpc-zephyr-app CMakeLists.txt
Thank you for the super-quick answer and solution Talking about demo projects - their CMakeLists.txt also need a small fix (this diff is for qpc, the same for qpcc except QPC variable): diff --git a/CMakeLists.txt b/CMakeLists.txt index 571cf3f..b0ae1dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,12 @@ target_sources(app PRIVATE src/table.c ) +zephyr_include_directories( + ${QPC}/include + ${QPC}/zephyr + ./src +) + # option to turn QSPY software tracing ON or OFF # NOTE: Typically...
Hi I'm trying to build a demo app (namely qpc-zephyr-app) for qpc 7.3.2 and the latest Zephyr. The build ends up with the following error: qf_port.c: In function 'QActive_start_': qf_port.c:150:38: error: 'qp_prio' undeclared (first use in this function) 150 | int zephyr_prio = (int)((int16_t)qp_prio >> 8); Analyzing qf_port.c i suppose that prioSpec should be used instead of qp_prio. After this change the build is successfull and the app works as expected. But i'm still not sure whether this change...