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 ??
latest stable release source
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: latest stable release source
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.:
Then follow the README for instructions on compiling as usual.
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
Re: latest stable release source
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
-
- Posts: 463
- Joined: Wed Apr 08, 2015 5:19 am
Re: latest stable release source
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.
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
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.
Thanks so much for helping.