I'm trying to migrate my project from the child/parent build system to the new sysbuild system in Zephyr, and I'm finding it a bit unclear. I came across a helpful post that partially explains how to structure the new project. Let me start by showing my current project, which has a structure similar to the one described in the post I found:
CMakeLists.txt
is:
prj.conf
is:
child_image/mcuboot/prj.conf
is:
child_image/mcuboot/board/gravity_sensor.conf
is:
From what I understand, the first step is to delete the child_image
folder, create a sysbuild
folder, and add a sysbuild.conf
file. But what exactly should I include in these two elements, and what modifications, if any, do I need to make to prj.conf
and CMakeLists.txt
?
Following the post I found, I modified the project as follows:
CMakeLists.txt
is:
prj.conf
is:
sysbuild/mcuboot/prj.conf
is void and sysbuild.conf
is:
sysbuild/mcuboot/board/gravity_sensor.conf
is:
However, when I try to build the project, I still get an error:
What am I doing wrong?