Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. TMCBackline
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    TMCBackline

    @TMCBackline

    0
    Reputation
    2
    Posts
    116
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    TMCBackline Follow

    Best posts made by TMCBackline

    This user hasn't posted anything yet.

    Latest posts made by TMCBackline

    • RE: MQTT Nodemcu Gateway Compile Error

      @electrik I did not. Thank you for pointing me in that direction!

      posted in Troubleshooting
      TMCBackline
      TMCBackline
    • MQTT Nodemcu Gateway Compile Error

      Good Morning,

      I have just tried compiling the nodemcu MQTT gateway, and I receive a compile error when I verify the sketch. This happens on two PC's i have access to.

      Board options I have tried are:
      Board - NodeMCU 1.0 (esp-12E module)
      Upload speed - 115200 also tried with 9600
      flash size - Tried all 3 options
      IwIP variant - Tried all 4 options

      I'm not really sure what I am looking at. Is there anything I can try?

      The error is:

      Arduino: 1.8.7 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (3M SPIFFS), v1.4 Higher Bandwidth, Disabled, None, Only Sketch, 9600"
      
      Build options changed, rebuilding all
      In file included from F:\arduino-1.8.7\portable\sketchbook\libraries\MySensors/MySensors.h:420:0,
      
                       from F:\arduino-1.8.7\portable\sketchbook\MQTT_Gateway\MQTT_Gateway.ino:114:
      
      F:\arduino-1.8.7\portable\sketchbook\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 F:\arduino-1.8.7\portable\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/pgmspace.h:10:0,
      
                       from F:\arduino-1.8.7\portable\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266/Arduino.h:256,
      
                       from sketch\MQTT_Gateway.ino.cpp:1:
      
      F:\arduino-1.8.7\portable\packages\esp8266\hardware\esp8266\2.4.2/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
      Error compiling for board NodeMCU 1.0 (ESP-12E Module).
      
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.
      
      posted in Troubleshooting
      TMCBackline
      TMCBackline