ESP8266 Gateway



  • Hi Guys.

    I want do compile the .ino for the esp8266 wifi gateway. i used the normal script, put my wland access data into the script with pwassword. I have left everything as it was.
    I selected the "node MCU 1.0" Board and started to compile.
    I´m using the arduino ide 1.8.5 and mysensor 2.2

    Now i´ve the following errors

    In file included from D:\Users\Sascha\Documents\Arduino\libraries\MySensors/MySensors.h:405:0,
    
                     from C:\Users\Sascha\AppData\Local\Temp\arduino_modified_sketch_127728\GatewayESP8266.ino:120:
    
    D:\Users\Sascha\Documents\Arduino\libraries\MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:57:53: error: declaration of C function 'void ets_update_cpu_frequency(int)' conflicts with
    
     extern "C" void ets_update_cpu_frequency(int freqmhz);
    
                                                         ^
    
    In file included from C:\Users\Sascha\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1\cores\esp8266/pgmspace.h:11:0,
    
                     from C:\Users\Sascha\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1\cores\esp8266/Arduino.h:258,
    
                     from sketch\GatewayESP8266.ino.cpp:1:
    
    C:\Users\Sascha\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.1/tools/sdk/include/ets_sys.h:218:6: error: previous declaration 'void ets_update_cpu_frequency(uint32_t)' here
    
     void ets_update_cpu_frequency(uint32_t ticks_per_us);
    
          ^
    
    exit status 1
    Fehler beim Kompilieren für das Board Generic ESP8266 Module.
    

    Can someone help ?

    greetings
    Sascha


  • Mod

    @sash-sc upgrade MySensors to 2.3.2 or downgrade the esp board definition.

    More info: https://github.com/mysensors/MySensors/releases/tag/2.3.2



Suggested Topics

11
Online

11.4k
Users

11.1k
Topics

112.7k
Posts