I have tried "tools/build/build" in crazyflie-firmware ,with the suffix "platform" , but finally I got the file "platform",which doesn't seem like a zip format. and some other files like "cf2.bin" "cf2.dfu" ,which are used under dfu mode.

any body can help me that the way to generate the zip file ? many thanks

Actually I have read the code about packing the separate files into one zip. And I realised that the python file download the existing file from github according to json file. So now I am trying to modify the packge.py, redirecting the source to the firmware directory in my local ubuntu.

The question is that ,as I said above the python downloads the bin file according to the json, if I really force the package.py to copy the file to the zip, the contents inside json file does not correspond to the bin file name ( e.g. cf2.bin in firmware directory but cf2-2019.02.bin) . I wonder whether the mismatch of the file names will effect the behavoir of pc client when unpacking the zip file for flashing ?