thunderace / Esp8266-Arduino-Makefile

Makefile to build arduino code for ESP8266/ESP32x under linux (tested on debian X64)
34 stars 20 forks source link

Different Version variables #15

Closed stritti closed 6 years ago

stritti commented 6 years ago

There are two version defines of Version:

I think, they are not synchonized. Maybe I am using it in wrong way, but I had to update both places.

thunderace commented 6 years ago

The ESP8266_VER within install8266-install.sh is the esp8266-Arduino last stable version number. The ESP8266_VERSION (within Makefile) is the version used to generate the binary. For example, install both the stable version (with esp8266_install.sh) and the git version (with esp8266-install-from-git). If you want to use the git version you just have to set this in your Makefile : ESP8266_VERSION=.git See the example/esp8266/AdvancedWebServer/Makefile content.

stritti commented 6 years ago

Okay, I see. Thanks for introduction. Probably it would be valuable to describe the different usage within readme.

thunderace commented 6 years ago

Yes, i will enhance the README before merge the dev branch in the master one.