Build issue

jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Post

I have cloned the master branch and ran ./build.sh gate_module and got following errors:

macmini: src JS$ ./build.sh gate_module
make: *** No rule to make target `clean'. Stop.
./build.sh: line 271: [: : integer expression expected
cp: /hdd2/Espressif/ESP8266_NONOS_SDK154/ld/eagle.app.v6.ld: No such file or directory

Any help would be appreciated.
User avatar
pzygmunt
Posts: 19400
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Post

Thanks! It builds fine on the VM. I then flashed the ESP8266-01 with the binaries and powered it up and got this (s. attachment). Shouldn't it be asking for dev id and password as well? Regarding the GPIO configuration: I'd like to drive two relays, one on GPIO2 and one on Rx similarly to the pdf.
Is the following configuration correct?

#define B_CFG_PORT 5
#define B_RELAY1_PORT 3
#define B_RELAY2_PORT 7

Would there be any usable GPIO left, for the two sensor ports?
You do not have the required permissions to view the files attached to this post.
User avatar
pzygmunt
Posts: 19400
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

In the case of configuration, just enter the email and server.
Regarding GPIO ports, you must modify the board source files or create a new one.

https://github.com/SUPLA/supla-espressi ... lude/board
jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Post

I do not see any password field.. (besides the Wifi password).
I ll change the source files, thing is that I am not quite sure to what pin number GPIO2 and Rx correspond to.
User avatar
pzygmunt
Posts: 19400
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

sorry..... email and server
jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Post

Tried it multiple times, but it does not register to svr17.supla.org. Tried it with an older build from your repository (which asks for dev id and password) and it does work. Any ideas?
User avatar
pzygmunt
Posts: 19400
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Check LAST STATE
User avatar
pzygmunt
Posts: 19400
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków

Post

Try to add
#define ESP8266_SUPLA_PROTO_VERSION 7

to the board header file.

Return to “Help”