Skip to content

ESP8266: switch to SDK 2.2.1 (fix #1207) #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 18, 2018
Merged

Conversation

MaBecker
Copy link
Contributor

No description provided.

@MaBecker
Copy link
Contributor Author

Ups, travis build failed for ESP8266 ... looks like as not taking the new SDK version

@wilberforce
Copy link
Member

@MaBecker
Copy link
Contributor Author

Wow - Yes I can see that error too, but that make no sense ...

https://github.com/espruino/Espruino/blob/master/libs/network/esp8266/network_esp8266.c#L401-L424

scanning for pvPortFree finds only one position on my side

/Volumes/Espruino/repos/Espruino/targets/esp8266/espmissingincludes.h:
   59  
   60  void *vPortMalloc(size_t xWantedSize);
   61: void  pvPortFree(void *ptr);
   62  
   63  uint32 system_get_time();

@MaBecker
Copy link
Contributor Author

switched to Raw Log and found the reason:

travis_fold:start:before_script.1
�[0Ktravis_time:start:0ef8fe21
�[0K$ source ./scripts/provision.sh $BOARD
ESP8266
ESP8266_NONOS_SDK-2.2.1
xz: (stdin): File format not recognized
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
curl: (23) Failed writing body (0 != 2759)

@wilberforce
Copy link
Member

wilberforce commented Oct 16, 2018

in a linux shell this fails:

curl -Ls https://github.com/espruino/EspruinoBuildTools/raw/master/esp8266/ESP8266_NONOS_SDK-2.2.1.tgz| tar Jxf - --no-same-owner                 
xz: (stdin): File format not recognized      
                                                                                                                       
tar: Child died with signal 13             
                                                                                                                        
tar: Error is not recoverable: exiting now           

a .tgz is a gzipped tar file - how did you make the file?

Is it compressed?

@MaBecker
Copy link
Contributor Author

tar -cvzf ESP8266_NONOS_SDK-2.2.1.tgz ESP8266_NONOS_SDK-2.2.1

@MaBecker
Copy link
Contributor Author

curl -Ls https://github.com/espruino/EspruinoBuildTools/raw/master/esp8266/ESP8266_NONOS_SDK-2.2.1.tgz| tar Jxf - --no-same-owner

works fine on Mac OS X

@MaBecker
Copy link
Contributor Author

MaBecker commented Oct 16, 2018

@wilberforce can you handle the new uploaded file called ESP8266_NONOS_SDK-2.2.1.tar.gz ?

curl -Ls https://github.com/espruino/EspruinoBuildTools/raw/master/esp8266/ESP8266_NONOS_SDK-2.2.1.tar.gz| tar Jxf - --no-same-owner

@MaBecker
Copy link
Contributor Author

sorry typo, must be tar Jxf correct the last comment

@wilberforce
Copy link
Member

curl -Ls https://github.com/espruino/EspruinoBuildTools/raw/master/esp8266/ESP8266_NONOS_SDK-2.2.1.tar.gz| tar Jzf - --no-same-owner

tar: Conflicting compression options

Try 'tar --help' or 'tar --usage' for more information.

Are you running tar and then gz ? I think you need to use tar to build the compressed file

@wilberforce
Copy link
Member

That still fails.

This is how I make it for ESP32:

tar cfz ../../deploy/esp-idf.tgz  `find ../esp-idf/components/ -name *.h` \
		`find ../esp-idf/components/ -name *.a` \
		`find ../esp-idf/components/ -name *.ld` \
		`find ../esp-idf/components/esptool_py/esptool/esptool.py`

@MaBecker
Copy link
Contributor Author

used two steps

tar -cvf ESP8266_NONOS_SDK-2.2.1.tar ESP8266_NONOS_SDK-2.2.1

gzip ESP8266_NONOS_SDK-2.2.1.tar

what creates

ESP8266_NONOS_SDK-2.2.1.tar.gz

@wilberforce
Copy link
Member

@MaBecker
Copy link
Contributor Author

Thanks for your support and good night

@gfwilliams
Copy link
Member

So do we think this is good to merge in now? It'll be nice to stop thrashing @tve's S3 account too :)

@MaBecker
Copy link
Contributor Author

Good point, will move GCC to github too

@MaBecker
Copy link
Contributor Author

I would say lets merge ;-)

@gfwilliams gfwilliams merged commit 471eb28 into master Oct 18, 2018
@MaBecker
Copy link
Contributor Author

Thank @gfwilliams

@MaBecker MaBecker deleted the ESP8266_SDK_2.2.1 branch October 23, 2018 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants