Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-A32]--#07-KC868-A32_Web_server_code
#11
this is wifimanager library. you also can find it by google search.

.zip   WiFiManager.zip (Size: 141.96 KB / Downloads: 183)
Reply
#12
For the product: KinCony KC868-A32 Rev:1.2
With arduino: 2.0.4
With the custom libraries below:
CF8574_library.zip
WiFiManager.zip
When I open up the arduino, It wants to update the custom libraries. I Updated
Then I restarted the Arduino.
Then, I could able to compile the project with below warnings:
Code:
In file included from C:\me\codes\arduino\KinCony\KC868-A32_Web_Server\KC868-A32_Web_Server.ino:9:0:
c:\me\codes\arduino\libraries\WiFiManager/WiFiManager.h:706:10: warning: #warning "ESP32 set country unavailable" [-Wcpp]
        #warning "ESP32 set country unavailable"
          ^
Code:
In file included from c:\me\codes\arduino\libraries\WiFiManager\WiFiManager.cpp:13:0:
c:\me\codes\arduino\libraries\WiFiManager\WiFiManager.h:706:10: warning: #warning "ESP32 set country unavailable" [-Wcpp]
        #warning "ESP32 set country unavailable"
          ^
Code:
C:\Users\tugal\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\esp32-hal-spi.c: In function 'spiTransferBytesNL':
C:\Users\tugal\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\esp32-hal-spi.c:922:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
                uint8_t * last_out8 = &result[c_longs-1];
                                      ^
C:\Users\tugal\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\cores\esp32\esp32-hal-spi.c:923:40: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
                uint8_t * last_data8 = &last_data;
                                        ^
Reply
#13
i am tested with arduino IDE 1.8.19 no any problem for compile.
Reply
#14
(03-06-2023, 08:19 AM)admin Wrote: i am tested with arduino IDE 1.8.19 no any problem for compile.

I installed IDE 1.8.19, and compile. As you have mentioned, there was no compile warning.
Then i looked at prefrences, Compiler warnings are set to none.
If I change it to Default manually, you can see the warnings.
I think, warnings are not important enough that, IDE 1.8.19 comes with CompilerWarning set to None.
Reply
#15
ok, just code can compile successfully is ok.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)