latest stable release source

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
devnull
Posts: 142
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

latest stable release source

Post by devnull » Thu Mar 16, 2017 2:21 pm

OK, I realise that everyone knows this except for me, but I am not experienced in compiling and understanding github repos.

So if I want to use frozen code, I need to compile myself, so I have installed the toolchains, but where do I find the source code for the current latest official release so that I can compile it myself ??

esp8266-20170108-v1.8.7.bin is the latest release, but what and where is the source code for this that I can clone via github ??

Where can I find/query/search the branch that relates to esp8266-20170108-v1.8.7 ??

SpotlightKid
Posts: 221
Joined: Wed Apr 08, 2015 5:19 am

Re: latest stable release source

Post by SpotlightKid » Thu Mar 16, 2017 2:38 pm

Releases of MicroPython are tagged in the git repository. The release tags have names with the version number prefixed by a "v", e.g. "v1.8.7".

To change your git checkout to a specific tag, just use "git checkout" with the tag name. E.g.:

Code: Select all

git clone https://github.com/micropython/micropython.git
cd micropython
git checkout v1.8.7
Then follow the README for instructions on compiling as usual.

User avatar
devnull
Posts: 142
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: latest stable release source

Post by devnull » Thu Mar 16, 2017 2:58 pm

Thanks for helping, but after do I also have to run sudo git submodule update --init, make -C mpy-cross ??

Code: Select all

cd /Volumes/case-sensitive/micropython
sudo git pull
sudo git checkout v1.8.7
sudo git submodule update --init
make -C mpy-cross

cd /Volumes/case-sensitive/micropython/esp8266
make clean
make axtls
make


SpotlightKid
Posts: 221
Joined: Wed Apr 08, 2015 5:19 am

Re: latest stable release source

Post by SpotlightKid » Thu Mar 16, 2017 3:34 pm

You already typed the commands. Why don't you just try them out? You won't break anything ;)

Like I said, follow the instructions in the README. The git clone/pull + checkout combo basically is equivalent to a normal git clone/pull if you build from the master branch.

User avatar
devnull
Posts: 142
Joined: Sat Jan 07, 2017 1:52 am
Location: Singapore / Cornwall
Contact:

Re: latest stable release source

Post by devnull » Thu Mar 16, 2017 11:25 pm

Thanks, yes I did try them out, the build worked but I was wondering whether the 2 additional steps were necessary.

Thanks so much for helping.

Post Reply