Hi, I think I've managed to somehow break the web editor so it no longer compiles, even with previously fully working scripts.
I'm using a DOIT ESP32 dev board (though there are other errors when compiling scripts for my nano 33 iot boards too).
If I PULL the script into Arduino IDE 2.2.1, it compiles fine., zero errors zero advisories.
Does anyone have any idea, what I've done to break it? I suspect that one or more libraries that I have up uploaded may have caused this issue, but even if this is the case, I do not know how to delete them. I really do feel that my iot cloud space needs to wiped leaving me free to rebuild it.
Anyway, hope someone out there can help/advise, thank you.
When compiling, the webeditor throws out the following error:
In file included from /mnt/create-efs/webide/50/76/507692cbdfa0a3e325495d16b26b5421:gavvyboy/libraries_v2/ESP8266WiFi/src/WiFiClientSecure.h:23,
from /home/builder/Arduino/libraries/arduinoiotcloud_1_12_2/src/ArduinoIoTCloudTCP.h:33,
from /home/builder/Arduino/libraries/arduinoiotcloud_1_12_2/src/ArduinoIoTCloud.h:175,
from /tmp/3753422621/Hot_water_and_Central_Heating_nov27a/thingProperties.h:3,
from /tmp/3753422621/Hot_water_and_Central_Heating_nov27a/Hot_water_and_Central_Heating_nov27a.ino:17:
/mnt/create-efs/webide/50/76/507692cbdfa0a3e325495d16b26b5421:gavvyboy/libraries_v2/ESP8266WiFi/src/WiFiClientSecureBearSSL.h:27:10: fatal error: bearssl/bearssl.h: No such file or directory
#include <bearssl/bearssl.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
My code (doesn't do anything) :
#include "thingProperties.h"
void setup() {
// Initialize serial and wait for port to open:
Serial.begin(9600);
// This delay gives the chance to wait for a Serial Monitor without blocking if none is found
delay(1500);
// Defined in thingProperties.h
initProperties();
// Connect to Arduino IoT Cloud
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
/*
The following function allows you to obtain more information
related to the state of network and IoT Cloud connection and errors
the higher number the more granular information you’ll get.
The default is 0 (only errors).
Maximum is 4
*/
setDebugMessageLevel(2);
ArduinoCloud.printDebugInfo();
}
void loop() {
ArduinoCloud.update();
// Your code here
}
/*
Since DataString is READ_WRITE variable, onDataStringChange() is
executed every time a new value is received from IoT Cloud.
*/
void onDataStringChange() {
// Add your code here to act upon DataString change
}