Page 1 of 1

latest stable release source

Posted: Thu Mar 16, 2017 2:21 pm
by devnull
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 ??

Re: latest stable release source

Posted: Thu Mar 16, 2017 2:38 pm
by SpotlightKid
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.

Re: latest stable release source

Posted: Thu Mar 16, 2017 2:58 pm
by devnull
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


Re: latest stable release source

Posted: Thu Mar 16, 2017 3:34 pm
by SpotlightKid
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.

Re: latest stable release source

Posted: Thu Mar 16, 2017 11:25 pm
by devnull
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.