Issue integrating freestanding Zephyr module with sysbuild

Hello,
I'm experiencing an issue integrating a freestanding Zephyr module with the sysbuild system. The module defines custom boards and projects. When I use the standard Zephyr build process (without --sysbuild), everything works correctly. However, when I try to use sysbuild, I encounter problems with custom board visibility (it just don't see the board). 

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. 

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.   

Could you help me?
 
Parents Reply Children
Related