add board ESP32-C6 4mb and 8mb

This commit is contained in:
Mit4el
2024-11-22 22:45:10 +03:00
parent 6820460915
commit d392858cb1
13 changed files with 284 additions and 21 deletions

View File

@@ -17,7 +17,11 @@ IPAddress stringToIp(String strIp)
void routerConnect()
{
#if !defined LIBRETINY
#if defined(esp32c6_4mb) || defined(esp32c6_8mb)
WiFi.setAutoReconnect(false);
#else
WiFi.setAutoConnect(false);
#endif
WiFi.persistent(false);
#endif
/* String s_staip = "192.168.2.62";