-->
Page 1 of 1

ESP8266-transparent-bridge - nothing but problems

PostPosted: Sat Aug 08, 2015 10:26 am
by Mondo90
Hello,

I wanted to flash this app -> https://github.com/beckdac/ESP8266-transparent-bridge using Eclipse and Espressif. The first problem is it doesn't has headers which it uses, i.e #include "ets_sys.h" but that file doesn't exist there. I found all those missing files in other projects , copied them and try to compile again. Unfortunately, problems again, this time very long list of errors like this one : "undefined reference to `os_printf_plus'".

What's wrong? It's very frustrating when you download code that supposed to works in a certain way and it turns out that it doesn't even compile ;(

I don't know why people publish code like this one .

Re: ESP8266-transparent-bridge - nothing but problems

PostPosted: Sat Aug 08, 2015 12:13 pm
by martinayotte
Files such are located in sdk/include/, and the undefined symbols are in sdk/lib/.
People publishing their application code don't provide the SDK themselves, it is up to you to install it and tweak the Makefile accordingly to your installation, in this case here :

SDK_BASE ?= /opt/Espressif/ESP8266_SDK
EXTRA_INCDIR = include /opt/Espressif/include

Re: ESP8266-transparent-bridge - nothing but problems

PostPosted: Sat Aug 08, 2015 12:41 pm
by tve
FYI, esp-link may have the functionality you're looking for? https://github.com/jeelabs/esp-link

Re: ESP8266-transparent-bridge - nothing but problems

PostPosted: Sat Aug 08, 2015 1:39 pm
by scargill
If I may humbly suggest.... TuanPM of MQTT for ESP8266 fame has done a bridge between Arduino and ESP8266 and that just rocks - might be worth a glance?

https://github.com/tuanpmt

Peter Scargill
http://tech.scargill.net