Is there some way to configure nrfutil to produce the *.dat and *.bin files as such, without bundling them into a zip file? I tried going through the help and did some quick search but could not find any way to do this.
We are using UART DFU in our design and the host needs to have the *.dat and *.bin files separately, unzipped. When I create the update files for a new fw version I use nrfutil.exe to produce the zip file. Then I use 7-Zip in a script to extract the zip and do some further processing on the *.dat and *.bin files.
This solution works but it is a bit clumsy and not very portable. Would be very convenient to have the *.dat / *.bin files as such, without any zipping because the zip file is not needed at all in our DFU process.
Any ideas?
EDIT: while hacking the nrfutil code I noticed that it uses the zipfile library and extracting a zip in Python is really easy. My post-build scripts are written in Python so having the zip file as intermediate format is not that bad after all. In my script, I extract the zip file with:
with ZipFile(zip_path, 'r') as pkg: pkg.extractall(dirname)
So in the end I'm better off using the nrfutil as it is and do the unzip in my own post-build scripts. Kudos to Nordic for making nrfutil available in source code