These are chat archives for SmingHub/Sming

29th
Jan 2016
ipadjanji
@ipadjanji
Jan 29 2016 00:17
@ystrem thank
@alonewolfx2 Yes firstly sming
Ricardo Martínez
@mtzfactory
Jan 29 2016 09:24
Hi! I followed your Quickstart wiki, but I'm facing problems when compiling Basic_Blink example... I get this errors:

C+ app/application.cpp
AR out/build/app_app.a
LD out/build/app.out

Memory / Section info:


out/build/app.out: file format elf32-xtensa-le

Sections:
Idx Name Size VMA LMA File off Algn
0 .data 00000375 3ffe8000 3ffe8000 000000e0 24
CONTENTS, ALLOC, LOAD, DATA
1 .rodata 000002c8 3ffe8378 3ffe8378 00000458 2
3
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00006b88 3ffe8640 3ffe8640 00000720 24
ALLOC
3 .irom0.text 0002dbb0 40209000 40209000 00005eb0 2
4
CONTENTS, ALLOC, LOAD, READONLY, CODE
4 .text 0000578f 40100000 40100000 00000720 2**2

              CONTENTS, ALLOC, LOAD, READONLY, CODE

Generating image...

make: esptool2: Command not found
make: * [out/build/app.out] Error 127

I tried this solution: SmingHub/Sming#372
editing rboot-api.c and adding this line '#include system/include/esp_systemapi.h'
but I get the same error again...
Ricardo Martínez
@mtzfactory
Jan 29 2016 10:17
for anybody who has the same error, compile this tool: https://github.com/raburton/esp8266 and export to bash
Jose Barros
@PTDreamer
Jan 29 2016 13:11
Hi yall
riban-bw
@riban-bw
Jan 29 2016 13:17
Can anyone tell me what time_t is defined as in Sming? (I am away from my dev env so can't check.)
Jose Barros
@PTDreamer
Jan 29 2016 13:33
@riban-bw Im completly new to sming so don't now if it defines it's own time.h if it doesn't and uses std c library then time_t is usually an integer type and relates to seconds
riban-bw
@riban-bw
Jan 29 2016 13:45
timet is usually #define as a basic data type, often "long". Sming uses Crosstools-NG xtensa-lx106-elf toolchain which _may define time_t as long (from some web searching) but I don't know what that represents. I need to know the size of the integer and whether it is signed. (C does not define such things for time_t and I need to know how time_t is implemented to know the time range it covers, e.g. 1970-2106 for a 32-bit unsigned, 1901-2038 for a 32-bit signed, etc.)
ystrem
@ystrem
Jan 29 2016 14:02
Hi, some news
@ystrem I've opened this issue platformio/platformio#479 . PlatformIO 3.0 will allow developers to create own platform with boards, frameworks, build scripts and don't depend on PlatformIO Core
Dmitry Kireev
@kireevco
Jan 29 2016 15:35
I really see sming as core framework for platform io
hreintke
@hreintke
Jan 29 2016 16:43
@kireevco :
Can you solve the issue with appveyor. I removed the appveyor from the repo but that had no result.
Please commit the necessary changes to the develop branch and verify correct behavior.
matsstaff
@matsstaff
Jan 29 2016 17:35
@hreintke : Yay! Got it working! Got a really simple protocol implemented over websockets and can now select a file in the webpage, read it with a FileReader and stream it to the ESP that flashes the target one line (HEX file) at a time.
I'll see now if I can boil it down to a simple example.
hreintke
@hreintke
Jan 29 2016 19:42
@matsstaff : Nice. You spend your time very well :smile: