Some guidance on this query,please.
I have a project with several freestanding application (please check topology below). I would like all the apps to acccess a custom board definition. I use the same zephyr west workspace for several projects so I would not like to follow the example-application T2: Star topology.
For that purpose I have added a zephyr/moudles.yml with the following parameters:
# Copyright (c) 2021 Nordic Semiconductor ASA # SPDX-License-Identifier: Apache-2.0 build: settings: # Additional roots for boards and DTS files. Zephyr will use the # `<board_root>/boards` for additional boards. The `.` is the root of this # repository. board_root: .
and also added below line to CMakeList.txt file of each app:
set(EXTRA_ZEPHYR_MODULES ../)
File Structure
<opt/zephyr>/ └──── zephyrproject/ ├─── .west/ │ └─── config ├── zephyr/ ├── bootloader/ ├── modules/ └── ... <home/user>/ └─── project/ |───app1/ | ├── CMakeLists.txt | ├── prj.conf | └── src/ | └── main.c |───app2/ | ├── CMakeLists.txt | ├── prj.conf | └── src/ | └── main.c |───app3/ | ├── CMakeLists.txt | ├── prj.conf | └── src/ | └── main.c | |───boards/arm/custom_board | └── ... | └── zephyr/ └── module.yml
Am I missing sth? Is this structure possible at all?
Thanks