Bład generowania na testowym dla ESP32

cinas
Posts: 650
Joined: Sun Aug 14, 2022 6:59 am
Location: Kaczory
Has thanked: 3 times
Been thanked: 7 times

Post

Błąd generowania dla ESP32 + Roleta + PCF8574

Code: Select all

In file included from GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/SuplaDeviceGUI.h:60,
                 from GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/GUIGenericCommon.cpp:18:
GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/SuplaConditions.h:113:5: error: 'S_CHANNEL_VALUE' was not declared in this scope
     S_CHANNEL_VALUE S_SPACE S_ON_LESS,
     ^~~~~~~~~~~~~~~
In file included from GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/GUIGenericCommon.h:21,
                 from GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/GUIGenericCommon.cpp:17:
GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/src/language/common.h:5:17: error: expected '}' before string constant
 #define S_SPACE " "
                 ^~~
GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/SuplaConditions.h:113:21: note: in expansion of macro 'S_SPACE'
     S_CHANNEL_VALUE S_SPACE S_ON_LESS,
                     ^~~~~~~
In file included from GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/SuplaDeviceGUI.h:60,
                 from GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/GUIGenericCommon.cpp:18:
GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/SuplaConditions.h:111:49: note: to match this '{'
 const char* const CONDITIONS_TYPE_P[] PROGMEM = {
                                                 ^
GUI-Generic_test_bv5.2_gv7.5.19_pl_600fb536082c756e49a6f09933553066/SuplaConditions.h:136:1: error: expected declaration before '}' token
 };
 ^

Error during build: exit status 1
xxxxxxxxxxxxxxxxxx
BOARD esp32:esp32:d32:PartitionScheme=min_spiffs
BOARD_NAME
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DBUILDER_TEST -DATOMIC_FS_UPDATE -DMIMETYPE_MINIMAL -DBEARSSL_SSL_BASIC -DSUPLA_BUTTON -DSUPLA_CONFIG -DSUPLA_ENABLE_GUI -DSUPLA_OTA -DSUPLA_PCF8574 
-DSUPLA_RELAY -DSUPLA_ROLLERSHUTTER
Last edited by cinas on Tue Dec 12, 2023 8:48 pm, edited 1 time in total.
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Dlaczego korzystasz z wersji testowej? Generuje oficjalne wydania ...
https://gui-generic-builder.supla.io/
cinas
Posts: 650
Joined: Sun Aug 14, 2022 6:59 am
Location: Kaczory
Has thanked: 3 times
Been thanked: 7 times

Post

Na oficjalnym coś nie działa z PCF chciałem sprawdzić
Tu opisałem zwiechę esp32
viewtopic.php?t=14415
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

cinas wrote: Mon Dec 11, 2023 8:39 pm Na oficjalnym coś nie działa z PCF chciałem sprawdzić
Tu opisałem zwiechę esp32
viewtopic.php?t=14415
Przetestuj na esp8366.
https://gui-generic-builder.supla.io/
cinas
Posts: 650
Joined: Sun Aug 14, 2022 6:59 am
Location: Kaczory
Has thanked: 3 times
Been thanked: 7 times

Post

To jest gotowa płyta z ESP 32 i PCF na pokładzie
Fajne HW do budowania
You do not have the required permissions to view the files attached to this post.
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

cinas wrote: Mon Dec 11, 2023 9:37 pm To jest gotowa płyta z ESP 32 i PCF na pokładzie
Fajne HW do budowania
Nie mam tej płytki więc ciężko coś powiedzieć. Chociaż napisz jak to skonfigurowałeś oraz podeślij dokumentację do tej płytki co na jakim gpio jest.
https://gui-generic-builder.supla.io/
cinas
Posts: 650
Joined: Sun Aug 14, 2022 6:59 am
Location: Kaczory
Has thanked: 3 times
Been thanked: 7 times

Post

Wczoraj builder strasznie mulił i może to było powodem błędów w kompilacji
Dziś na nowo wygenerowałem soft i działa, ale jest efekt klikania przekaźników przy starcie ( ale to obstawiam wina PCF )

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x20

Relay1 = pcf8574.pinMode(P0, OUTPUT);
Relay2 = pcf8574.pinMode(P1, OUTPUT);
Relay3 = pcf8574.pinMode(P2, OUTPUT);
Relay4 = pcf8574.pinMode(P3, OUTPUT);
Relay5 = pcf8574.pinMode(P4, OUTPUT);
Relay6 = pcf8574.pinMode(P5, OUTPUT);
Relay7 = pcf8574.pinMode(P6, OUTPUT);
Relay8 = pcf8574.pinMode(P7, OUTPUT);

Input_IIC_address 0x22

Input1 = pcf8574.pinMode(P0, INPUT);
Input2 = pcf8574.pinMode(P1, INPUT);
Input3 = pcf8574.pinMode(P2, INPUT);
Input4 = pcf8574.pinMode(P3, INPUT);
Input5 = pcf8574.pinMode(P4, INPUT);
Input6 = pcf8574.pinMode(P5, INPUT);
Input7 = pcf8574.pinMode(P6, INPUT);
Input8 = pcf8574.pinMode(P7, INPUT);


DS18B20/DHT11/DHT21/LED strip -1: 14
DS18B20/DHT11/DHT21/LED strip -2: 13

DS18B20/DHT11/DHT21/LED strip -3: 32 updated in PCB V1.4
DS18B20/DHT11/DHT21/LED strip -4: 33 updated in PCB V1.4


Ethernet (LAN8720) I/O define:

#define ETH_ADDR 0
#define ETH_POWER_PIN -1
#define ETH_MDC_PIN 23
#define ETH_MDIO_PIN 18
#define ETH_TYPE ETH_PHY_LAN8720
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
robertklepacki94
Posts: 1931
Joined: Thu Sep 02, 2021 1:06 pm
Has thanked: 5 times
Been thanked: 14 times

Post

@krycha88
Tu jest chyba cała dostępna dokumentacja oraz schemat.
https://templates.blakadder.com/kincony_KC868-A8.html
Wziąłem udział w Supla Offline Party 2023

Return to “GUI Generic”