: 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
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
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