SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.47k stars 349 forks source link

Discussion: UDK 2.2.2 / SDK 2.1 #1133

Closed tius2000 closed 5 years ago

tius2000 commented 7 years ago

Just updated my windows machine to UDK 2.2.2 with SDK 2.1, seems to work fine (at least when using sming.mk, see #985). The new version of esptool.exe is included within the UDK.

Are there any known issues with the new SDK?

icodk commented 7 years ago

@tius2000 Could you please share the steps you took for the upgrade Thanks

tius2000 commented 7 years ago

@icodk I made a backup of c:\espressif, downloaded version 2.2.2 of the UDK (http://programs74.ru/udkew-en.html) and executed the setup file.

icodk commented 7 years ago

@tius2000 Thanks What about Sming? Backup c:\tools and pulled/download developer/v3.2.0 ?

tius2000 commented 7 years ago

I did not change anything on my Sming setup (it should be almost up-to-date with the latest develop branch). However, I'm using the refactored makefile from #985.

icodk commented 7 years ago

@tius2000 Is the refactored makefile in the development branch ?

tius2000 commented 7 years ago

I did not test with the normal makefile as my projects all use sming.mk from #985. But I do not see any reasons why it should not work.

The PR is not not merged yet. However, it does not replace any existing file so you may just give it a try ;-)

icodk commented 7 years ago

@tius2000 Will try Thanks again

icodk commented 7 years ago

I renamed C:\Espressif to C:\Espressif_ but when I try to install the latest Unofficial Devkit However when I try to run the installation of the newest devkit (Espressif-ESP8266-DevKit-v2.2.1-x86) I get the following message: An old version of Unofficial Development Kit for Espressif ESP8266 was detected. Do you want to uninstall it ? If I click No the new devkit is not installed What did you do to hide the older version ?

tius2000 commented 7 years ago

Dear @icodk, I made a backup of c:\espressif first and let the installer then remove it and install the new version.

icodk commented 7 years ago

@tius2000 Can you now switch between the two versions by just restoring the old version ? I am concerned by the possibility that none of them will work after the switch

tius2000 commented 7 years ago

Yes, I switched several times with no problems. If you want to be absolutely safe, make a backup of your system partition first.

icodk commented 7 years ago

@tius2000 Thanks, I will try it in a VM

icodk commented 7 years ago

@tius2000 I tried with the develop branch but got the errors I reported in #1140 For some reason I get make[2]: xtensa-lx106-elf-gcc: Command not found when compiling third-party libs when I set ENABLE_SSL=1. may be your refactored makefile can fix it. Where can I download it or better if I could clone the repository that works

slaff commented 5 years ago

We will not support Esspressif's NON-OS SDK versions >= 2.1 and < 3.0. Once this #1470 is merged we will add support for SDK 3.0.