Hi, I'm developing a Sublime Text plugin to automatize some things in the process of work with micropython.
One of that things is to download and uploload the firmware the easyest way, so I would like to know if there a link to always get the lastest published firmware?
Thanks in advance
Firmware download link
Re: Firmware download link
Have you looked at http://micropython.org/download ?
Re: Firmware download link
Yes I did it, the problem is, that link is dinamic so it will change everyday. I was thinking a link that be always the same but redirect to the last daily version.
The Idea is the plugin always download the latest version. If there is not option I should ask to the user enter the link and wait until an stable release.
The Idea is the plugin always download the latest version. If there is not option I should ask to the user enter the link and wait until an stable release.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Firmware download link
The links to daily builds will change daily - this is surely no surprise - but those to release builds will be stable. I would imagine release builds would be more suitable for your purposes in any case as the likelihood of a bug in a daily build is greater.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Firmware download link
Thansk, so I imagine the answer is, there is no way to to that.
Re: Firmware download link
There is no such thing as "not possible". Couple of ways to get the url of latest ESP32 firmware link:
Rest is left as an exercise to the reader.
Code: Select all
$ lynx -listonly -dump http://micropython.org/download | grep "firmware/esp32" | sed 's/.*http/http/'
http://micropython.org/resources/firmware/esp32-20171023-v1.9.2-280-g2305d848.bin
Code: Select all
$ curl --silent http://micropython.org/download | grep "firmware/esp32" | gawk -F'<a +href="' -v RS='">' 'RT{print $2}'
http://micropython.org/resources/firmware/esp32-20171023-v1.9.2-280-g2305d848.bin
Re: Firmware download link
Thanks @tuupola!
I'll try that, the only problem there is no link for esp32 at this moment, I'll wait until it's back
I'll try that, the only problem there is no link for esp32 at this moment, I'll wait until it's back