Hello,
I used to be working with the nrf sdk 2.7.0. For running unit tests for my project I build and run the unit test application for qemu_cortex_m3 like this:
west build --build-dir ./tests/fusa_api/build ./tests/fusa_api -b qemu_cortex_m3 -t run
For some reason, since I updated to nrf sdk 2.9.0 the build output tells me that no "run" target has been created.
Can anyone tell me what I need to do here?
Log output: Setting ZEPHYR_BASE to "C:/ncs/v2.9.0/zephyr" Setting ZEPHYR_TOOLCHAIN_VARIANT to "zephyr" Setting CMAKE_PREFIX_PATH to "C:/ncs/toolchains/b620d30767/opt" -- west build: generating a build system Loading Zephyr module(s) (Zephyr base): sysbuild_default -- Found Python3: C:/Brose/hecketo/EE/git/project/.venv/Scripts/python.exe (found suitable version "3.12.9", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache -- Found west (found suitable version "1.3.0", minimum required is "0.14.0") -- Board: qemu_cortex_m3, qualifiers: ti_lm3s6965 Parsing C:/ncs/v2.9.0/zephyr/share/sysbuild/Kconfig Loaded configuration 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/_sysbuild/empty.conf' Merged configuration 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/_sysbuild/empty.conf' Configuration saved to 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/zephyr/.config' Kconfig header saved to 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/_sysbuild/autoconf.h' -- ****************************** * Running CMake for fusa_api * ****************************** Loading Zephyr default modules (Zephyr base). -- Application: C:/user/hecketo/EE/git/project/tests/fusa_api -- CMake version: 3.24.2 -- Using NCS Toolchain 2.8.20241119.782234748775 for building. (C:/ncs/toolchains/b620d30767/cmake) -- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter -- Cache files will be written to: C:/ncs/v2.9.0/zephyr/.cache -- Zephyr version: 3.7.99 (C:/ncs/v2.9.0/zephyr) -- Found west (found suitable version "1.2.0", minimum required is "0.14.0") -- Board: qemu_cortex_m3, qualifiers: ti_lm3s6965 -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk) -- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") -- Found BOARD.dts: C:/ncs/v2.9.0/zephyr/boards/qemu/cortex_m3/qemu_cortex_m3.dts -- Generated zephyr.dts: C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/zephyr/zephyr.dts -- Generated devicetree_generated.h: C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/zephyr/include/generated/zephyr/devicetree_generated.h -- Including generated dts.cmake file: C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/zephyr/dts.cmake Parsing C:/user/hecketo/EE/git/project/tests/fusa_api/Kconfig Loaded configuration 'C:/ncs/v2.9.0/zephyr/boards/qemu/cortex_m3/qemu_cortex_m3_defconfig' Merged configuration 'C:/user/hecketo/EE/git/project/tests/fusa_api/prj.conf' Merged configuration 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/zephyr/.config.sysbuild' Configuration saved to 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/zephyr/.config' Kconfig header saved to 'C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/zephyr/include/generated/zephyr/autoconf.h' -- Found GnuLd: c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- The ASM compiler identification is GNU -- Found assembler: C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe -- Setting build type to 'MinSizeRel' as none was specified. -- Generating test runner C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api/runner/runner_main.c -- Configuring done -- Generating done -- Build files have been written to: C:/user/hecketo/EE/git/project/tests/fusa_api/build/fusa_api -- Configuring done -- Generating done -- Build files have been written to: C:/user/hecketo/EE/git/project/tests/fusa_api/build ←[92m-- west build: running target run ←[0mninja: error: unknown target 'run', did you mean 'all'? FATAL ERROR: command exited with status 1: 'C:\Program Files\T_cygwin~VRR1\T_cygwin\opt\cmake\bin\cmake.EXE' --build C:/user/hecketo/EE/git/project/tests/fusa_api/build --target run
BR, Tom