How to update new firmware .elf format with pycom tools?
-
It seems that the .tag.gz file format for firmware updates had been replaced with .elf file format recently. However the pycom-fwtool only accepts .tar.gz. files.
How do I update my Pyboard with .elf file?
-
@jnko I do not think so. For me that just shows the lack of co-ordination in Pycom. Obviously, the elf file is just an intermediate step of creating the tar packages. That is all done by the script application.mk, which uses:
- esptool.py to create a bin file out of the elf file (line 669 ff), and uses
- tools/makepkg.sh to make the tar package (line 730 ff).
Since the process involves the bootloader and partition files too, it is eventually easier to just completely clone the repository and run the full build process. You could also just use esptool.py to create the bin file and unpack/repack and existing firmware package using tar and gzip. That seems to be easier.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login