Menu

Compiling Firmware libraries, libraries libraries!

Joe Zajac
2023-05-05
2023-05-20
  • Joe Zajac

    Joe Zajac - 2023-05-05

    I've downloaded the zip firmware.

    Tried to install all these libraries in the header of the main ino
    // OFFICIAL FIRMWARE RELEASE 135-02
    // Arduino IDE 1.8.19
    // Arduino ESP32 Core 2.0.7
    // Arduino JSON 6.21.0
    // PubSubClient 2.8
    // Eztime 0.8.3
    // Onewire 2.3.7
    // Time 1.6.1
    // esp8266-oled-ssd1306 4.3.0 (graphic display)
    // ElegantOTA 2.2.9

    Still won't compile because it can't find various include xxxxx.h files.

    When I find the missing include file on github and install that, then something else is needed and missing.

    Been at this for couple of hours

    What am I doing wrong?

    Thanks

     
    • brownrb

      brownrb - 2023-05-06

      Hi Joe

      I do not use GitHub for storage of this project/ So I do not know what you are referring to.

      The library files you refer to must be placed into the correct folder.

      Download this firmware file
      https://sourceforge.net/projects/mysqmproesp32/files/FIRMWARE/mysqmplus%20firmware-135-02.zip/download

      Place it into a work folder of your choice
      Unzip the file.

      Assuming you have Arduino ID version 1.8.19 installed, run it then click File, then Preferences. The Window will tell you where these library files must be placed, called SketchBook Location

      Mine says
      D:\Documents\Arduino
      In that folder I have a folder called libraries.

      I download all the required zip files for each library.
      They are .zip files.

      The easy way is to Run Arduino IDE, and then use the Menu Sketch, Include Library, Add .zip file. This opens up a navigation folder where you find and click on the .zips for the lirtaries you downloaded. One at a time.

      Then, add the myOLED.zip file found in the folder where you unzipped the firmware file. It is in the folder libaries_required and named myOLED.zip

      Once the libraries are all "added", then still in Arduino IDE, use the menu Tools, Board, Boards manager, which opens up the Board Manager.

      Where it says Type (top left). there is a search bar. In that search bar type esp32
      It should find
      esp32
      ExpressIf

      In Select Version, choose 2.0.9 and it should install the esp32 boards manager.

      Once that is all done, in the Arduino IDE menu, File, Open, navigate to where you unzipped the firmware file
      mysqmplus firmware-135-02.zip,
      select the folder mysqmplus_135_02, and in that folder
      select mysqmplus_135_02.ino as the file to load.

      To test, do not change anything else, simply click on the tick icon underneath Files in Arduino IDE.
      If everything is ok it should compile clean.

      If there are still errors, use the mouse to highlight all the text in the bottom window of the Arduino IDE, copy and then paste into a text file and post here/

      regards
      Robert

       
  • Joe Zajac

    Joe Zajac - 2023-05-20

    Your post was very helpful!

    Thanks Robert!

     

Log in to post a comment.