I added ZEPHYR_EXTRA_MODULES IN CmakeList.txt, that's why non sysbuild process works. I also tried to add the same to sysbuild.cmake, but doesn't help.
Could you help me?
Hi,
I added ZEPHYR_EXTRA_MODULES IN CmakeList.txt, that's why non sysbuild process works. I also tried to add the same to sysbuild.cmake, but doesn't help.
Can you show the content of your CMakeLists.txt file when process works and sysbuild.cmake when it does not work?
When I add switch -DZEPHYR_EXTRA_MODULES=<path> then it works, but my concern is I don't understand why i sysbuild doesn't "see" my variables.
Can you show where and how you added -DZEPHYR_EXTRA_MODULES=<path>?
Best regards,
Dejan
hey ;)
west build -p auto -d ${BUILD_DIR} -b custom_board --sysbuild -s "$PWD/../" -- -DEXTRA_ZEPHYR_MODULES="$PWD/../OOTModule
set(FIRMWARE_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../..") list(APPEND EXTRA_ZEPHYR_MODULES "${FIRMWARE_ROOT_DIR}/OOTModule" ) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
Hi,
Maybe you could try using ExternalZephyrProject_Add(). There is information in the documentation on adding Zephyr applications to sysbuild.
Best regards,
Dejan
Hey, I tried to use it with the same results. I believe the problem is related witch fetching custom board by sysbuild.
Hey, I tried to use it with the same results. I believe the problem is related witch fetching custom board by sysbuild.
Hi,
Can you show how you tried to use ExternalZephyrProject_Add()?
Can you show your build command?
Can you provide results when using --sysbuild with and without ExternalZephyrProject_Add()?
Which NCS version do you use?
Best regards,
Dejan