Kompilacja ESP8266

maghost
Posty: 99
Rejestracja: ndz mar 27, 2016 12:30 am

Witam

Jak wygląda teraz kompilacja w nowych wersjach firmware'u?
W jaki sposób wybrać płytkę?
W starszych wersjach wybierało się płytkę poprzez odkomentowanie jej w kodzie.
Teraz widzę nowe pliki tj. genmisc.sh, genmisc.bat (czyżby możliwość kompilacji pod Winowsem?), build.sh zmieniło się dosyć wyraźnie.
Posiadam tylko pobrane źródła.
Czy konieczny jest Eclipse? Czy muszę coś jeszcze posiadać?
Awatar użytkownika
pzygmunt
Posty: 18335
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Uruchamia się skrypt ./build.sh
Jako parametr należy podać nazwę płytki.
Uruchomienie ./build.sh spowoduje wyświetlenie dostępnych płytek.


root@debian:/home/user01/workspace-supla/ESP8266_IOT# ./build.sh
Usage:
build.sh BOARD_TYPE
--------------------------
Board types:
dht11_esp01
dht22_esp01
am2302_esp01
thermometer_esp01
thermometer_esp01_ds_gpio0
wifisocket
wifisocket_esp01
wifisocket_esp01_thermometer
wifisocket_54
gate_module
gate_module_dht11
gate_module_dht22
gate_module_esp01
gate_module_esp01_ds
gate_module_wroom
gate_module2_wroom
rs_module
rs_module_wroom
starter1_module_wroom
jangoe_rs
maghost
Posty: 99
Rejestracja: ndz mar 27, 2016 12:30 am

Udało się do polowy
Wpisałem poprawne scieżki, ale poprawnie kompilują się tylko firmwary esp01 jak i jangoe.

W przypadku kompilacji np. wifisocket (wyciag z terminala):

Kod: Zaznacz cały

supla@supla-iotsdk:~/Devel/supla-core/ESP8266_IOT$ ./build.sh wifisocket
make -C user clean;  make -C driver clean;  make -C supla-dev clean;
make[1]: Entering directory '/home/supla/Devel/supla-core/ESP8266_IOT/user'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/supla-core/ESP8266_IOT/user'
make[1]: Entering directory '/home/supla/Devel/supla-core/ESP8266_IOT/driver'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/supla-core/ESP8266_IOT/driver'
make[1]: Entering directory '/home/supla/Devel/supla-core/ESP8266_IOT/supla-dev'
rm -f -r .output/eagle/debug
make[1]: Leaving directory '/home/supla/Devel/supla-core/ESP8266_IOT/supla-dev'
rm -f -r .output/eagle/debug
make[1]: Entering directory '/home/supla/Devel/supla-core/ESP8266_IOT/user'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_ds18b20.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_esp_cfgmode.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_esp_cfg.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle user_main.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_esp_devconn.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_esp_gpio.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_w1.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle supla_dht.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_dht.o -c supla_dht.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_w1.o -c supla_w1.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_esp_gpio.o -c supla_esp_gpio.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_esp_devconn.o -c supla_esp_devconn.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/user_main.o -c user_main.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_esp_cfg.o -c supla_esp_cfg.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_esp_cfgmode.o -c supla_esp_cfgmode.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./  -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/supla_ds18b20.o -c supla_ds18b20.c
xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libuser.a .output/eagle/debug/obj/supla_dht.o .output/eagle/debug/obj/supla_w1.o .output/eagle/debug/obj/supla_esp_gpio.o .output/eagle/debug/obj/supla_esp_devconn.o .output/eagle/debug/obj/user_main.o .output/eagle/debug/obj/supla_esp_cfg.o .output/eagle/debug/obj/supla_esp_cfgmode.o .output/eagle/debug/obj/supla_ds18b20.o 
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libuser.a
make[1]: Leaving directory '/home/supla/Devel/supla-core/ESP8266_IOT/user'
make[1]: Entering directory '/home/supla/Devel/supla-core/ESP8266_IOT/driver'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle key.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include -I ../include -I ../include/eagle dht22.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./ -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/dht22.o -c dht22.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include -I ./ -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/key.o -c key.c
xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libdriver.a .output/eagle/debug/obj/dht22.o .output/eagle/debug/obj/key.o 
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libdriver.a
make[1]: Leaving directory '/home/supla/Devel/supla-core/ESP8266_IOT/driver'
make[1]: Entering directory '/home/supla/Devel/supla-core/ESP8266_IOT/supla-dev'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle proto.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle espconnection.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle srpc.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle lck.c
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket -I include -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle log.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include  -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/log.o -c log.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include  -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/lck.o -c lck.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include  -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/srpc.o -c srpc.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include  -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/espconnection.o -c espconnection.c
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH -DESP8266 -D__SINGLE_THREAD -D__EH_DISABLED -D__BOARD_wifisocket  -I include  -I ./ -I ../include/supla-dev -I ../include -I ../include -I ../include/eagle  -o .output/eagle/debug/obj/proto.o -c proto.c
xtensa-lx106-elf-ar ru .output/eagle/debug/lib/libsupladev.a .output/eagle/debug/obj/log.o .output/eagle/debug/obj/lck.o .output/eagle/debug/obj/srpc.o .output/eagle/debug/obj/espconnection.o .output/eagle/debug/obj/proto.o 
xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/libsupladev.a
make[1]: Leaving directory '/home/supla/Devel/supla-core/ESP8266_IOT/supla-dev'
xtensa-lx106-elf-gcc  -L/home/supla/Devel/Espressif/ESP8266_IOT_SDK/lib -Wl,--gc-sections -nostdlib -T/home/supla/Devel/Espressif/ESP8266_IOT_SDK/ld/eagle.app.v6.ld -Wl,--no-check-sections -u call_user_start -Wl,-static -Wl,--start-group -lgcc -lpp -lphy -lnet80211 -lwpa -lcrypto -lssl -lmain -llwip user/.output/eagle/debug/lib/libuser.a driver/.output/eagle/debug/lib/libdriver.a supla-dev/.output/eagle/debug/lib/libsupladev.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out 
user/.output/eagle/debug/lib/libuser.a(supla_ds18b20.o):(.text.supla_ds18b20_read_temperatureB+0x20): undefined reference to `supla_esp_devconn_on_temp_changed'
user/.output/eagle/debug/lib/libuser.a(supla_ds18b20.o): In function `supla_ds18b20_read_temperatureB':
/home/supla/Devel/supla-core/ESP8266_IOT/user/supla_ds18b20.c:130: undefined reference to `supla_esp_devconn_on_temp_changed'
collect2: error: ld returned 1 exit status
/home/supla/Devel/Espressif/ESP8266_IOT_SDK/Makefile:362: recipe for target '.output/eagle/debug/image/eagle.app.v6.out' failed
make: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
Awatar użytkownika
pzygmunt
Posty: 18335
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Pobierz aktualną wersję z Github-a spróbuj ponownie. Powinno być ok.
Awatar użytkownika
slawek
Posty: 2465
Rejestracja: pn mar 14, 2016 11:48 pm
Lokalizacja: Biała Podlaska

pzygmunt pisze:Uruchamia się skrypt ./build.sh
Jako parametr należy podać nazwę płytki.
Uruchomienie ./build.sh spowoduje wyświetlenie dostępnych płytek.


root@debian:/home/user01/workspace-supla/ESP8266_IOT# ./build.sh
Usage:
build.sh BOARD_TYPE
--------------------------
Board types:
dht11_esp01
dht22_esp01
am2302_esp01
thermometer_esp01
thermometer_esp01_ds_gpio0
wifisocket
wifisocket_esp01
wifisocket_esp01_thermometer
wifisocket_54
gate_module
gate_module_dht11
gate_module_dht22
gate_module_esp01
gate_module_esp01_ds
gate_module_wroom
gate_module2_wroom
rs_module
rs_module_wroom
starter1_module_wroom
jangoe_rs
Wszystko się zgadza, a jak mam wybrać płytkę? gdzie wpisać ścieżkę?
TEORIA jest wtedy gdy wszystko wiemy i nic nie działa
PRAKTYKA jest wtedy gdy wszystko działa a my nie wiemy dlaczego
My łączymy teorię z praktyką czyli nic nie działa i nikt nie wie dlaczego
Awatar użytkownika
pzygmunt
Posty: 18335
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

np:

./build.sh dht11_esp01
Awatar użytkownika
slawek
Posty: 2465
Rejestracja: pn mar 14, 2016 11:48 pm
Lokalizacja: Biała Podlaska

Mam:
make: *** No rule to make target 'clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
Czegoś brak?
TEORIA jest wtedy gdy wszystko wiemy i nic nie działa
PRAKTYKA jest wtedy gdy wszystko działa a my nie wiemy dlaczego
My łączymy teorię z praktyką czyli nic nie działa i nikt nie wie dlaczego
Awatar użytkownika
pzygmunt
Posty: 18335
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Musisz zmodyfikować ścieżki w build.sh
Rafaello
Posty: 108
Rejestracja: ndz maja 29, 2016 1:34 pm

Witam

próbuje skompilować firmware dla 4 przekaźników czy mógłbyś mi w tym pomóc.
Czy wystarczy w Eclipse supla_esp.h dodać kolejne wiersze

PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO4_U, FUNC_GPIO4); \
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO5_U, FUNC_GPIO5); \
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO6_U, FUNC_GPIO6); \
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO7_U, FUNC_GPIO7); \

oraz

#define RELAY1_PORT 4
#define RELAY2_PORT 5
#define RELAY3_PORT 6
#define RELAY4_PORT 7

przy próbie kompilacji w BUILD z ustawionym WIFISOCKET wyskakuje poniższy komunikat


make: *** No rule to make target 'clean'. Stop.
make: *** No targets specified and no makefile found. Stop.

z góry wielkie dzięki za pomoc

ps.
szacun za chyba pierwszy taki polski projekt.
mam wdrożone IOT rosyjskie dla dallasów.
Obecnie pracuje nad oświetleniem awaryjnym i pomyślałem o SUPLA.

pzdr
Rafał
Awatar użytkownika
pzygmunt
Posty: 18335
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Musisz jeszcze dodać dodatkowe kanały tutaj:

https://github.com/SUPLA/supla-core/blo ... onn.c#L424

Jeżeli trzeba to również dodatkowe timer-y
https://github.com/SUPLA/supla-core/blo ... conn.c#L34

i wszędzie tam gdzie występuje RELAY1_PORT lub RELAY2_PORT analogicznie trzeba dodać kolejne porty.
ODPOWIEDZ

Wróć do „Pomoc”