As the title says... Chat on...

User avatar
By Eyal
#16231
cal wrote:What distribution sources did you use?
What files are you missing?
I quickly compared
esp_iot_sdk_v1.0.0_15_03_20.zip and esp_iot_sdk_v1.0.1_b2_15_04_10.zip
and didn't saw missing header files.
I got them here: http://espressif.com/new-sdk-release/

Cal


I used the Espressif repos as released here:
1.0.0 http://bbs.espressif.com/viewtopic.php?f=5&t=286
1.0.1 http://bbs.espressif.com/viewtopic.php?f=5&t=398

Code: Select all$ diff -r esp_iot_sdk_v1.0.0 esp_iot_sdk_v1.0.1 |grep Only
Only in esp_iot_sdk_v1.0.0/app: readme.txt
Only in esp_iot_sdk_v1.0.0/bin/at: AT-release-note.txt
Only in esp_iot_sdk_v1.0.1/bin/at: user1.1024.new.bin
Only in esp_iot_sdk_v1.0.0/bin/at: user1.512.new.bin
Only in esp_iot_sdk_v1.0.1/bin/at: user2.1024.new.bin
Only in esp_iot_sdk_v1.0.0/bin/at: user2.512.new.bin
Only in esp_iot_sdk_v1.0.0/bin/upgrade: readme.txt
Only in esp_iot_sdk_v1.0.1/document: CN
Only in esp_iot_sdk_v1.0.1/document: EN
Only in esp_iot_sdk_v1.0.0/document: English
Only in esp_iot_sdk_v1.0.0/document: 中文
Only in esp_iot_sdk_v1.0.1/examples: IoT_Demo
Only in esp_iot_sdk_v1.0.0/include: alloca.h
Only in esp_iot_sdk_v1.0.0/include: _ansi.h
Only in esp_iot_sdk_v1.0.0/include: argz.h
Only in esp_iot_sdk_v1.0.0/include: ar.h
Only in esp_iot_sdk_v1.0.0/include: assert.h
Only in esp_iot_sdk_v1.0.0/include: ctype.h
Only in esp_iot_sdk_v1.0.0/include: dirent.h
Only in esp_iot_sdk_v1.0.0/include: envz.h
Only in esp_iot_sdk_v1.0.0/include: errno.h
Only in esp_iot_sdk_v1.0.0/include: fastmath.h
Only in esp_iot_sdk_v1.0.0/include: fcntl.h
Only in esp_iot_sdk_v1.0.0/include: grp.h
Only in esp_iot_sdk_v1.0.0/include: iconv.h
Only in esp_iot_sdk_v1.0.0/include: ieeefp.h
Only in esp_iot_sdk_v1.0.0/include: inttypes.h
Only in esp_iot_sdk_v1.0.0/include: langinfo.h
Only in esp_iot_sdk_v1.0.0/include: limits.h
Only in esp_iot_sdk_v1.0.0/include: locale.h
Only in esp_iot_sdk_v1.0.0/include: machine
Only in esp_iot_sdk_v1.0.0/include: malloc.h
Only in esp_iot_sdk_v1.0.0/include: math.h
Only in esp_iot_sdk_v1.0.0/include: memory.h
Only in esp_iot_sdk_v1.0.0/include: newlib.h
Only in esp_iot_sdk_v1.0.0/include: paths.h
Only in esp_iot_sdk_v1.0.0/include: process.h
Only in esp_iot_sdk_v1.0.0/include: pthread.h
Only in esp_iot_sdk_v1.0.0/include: pwd.h
Only in esp_iot_sdk_v1.0.0/include: reent.h
Only in esp_iot_sdk_v1.0.0/include: regdef.h
Only in esp_iot_sdk_v1.0.0/include: search.h
Only in esp_iot_sdk_v1.0.0/include: setjmp.h
Only in esp_iot_sdk_v1.0.0/include: signal.h
Only in esp_iot_sdk_v1.0.1/include: sntp.h
Only in esp_iot_sdk_v1.0.0/include: stdint.h
Only in esp_iot_sdk_v1.0.0/include: stdio.h
Only in esp_iot_sdk_v1.0.0/include: stdlib.h
Only in esp_iot_sdk_v1.0.0/include: string.h
Only in esp_iot_sdk_v1.0.0/include: sys
Only in esp_iot_sdk_v1.0.0/include: _syslist.h
Only in esp_iot_sdk_v1.0.0/include: termios.h
Only in esp_iot_sdk_v1.0.0/include: time.h
Only in esp_iot_sdk_v1.0.0/include: unctrl.h
Only in esp_iot_sdk_v1.0.0/include: unistd.h
Only in esp_iot_sdk_v1.0.0/include: utime.h
Only in esp_iot_sdk_v1.0.0/include: utmp.h
Only in esp_iot_sdk_v1.0.0/include: wchar.h
Only in esp_iot_sdk_v1.0.0/include: wctype.h
Only in esp_iot_sdk_v1.0.0/include: xcc
Only in esp_iot_sdk_v1.0.0/include: xtensa
Only in esp_iot_sdk_v1.0.0: include.tgz
Only in esp_iot_sdk_v1.0.0: IoT_Demo
Only in esp_iot_sdk_v1.0.0/lib: libc.a
Only in esp_iot_sdk_v1.0.0/lib: libhal.a
Only in esp_iot_sdk_v1.0.1/lib: libssc.a
Only in esp_iot_sdk_v1.0.0: License
Only in esp_iot_sdk_v1.0.0: SDK-release-note.txt


Eyal
User avatar
By cal
#16234 Moin,

Sorry, I overlooked the 15_04_24.
In the "big" compiler world where programs run on an OS all the includes and libs would belong more or
less to the layer adapting to the sytem/OS. Often they are compiler specific. From reading the forum
and the Makefile I got the impression that 2 different compilers are used for the esp8266: xcc and gcc.
I could imagine that they wanted to separate the pure sdk from the compiler level.
Does make sense to me.
If you combine the 1.0.1 - includes/lib with libc, libhal and includes from the open-esp-sdk, do you still miss
something then?

Cal
User avatar
By Eyal
#16238 Once I add the missing files the build completes without an error.

However, as I mentioned, my project does not fully work - the final net send (either UDP or TCP) does not happen and a disconnect occurs after about 3 seconds.

Eyal
User avatar
By delinend
#16254
cal wrote:
delinend wrote:Right now, I'm testing the Build from @Cal, and it's very stabel. But I can't run my BMP180 script, on low Heap.


I didn't provide a build. I just posted a link to the same github repository I have in initial above post.

Did you see my answer about building yourself in zombie thread?


Sorry @Cal. My mistage :?
Yes I have read your thread on zombie. I'm familiy with Linux and Nano/Vi. But not a compiler shark.
What I can't see, is how to merge the Espressif and Lua together.. and all the dependencies for a copiler to work. I can find totorials how to copile Espressif, but thats only the AT command module. I like Lua to program in :)

Thanks and best regards