These are chat archives for SmingHub/Sming

20th
Dec 2015
Dmitry Kireev
@kireevco
Dec 20 2015 02:11
@alon24 I'm back
what's up
alonewolfx2
@alonewolfx2
Dec 20 2015 02:29
@alon24 is out :)
i sended links and memanalyzer to alon24
what's up
Dmitry Kireev
@kireevco
Dec 20 2015 02:33
not much, got a new parameter PREBUILT_TOOLCHAIN=y
so if you run make VENDOR_SDK_VERSION=1.5.0 PREBUILT_TOOLCHAIN=y it will download xtensa toolchain
and not build it again
much faster :-D
alonewolfx2
@alonewolfx2
Dec 20 2015 02:35
:D
Dmitry Kireev
@kireevco
Dec 20 2015 03:17
so, now I have esptool.exe, esptool2.exe, memanalyzer.exe
and the whole process is open
Dmitry Kireev
@kireevco
Dec 20 2015 05:09
ok, all links are correct now https://github.com/kireevco/esp-alt-sdk
alon24
@alon24
Dec 20 2015 06:32
@kireevco I just downloaded https://bintray.com/artifact/download/kireevco/generic/esp-alt-sdk-1.5.0-windows-x86.zip (from https://github.com/kireevco/esp-alt-sdk), it is a little "lite" - meaning it just has xtensa-lx106-elf (and whatever is in that dir ) there,
it does not compile sming
In eclipse 
ESP_HOME=C:\esp-alt-sdk-1.5.0-windows-x86

When compiling:

08:30:12 **** Build of configuration Sming for project SmingFramework ****
make rebuild 
AS system/irq_check.s
make: *** [out/build/system/irq_check.o] Error 123

08:30:13 Build Finished (took 1s.303ms)
blob
hreintke
@hreintke
Dec 20 2015 08:13
@alon24 :
Not 100% sure but in my opinion the irq_check.S is a leftover from @anakod testing.
You can prevent compiling it by removing or changing the name to f.e. irq_check.X.
Please feedback the behavior of Sming afterwards.
@kireevco :
We do need the possibility in the toolchain to compile .S files. Please continue in solving this issue.
alon24
@alon24
Dec 20 2015 08:21
@hreintke I think the current zip for windows does not have all the files needed, but is this assumption correct?
(where is esptool2 and all other stuff?)
Dmitry Kireev
@kireevco
Dec 20 2015 10:00
@alon24 ah, crap..
thats wrong ...
missing tons of stuff
sorry guys, it's missing bunch of stuff, let me fix that.
alon24
@alon24
Dec 20 2015 10:35
how to use memanalyser? what is it exactly? (I think it analyzes memeory? when ,what , where, who:) )
Dmitry Kireev
@kireevco
Dec 20 2015 10:38
it's a part of UDK already
it's objdump with some additional info
hreintke
@hreintke
Dec 20 2015 11:13
@alon24 :
I did not find any usage of the function defined in the check_irq.s, sming and some examples compile and link OK so I am pretty sure.
But.. the worst thing that can happen is that you will get an undefined error during link stating _mcount nof found.
That prevents you from runtime errors.
jmccoy555
@jmccoy555
Dec 20 2015 11:42

Morning everyone....

Having a couple of issues with V2. When compiling Sming I get the following errors, if I comment out the two lines it completes without error and appears to work;
c:\tools\sming-master_v2.0.0\sming\smingcore\platform\station.h:36:25: error: 'SC_TYPE_ESPTOUCH_AIRKISS' was not declared in this scope
SCT_EspTouch_AirKiss = SC_TYPE_ESPTOUCH_AIRKISS
^
make: * [out/build/system/m_printf.o] Error 1

C+ SmingCore/Platform/Station.cpp
SmingCore/Platform/Station.cpp: In member function 'void StationClass::smartConfigStart(SmartConfigType, SmartConfigDelegate)':
SmingCore/Platform/Station.cpp:400:38: error: 'smartconfig_set_type' was not declared in this scope
smartconfig_set_type((sc_type)sctype);
^
make: * [out/build/SmingCore/Platform//Station.o] Error 1

Is this just me or an issue?

alon24
@alon24
Dec 20 2015 11:53
@hreintke the esp-alt-sdk for windows is currently incomplete, @kireevco is working on it
hreintke
@hreintke
Dec 20 2015 11:55
@jmccoy555 : As stated in readme and releasenotes: Sming V2.0 is only supporting SDK 1.4.0 & 1.5.0
jmccoy555
@jmccoy555
Dec 20 2015 12:08
Sorry.... this just clicked that I didn't update everyting after reading the manual install guide. works now
Yegor
@Bravo13
Dec 20 2015 13:08
Hi. Sorry for stupid question, but... How you, guys, create new project for Sming framework? I try to open Blink as a project and it don't show me build targets an don't know what is <SmingCore/SmingCore.h> (Unresolved inclusion)
So what is a proper way to start new Sming project or edit existed one?
alonewolfx2
@alonewolfx2
Dec 20 2015 16:31
@Bravo13 on windows or linux or mac?
Yegor
@Bravo13
Dec 20 2015 16:32
windows
Dmitry Kireev
@kireevco
Dec 20 2015 17:08
@alon24 three is a bug in a packing step. Il resolve it soon s you can test
alonewolfx2
@alonewolfx2
Dec 20 2015 18:09
@Bravo13 on eclipse, select base project, right click,copy-paste and select new project name. eclipse will do other necessary things
Yegor
@Bravo13
Dec 20 2015 19:02
@alonewolfx2 What about "Make"? If I press Shift+F9(Make targets -> Build) I got empty list
alonewolfx2
@alonewolfx2
Dec 20 2015 19:36
what the hell is going on espressif side with esp32 :D https://www.youtube.com/watch?v=OVZnVhBfNuo
Dmitry Kireev
@kireevco
Dec 20 2015 20:03
omg
@alonewolfx2 nice
alon24
@alon24
Dec 20 2015 20:15
WOW!
Dmitry Kireev
@kireevco
Dec 20 2015 20:23
well, it could be just a recorded video :-D
(:conspiracy:)
Dmitry Kireev
@kireevco
Dec 20 2015 23:25
@alon24 ok,I fixed build steps,