: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function) 65 | #define PM__mcuboot_secondary_ID PM_MCUBOOT_SECONDARY_ID
Could you please assist me in creating a DTM project, that is updatable via dfu mode?
Thank you very much,
: error: 'PM_MCUBOOT_SECONDARY_ID' undeclared (first use in this function) 65 | #define PM__mcuboot_secondary_ID PM_MCUBOOT_SECONDARY_ID
Hi Edvin,
thank you for looking in to this.
The nrf5340 will be part of another product and enable new features for our users.
We want to have various apps that the user can cycle through on our products: the user will select an "app" and it will be pushed to the nrf5340 in the background via USB dfe from a linux host.
The DTM mode will be one such application, which will only be available for a select view users (mainly internal testing, production chain, certification labs, etc.).
We have this workflow working for other applications, but the DTM applications does not yet work.
We use the Ublox Nora B - I've included the boards directory for this board.
I've also included the modified sample code.
Please do not hesitate to contact me, if you have any further questions.
If you send me a DM I can also give you my company contact informations.
dtm_and_dfe_together.tar.gz
Just to be clear, it is the direct_test_mode, and not the sample_code_remote_shell we are trying to build?
What is your build command? "west build -b ubc_evknorab10_nrf5340/nrf5340/cpuapp" ? or some additional build flags?
Best regards,
Edvin
And what NCS version?
Yes, exactly, the direct_test_mode is the project we are trying to build.
If I copy the sample_code in to the nrf/samples/nrf5340/remote_shell directory, I actually get the DTM application to show up in dfu - alas only the Ramdisk.
This is my west build command, as generated by VS Code nrf connect plugin:
west build --build-dir /home/user/workspace/nrf-bluetooth/direct_test_mode/build /home/user/workspace/nrf-bluetooth/direct_test_mode --pristine --board ubx_evknorab10/nrf5340/cpunet --sysbuild -- -DBOARD_ROOT="/home/user/workspace/nrf-bluetooth"
Oh sorry, overlooked this:
SDK: nRF Connect SDK v3.1.1
Toolchain: nRF Connect SDK Toolchain v3.1.0
I see this:
Parsing C:/nordic/SDKs/ncs/v3.1.1/nrf/samples/nrf5340/direct_test_mode/Kconfig.sysbuild C:/nordic/SDKs/ncs/v3.1.1/zephyr/scripts/kconfig/kconfig.py: C:/nordic/SDKs/ncs/v3.1.1/nrf/samples/nrf5340/direct_test_mode/Kconfig.sysbuild:67: 'C:/nordic/SDKs/ncs/v3.1.1/nrf/samples/nrf5340/direct_test_mode\../common/usb/Kconfig.sample_usbd' not found (in 'rsource "../common/usb/Kconfig.sample_usbd"')
Outside the application folder, what "common" folder is it trying to point to? Where exactly do I need to place the direct_test_mode folder?
You said you place it in the nrf\samples\nrf5340\remote_shell directory, but this does not have a "common" folder in it's parent folder.
Best regards,
Edvin
Ah, sorry - I missed the "common" directory.
It is however just some effort on my side to try to get all files that the project needs out of the SDK folder and in to the repository.
This came together, because I had problem described in this ticket and I tried to "copy" all files in to the repo, that the original direct_test_mode project needs.
Please find attached the an archive with this common directory included.
I am very sorry to have missed this the first round...dtm_and_dfe_together_v2.tar.gz
Ah, sorry - I missed the "common" directory.
It is however just some effort on my side to try to get all files that the project needs out of the SDK folder and in to the repository.
This came together, because I had problem described in this ticket and I tried to "copy" all files in to the repo, that the original direct_test_mode project needs.
Please find attached the an archive with this common directory included.
I am very sorry to have missed this the first round...dtm_and_dfe_together_v2.tar.gz
No worries. I didn't get the time to look into these today, but I will try next week.
Best regards,
Edvin
Ok, just tried building the sample now, using NVS v3.1.1 (and toolchain 3.1.1), and it built without any errors.
I used the command:
west build -b ubx_evknorab10/nrf5340/cpunet -d build -- -DBOARD_ROOT="../."
Can you try to update the toolchain to v3.1.1 as well?
Best regards,
Edvin
Hi Edvin,
Thank you again for looking in to this .
YES, the project - as is - builds successfully.
This was however not the issue or the question I was trying to ask:
the problem is how to get DTM and DFU working together.
I am unclear how we can modify the DTM code to add USB-DFU functionality to it.
Also, how we can get west to use local sources, e.g. while building I get a warning:
57/242] Building C object CMakeFiles/app.dir/src/main.c.obj
/home/user/ncs/v3.1.1/nrf/samples/nrf5340/remote_shell/src/main.c: In function 'main':
/home/user/ncs/v3.1.1/nrf/samples/nrf5340/remote_shell/src/main.c:138:15: warning: implicit declaration of function 'dfu_init' [-Wimplicit-function-declaration]
138 | err = dfu_init();
| ^~~~~~~~
Here you see that nrf connect uses "main.c" from the "samples" directory, I would however like that this code would exist locally in our git repository and that west does use source code from other folders.
---
After flashing the project it shows up in the "dfu-util" utility:
user:~/workspace/nrf-bluetooth/direct_test_mode(user.dfu_and_dtm)$ sudo dfu-util -l dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ Found Runtime: [2fe3:0001] ver=0401, devnum=35, cfg=1, intf=2, path="3-7.4.5", alt=0, name="UNKNOWN", serial="8924B12F028AA082"
However, the chip can not successfully be flashed:
user:~/workspace/nrf-bluetooth/direct_test_mode(user.dfu_and_dtm)$ sudo dfu-util --alt 0 --download build/direct_test_mode/zephyr/zephyr.signed.bin dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: Warning: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release Opening DFU capable USB device... Device ID 2fe3:0001 Run-Time device DFU version 0110 Claiming USB DFU (Run-Time) Interface... Setting Alternate Interface zero... Determining device status... DFU state(0) = appIDLE, status(0) = No error condition is present Device really in Run-Time Mode, send DFU detach request... Device will detach and reattach... Opening DFU USB Device... Claiming USB DFU Interface... Setting Alternate Interface #0 ... Determining device status... DFU state(2) = dfuIDLE, status(0) = No error condition is present DFU mode device DFU version 0110 Device returned transfer size 512 Copying data from PC to DFU device Download [ ] 0% 0 bytesdfu-util: Error during download (LIBUSB_ERROR_PIPE)
It seems that the dfu functionality is not "present" once the device is detached.
Could you please assist us in getting DTM working together with DFU mode?
Hello,
The challenge here is that the direct test mode is running on the network core. You probably already flashed the app core with the empty_app_core sample, which basically starts up the network core and shuts down.
You may actually want to look into modifying this into the empty app core. But if you want to be able to DFU back and forth between direct test mode, then you need a DFU image that contains the empty app core and the direct test mode for the network core. So much like the BLE samples would automatically build the IPC radio sample for the network core on the nRF5340, you would need your empty_app_core sample to automatically include the direct test mode for the network core, and then add DFU to your empty_app_core.
To add USB DFU to an application, you can reference this DevAcademy course. Note that it says that if you want USB DFU from the application, you should go straight to step 5.
The solution to the exercise is found here:
https://github.com/NordicDeveloperAcademy/ncs-inter/tree/main/l9/l9_e4_sol
simeg said:Here you see that nrf connect uses "main.c" from the "samples" directory, I would however like that this code would exist locally in our git repository and that west does use source code from other folders.
If I understand correctly, you want to maintain your application on github, and just make it point to the nRF Connect SDK for the rest of the files, right?
That is possible. If you have nrfutil installed, you can use the command:
nrfutil sdk-manager toolchain env --as-script --ncs-version v3.1.1
Then copy the output into a file called e.g. ncs_v3_1_1.cmd
Then add this line at the end:
SET ZEPHYR_BASE=C:\nordic\SDKs\ncs\v3.1.1\zephyr
(but with the path to your NCS's zephyr folder)
Then add this script to path, and you can call "ncs_v3_1_1.cmd" from anywhere, and you can use it to build. You can also place application folder's outside the nRF Connect SDK and build it in VS Code.
Best regards,
Edvin
Hi Edvin,
I got a step further by trying a different approach:
instead of starting from the DTM sample I took the Remote IPC shell as a starting point and grafted the direct test mode on to it.
I named the resulting project "dtm_remote_shell".
This approach allowed me to compile the project and get DFU (app-core only) mode together with DTM.
However, for our scenario we will have to upgrade both app- and netcore together, and this led to the problem I am having now:
if I enable NETCORE_APP_UPDATE and the related configs, b0n shows up in the images, but I get following error:
**************************************
* Running CMake for dtm_remote_shell *
**************************************
Loading Zephyr default modules (Zephyr base).
-- Application: /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell
-- CMake version: 3.21.0
-- Found Python3: /home/simeg/ncs/toolchains/b2ecd2435d/usr/local/bin/python (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /home/simeg/.cache/zephyr
-- Zephyr version: 4.1.99 (/home/simeg/ncs/v3.1.1/zephyr)
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
-- Board: nrf5340dk, qualifiers: nrf5340/cpuapp
-- Found host-tools: zephyr 0.17.0 (/home/simeg/ncs/toolchains/b2ecd2435d/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (/home/simeg/ncs/toolchains/b2ecd2435d/opt/zephyr-sdk)
-- Found Dtc: /home/simeg/ncs/toolchains/b2ecd2435d/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/simeg/ncs/v3.1.1/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/boards/nrf5340dk_nrf5340_cpuapp.overlay
-- Generated zephyr.dts: /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell/zephyr/zephyr.dts
-- Generated pickled edt: /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell/zephyr/include/generated/zephyr/devicetree_generated.h
warning: STDOUT_CONSOLE (defined at lib/libc/Kconfig:156) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: CONSOLE_HAS_DRIVER (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_STDOUT_CONSOLE and/or look up
STDOUT_CONSOLE in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.
warning: LOG_BACKEND_UART (defined at subsys/logging/backends/Kconfig.uart:4) was assigned the value
'y' but got the value 'n'. Check these unsatisfied dependencies: UART_CONSOLE (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BACKEND_UART and/or look up
LOG_BACKEND_UART in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.
warning: The choice symbol USB_DRIVER_LOG_LEVEL_ERR (defined at
subsys/logging/Kconfig.template.log_config:11) was selected (set =y), but no symbol ended up as the
choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DRIVER_LOG_LEVEL_ERR and/or look up
USB_DRIVER_LOG_LEVEL_ERR in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.
warning: The choice symbol USB_DEVICE_LOG_LEVEL_ERR (defined at
subsys/logging/Kconfig.template.log_config:11) was selected (set =y), but no symbol ended up as the
choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USB_DEVICE_LOG_LEVEL_ERR and/or look up
USB_DEVICE_LOG_LEVEL_ERR in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.
warning: Experimental symbol UDC_DRIVER is enabled.
warning: Experimental symbol USB_DEVICE_STACK_NEXT is enabled.
Parsing /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/Kconfig
Loaded configuration '/home/simeg/ncs/v3.1.1/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig'
Merged configuration '/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/prj.conf'
Merged configuration '/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell/zephyr/.config.sysbuild'
Configuration saved to '/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell/zephyr/.config'
Kconfig header saved to '/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /home/simeg/ncs/toolchains/b2ecd2435d/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/simeg/ncs/toolchains/b2ecd2435d/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- libmetal version: 1.7.0 (/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell)
-- Build type:
-- Host: Linux/x86_64
-- Target: Generic/arm
-- Machine: arm
-- Vendor: none
-- Looking for include file stdatomic.h
-- Looking for include file stdatomic.h - found
-- open-amp version: 1.7.0 (/home/simeg/ncs/v3.1.1/modules/lib/open-amp/open-amp)
-- Host: Linux/x86_64
-- Target: Generic/arm
-- Machine: arm
-- C_FLAGS : -Wall -Wextra
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Using ccache: /home/simeg/ncs/toolchains/b2ecd2435d/usr/bin/ccache
-- Found gen_kobject_list: /home/simeg/ncs/v3.1.1/zephyr/scripts/build/gen_kobject_list.py
CMake Warning at /home/simeg/ncs/v3.1.1/zephyr/CMakeLists.txt:1027 (message):
No SOURCES given to Zephyr library: drivers__disk
Excluding target from build.
-- Including signing script: /home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/image_signing.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/dtm_remote_shell
CMake Warning at /home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/debug_keys.cmake:27 (message):
--------------------------------------------------------------
--- WARNING: Using generated NSIB public/private key-pair. ---
--- It should not be used for production. ---
--- See SB_CONFIG_SECURE_BOOT_SIGNING_KEY_FILE ---
--------------------------------------------------------------
Call Stack (most recent call first):
/home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/provision_hex.cmake:11 (include)
/home/simeg/ncs/v3.1.1/nrf/sysbuild/CMakeLists.txt:55 (include)
/home/simeg/ncs/v3.1.1/nrf/sysbuild/CMakeLists.txt:777 (include_provision_hex)
cmake/modules/sysbuild_extensions.cmake:598 (nrf_POST_CMAKE)
cmake/modules/sysbuild_extensions.cmake:598 (cmake_language)
cmake/modules/sysbuild_images.cmake:46 (sysbuild_module_call)
cmake/modules/sysbuild_default.cmake:21 (include)
/home/simeg/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
/home/simeg/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
/home/simeg/ncs/v3.1.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
CMake Warning at /home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/partition_manager.cmake:119 (message):
---------------------------------------------------------------------
--- WARNING: Using a bootloader without pm_static.yml. ---
--- There are cases where a deployed product can consist of ---
--- multiple images, and only a subset of these images can be ---
--- upgraded through a firmware update mechanism. In such cases, ---
--- the upgradable images must have partitions that are static ---
--- and are matching the partition map used by the bootloader ---
--- programmed onto the device. ---
---------------------------------------------------------------------
Call Stack (most recent call first):
/home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/partition_manager.cmake:636 (partition_manager)
/home/simeg/ncs/v3.1.1/nrf/sysbuild/CMakeLists.txt:825 (include)
cmake/modules/sysbuild_extensions.cmake:598 (nrf_POST_CMAKE)
cmake/modules/sysbuild_extensions.cmake:598 (cmake_language)
cmake/modules/sysbuild_images.cmake:46 (sysbuild_module_call)
cmake/modules/sysbuild_default.cmake:21 (include)
/home/simeg/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
/home/simeg/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
/home/simeg/ncs/v3.1.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
Traceback (most recent call last):
File "/home/simeg/ncs/v3.1.1/nrf/scripts/partition_manager.py", line 1054, in <module>
main()
File "/home/simeg/ncs/v3.1.1/nrf/scripts/partition_manager.py", line 1022, in main
args, ranges_configuration = parse_args()
^^^^^^^^^^^^
File "/home/simeg/ncs/v3.1.1/nrf/scripts/partition_manager.py", line 928, in parse_args
parser.add_argument(f'--{x}-size', required=True, type=lambda z: int(z, 0))
File "/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/lib/python3.12/argparse.py", line 1495, in add_argument
return self._add_action(action)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/lib/python3.12/argparse.py", line 1877, in _add_action
self._optionals._add_action(action)
File "/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/lib/python3.12/argparse.py", line 1697, in _add_action
action = super(_ArgumentGroup, self)._add_action(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/lib/python3.12/argparse.py", line 1509, in _add_action
self._check_conflict(action)
File "/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/lib/python3.12/argparse.py", line 1646, in _check_conflict
conflict_handler(action, confl_optionals)
File "/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/lib/python3.12/argparse.py", line 1655, in _handle_conflict_error
raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --sram_primary-size: conflicting option string: --sram_primary-size
CMake Error at /home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/partition_manager.cmake:179 (message):
Partition Manager failed, aborting. Command:
/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/bin/python3.12;/home/simeg/ncs/v3.1.1/nrf/scripts/partition_manager.py;--input-files;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/b0n/zephyr/include/generated/pm.yml;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/b0n/modules/nrf/subsys/partition_manager/pm.yml.secure_boot_storage;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/zephyr/include/generated/pm.yml;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/b0n/zephyr/include/generated/pm.yml;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/b0n/modules/nrf/subsys/partition_manager/pm.yml.secure_boot_storage;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/zephyr/include/generated/pm.yml;--regions;sram_primary;flash_primary;sram_primary;flash_primary;--output-partitions;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/partitions_CPUNET.yml;--output-regions;/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/regions_CPUNET.yml;--flash_primary-dynamic-partition;direct_test_mode;--sram_primary-size;0x10000;--sram_primary-base-address;0x21000000;--sram_primary-placement-strategy;complex;--sram_primary-dynamic-partition;sram_primary;--flash_primary-size;0x40000;--flash_primary-base-address;0x1000000;--flash_primary-placement-strategy;complex;--flash_primary-device;flash_controller;--flash_primary-default-driver-kconfig;CONFIG_SOC_FLASH_NRF;--sram_primary-size;0x10000;--sram_primary-base-address;0x21000000;--sram_primary-placement-strategy;complex;--sram_primary-dynamic-partition;sram_primary;--flash_primary-size;0x40000;--flash_primary-base-address;0x1000000;--flash_primary-placement-strategy;complex;--flash_primary-device;flash_controller;--flash_primary-default-driver-kconfig;CONFIG_SOC_FLASH_NRF
Call Stack (most recent call first):
/home/simeg/ncs/v3.1.1/nrf/cmake/sysbuild/partition_manager.cmake:639 (partition_manager)
/home/simeg/ncs/v3.1.1/nrf/sysbuild/CMakeLists.txt:825 (include)
cmake/modules/sysbuild_extensions.cmake:598 (nrf_POST_CMAKE)
cmake/modules/sysbuild_extensions.cmake:598 (cmake_language)
cmake/modules/sysbuild_images.cmake:46 (sysbuild_module_call)
cmake/modules/sysbuild_default.cmake:21 (include)
/home/simeg/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
/home/simeg/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
/home/simeg/ncs/v3.1.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: /home/simeg/ncs/toolchains/b2ecd2435d/usr/local/bin/cmake -DWEST_PYTHON=/home/simeg/ncs/toolchains/b2ecd2435d/usr/local/bin/python3.12 -B/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell/build_1 -GNinja -DBOARD=nrf5340dk/nrf5340/cpuapp -S/home/simeg/ncs/v3.1.1/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/simeg/workspace/nrf-bluetooth/dtm_remote_shell
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
When I look at the build directory and search for the different sram-primary definitions it seems to lign up and also the indicated CMake command (from the build output) does not acually show any discrepancies.
I seem close to have this project building in the desired state - mind to look in to it once more?dtm_remote_shell.tar.gz