Dear All,
What I need is to be able to perform a DFU on a nRF52840 device that has a UART connection to nRF9160 device that can download the bin file for the nRF52840 device.
I have seen that there are 3 main threads on the topic:
https://devzone.nordicsemi.com/f/nordic-q-a/90110/send-dfu-image-between-two-nrf5340
https://devzone.nordicsemi.com/f/nordic-q-a/79779/firmware-update-ota-of-nrf9160-by-ble-nrf52840-and-update-nrf52840-by-fota-of-nrf9160/330275
RE: Perform NRF52840 OTA over the NRF9160 and UART
From what I gather from the posts above, there was a pull-request at some point that is now closed that was doing exactly what I am looking for.
I have tried to implement the changes described on this pull request and tried to compile initially a very basic project for the nRF52840.
At the very start of the build process, I am getting this error:
Found assembler: C:/zephyr-sdk-0.15.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
usage: zcbor.py [-h] [--version] -c CDDL [--default-max-qty DEFAULT_MAX_QTY]
[--no-prelude] [-v]
{code,convert} ...
zcbor.py: error: the following arguments are required: -c/--cddl
CMake Error at C:/ncs/nrf/subsys/dfu/dfu_target/src/dfu_target_uart_cddl/CMakeLists.txt:19 (execute_process):
execute_process failed command indexes:
1: "Child return code: 2"
-- Configuring incomplete, errors occurred!
←[91mFATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' '-DWEST_PYTHON=C:\Python311\python.exe' '-BC:\Users\Desktop\nRF52\build' -GNinja -DBOARD=nrf52840dk_nrf52840 -DSIGNED=Signed '-SC:\Users\Desktop\nRF52'
←[0mAny ideas what do I need to do in order to fix this and move on with allowing the application to compile?
I am using NCS v2.1.0 running on Windows