These are chat archives for SmingHub/Sming

5th
Apr 2016
Dmitry Kireev
@kireevco
Apr 05 2016 00:57
ah... nvm for now. issues with big/little endian
alonewolfx2
@alonewolfx2
Apr 05 2016 06:26
blob
nonos
btw you need to change esp home in makefile.mk on windows. why makefile-windows.mk not working or makefile-project.mk ?
alonewolfx2
@alonewolfx2
Apr 05 2016 06:38
same error for rtos
it should have those files
Dmitry Kireev
@kireevco
Apr 05 2016 16:33
@avr39-ripe hey. So, I' might've found a solution to the big/little endian.
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:33
@kireevco Good! How to test??
Dmitry Kireev
@kireevco
Apr 05 2016 16:34
compiler/linker has both. so, I there is some issue with wrong ld or paths
and also, I've built sming, worked fine
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:35
@kireevco sming do not link, just make lib.. it work for me too.. and try to build some app
Dmitry Kireev
@kireevco
Apr 05 2016 16:35
I did try basic seria, basic blink

I've set

ESP_HOME = /Users/dmitry/Downloads/esp-alt-sdk-v1.5.0.258-macos-x86_64
SMING_HOME = /Users/dmitry/dev/Sming/Sming

That's it

Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:37
@kireevco hmm.. strange... I've just build toolchain from you repo.. plain linux debian as build host.. and do not work.. prev version works as a charm..
will try again bit latter.. may be I miss something
Dmitry Kireev
@kireevco
Apr 05 2016 16:37
and SDK? also that comes from the repo?
@avr39-ripe I'm tryting to investigate what's wrong. just need a little bit of help what's the difference between 2 versions
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:38
@kireevco I use sdk downloaded from espressif... can this hurt??
Dmitry Kireev
@kireevco
Apr 05 2016 16:38
should not
** should not
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:38
so I think so.. It can't hurt..
Dmitry Kireev
@kireevco
Apr 05 2016 16:39
but can you try my link?
and point eVERYTHING to it? (temporarily)?
it's binary
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:39
no.. have not x64 bit linux..
just 32bit
Dmitry Kireev
@kireevco
Apr 05 2016 16:40
does your sdk have c_types-c99.patch ?
try one from my zip
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:40
do you update you repo recently? if so - I rebuild it for me..
Cant tell for sure.. just rebuild toolchain from you repo.. no modification under linux... and do not link..
Dmitry Kireev
@kireevco
Apr 05 2016 16:41
I did but not with this patch
for the sake of test, can you download my zip file, and point everyhting to iot_sdk directory?
I'm really curious what changed. mayve some paths or something
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:44
can you give me the link for zip??
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:51
@kireevco no luck.. same error about little/big endian
Dmitry Kireev
@kireevco
Apr 05 2016 16:52
ok. good
Thank you.
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 16:53
@kireevco :) thank YOU for great toolchain! I use prev ver with great pleasure! :)
Dmitry Kireev
@kireevco
Apr 05 2016 17:01
hehe. well, It takes time for each test iteration...
annoying
@avr39-ripe so what fails, do you think it's the LD?
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 17:03
yes.. indeed..
Ld..
Dmitry Kireev
@kireevco
Apr 05 2016 17:03
so, I need to fix binutils
sounds logical...
Alexander V. Ribchansky
@avr39-ripe
Apr 05 2016 17:04
/home/shurik/src/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.3.0/../../../../xtensa-lx106-elf/bin/ld: Warning: size of symbol `user_rf_pre_init' changed from 2 in /home/shurik/src/esp8266/esp-open-sdk/sdk/lib/libmain.a(app_main.o) to 44 in /home/shurik/src/esp8266/Sming/Sming/compiler/lib//libsming.a(user_main.o)
/home/shurik/src/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.3.0/../../../../xtensa-lx106-elf/bin/ld: /home/shurik/src/esp8266/esp-open-sdk/sdk/lib/libmain.a(debug-vector.o): compiled for a little endian system and target is big endian
/home/shurik/src/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.3.0/../../../../xtensa-lx106-elf/bin/ld: failed to merge target specific data of file /home/shurik/src/esp8266/esp-open-sdk/sdk/lib/libmain.a(debug-vector.o)
Mateusz Zakarczemny
@Matzz
Apr 05 2016 20:30
Im getting "error: 'SC_TYPE_ESPTOUCH_AIRKISS' was not declared in this scope" From SmingHub/Sming#481 I read that Sming require sdk min 1.4
I used choco for installation and Im geting esp-udk 2.0.8 which cointains 1.3 sdk. Is it bug of choco package?
Yegor
@Bravo13
Apr 05 2016 21:07
@Matzz You need to update your Espressif SDK. Just download latest from http://programs74.ru/udkew-en.html
And yes - in choco repo old sdk
hreintke
@hreintke
Apr 05 2016 21:39
@kireevco :
Can you make the nonos 1.5.2 & rtos 1.4.0 sdk's with the current toolchain ?
The we can make a release with both Sming Versions.
Patrick Jahns
@patrickjahns
Apr 05 2016 21:41
rtos 1.4 available? nice one
hreintke
@hreintke
Apr 05 2016 22:04
yes, not much functional upgrades but should be more stable.
When making a release I mostly prefer to have the latest sdk in, unless available very short.
That limits the push to create an new Sming release.
ChrisRovers
@ChrisRovers
Apr 05 2016 23:06
I also just installed using Choco - should I upgrade the SDK to 1.4.0 or 1.5.1 ?
ChrisRovers
@ChrisRovers
Apr 05 2016 23:26
Huzzah. Downloaded ESP8266 NONOS SDK v1.5.1 from espressif.com and make all now works.