Hi
We are currently porting a project with a custom board and custom netcore image to sysbuild.
My current problem is, that we have a custom project for the netcore image which was added to the appcore project via CMakeLists.txt and add_child_image.
How is this done via sysbuild nowadays?
The former child image needs to be build during appcore build and added to the domain netcore so sysbuild recognizes it.
I tried it with the sysbuild cmake file:
ExternalZephyrProject_Add(
APPLICATION net_core
SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../netcore-project"
BOARD pan_ng_module/nrf5340/cpunet
)
set_property(GLOBAL PROPERTY DOMAIN_APP_CPUNET net_core)
set(CPUNET_PM_DOMAIN_DYNAMIC_PARTITION net_core CACHE INTERNAL "")
add_dependencies(${DEFAULT_IMAGE} net_core)But then there is the net_provision.hex which I don't know why it is produced!
Do I need to define the image for the netcore domain differently?
Thanks for any hint!
Cheers,
Thilo