Build issue

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

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: 18280
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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

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?
Attachments
IMG-3871.PNG
IMG-3871.PNG (46.98 KiB) Viewed 12148 times
User avatar
pzygmunt
Posts: 18280
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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

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: 18280
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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

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: 18280
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

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

Try to add
#define ESP8266_SUPLA_PROTO_VERSION 7

to the board header file.
Post Reply

Return to “Help”