Arduino IDE fails to compile Weather Station v8 example sketch



  • Hi, I have been trying to compile this sketch
    https://github.com/m5stack/M5Stack-IDF/tree/master/components/M5Stack/examples/Advanced/Proof/weather-station-v8

    I used latest Arduino IDE but it fails because it relies on libraries that only seem to be available when selecting "Generic ESP32" board. I have clearly misunderstood something so please can someone point me in the right direction. BTW I also looked at trying to complie with the ESP-IDF environment but the example files are clearly .ino for the Arduino IDE.
    Thanks in advance.



  • @1nformatica A little more detail. I have installed the M5Stack github repository and can successfully compile and upload the basic and advanced sketch examples. However when I try to compile the weather station sketch it fails because when the M5Stack board is selected the required libraries which are for the esp8266 are unavailable. Even when the libraries are copied to the Arduino documents folder the sketch fails to compile with many errors. Does anyone actually have this sketch running?



  • @1nformatica Hi 1nformatica,

    Sorry I thought i replied to this earlier....... In case it's still of interest...

    I tried running this in the Arduino IDE but also had compile errors..... Also tried copying the required files. No dice.

    One or more of the files involved has probably been updated which has then introduced incompatibilities with existing programs such as this.

    Sad.

    Perhaps someone will come across the issue and update it.

    A similar issue was recently addressed here regarding Blynk - which is apparently now working again. A sketch worth trying......

    Can read about it here if interested:
    http://forum.m5stack.com/topic/138/m5stack-and-blynk/4

    BTW - Good job on your youtube review of the M5Stack !



  • @jimit Many thanks for the reply, it is sad as it was the example I wished to include in my M5Stack YouTube review. Glad you liked it anyway! For those who are interested the video is here: M5Stack Review


登录后回复
 

与 M5Stack Community 的连接断开,我们正在尝试重连,请耐心等待