🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I cannot upload anything on my M5Stack Fire

    Scheduled Pinned Locked Moved Arduino
    6 Posts 4 Posters 13.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      ferrianf
      last edited by

      Hi, can anyone help me?!
      I cannot compile anything with the Arduino IDE, due to the the following message:

      Arduino:1.8.9 (Mac OS X), Scheda:"M5Stack-FIRE, Enabled, 921600, None"

      /Users/Fabrizio/Documents/Arduino/libraries/M5Stack-master/src/utility/Power.cpp: In member function 'void POWER::powerOFF()':
      /Users/Fabrizio/Documents/Arduino/libraries/M5Stack-master/src/utility/Power.cpp:360:35: error: 'ESP_SLEEP_WAKEUP_ALL' was not declared in this scope
      esp_sleep_disable_wakeup_source(ESP_SLEEP_WAKEUP_ALL);

                                     ^
      

      /Users/Fabrizio/Documents/Arduino/libraries/M5Stack-master/src/utility/Power.cpp:361:28: error: 'gpio_deep_sleep_hold_dis' was not declared in this scope
      gpio_deep_sleep_hold_dis();

      What is happening?
      I reinstalled the Silicon Labs drivers and the M5Stack library (version 0.2.8) but nothing changed...

      Thank you very much
      Fabrizio

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A Offline
        ajb2k3 @ferrianf
        last edited by

        @ferrianf your arduino install is missing the required librarys needed to compile the code.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • F Offline
          ferrianf
          last edited by

          @ajb2k3 I tried to reinstall Arduino IDE 1.8.9 and the library M5Stack, the only one included in my code but nothing changed, always the same error!
          Thank you for your help :(

          1 Reply Last reply Reply Quote 0
          • C Offline
            cepics
            last edited by

            Have you find a solution?

            same problem here...

            Arduino: 1.8.9 (Mac OS X), Board: "M5Stack-Core-ESP32, QIO, 80MHz, Default, 921600, None"
            
            Invalid library found in /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/AzureIoT: no headers files (.h) found in /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/AzureIoT
            Invalid library found in /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/BLE: no headers files (.h) found in /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
            /Users/bip/Documents/Arduino/libraries/M5Stack/src/utility/Power.cpp: In member function 'void POWER::powerOFF()':
            /Users/bip/Documents/Arduino/libraries/M5Stack/src/utility/Power.cpp:361:28: error: 'gpio_deep_sleep_hold_dis' was not declared in this scope
               gpio_deep_sleep_hold_dis();
            
                                        ^
            Multiple libraries were found for "SD.h"
             Used: /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/SD
             Not used: /Users/bip/Documents/Arduino/libraries/SD
             Not used: /private/var/folders/f3/0kf10ljj6sj4q4twsw_vtxrw0000gn/T/AppTranslocation/A5F0A3E3-D38F-48FA-A88D-47CA921F1A87/d/Arduino-1.8.9.app/Contents/Java/libraries/SD
            Multiple libraries were found for "WiFi.h"
             Used: /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/WiFi
             Not used: /private/var/folders/f3/0kf10ljj6sj4q4twsw_vtxrw0000gn/T/AppTranslocation/A5F0A3E3-D38F-48FA-A88D-47CA921F1A87/d/Arduino-1.8.9.app/Contents/Java/libraries/WiFi
            Multiple libraries were found for "SPI.h"
             Used: /Users/bip/Documents/Arduino/hardware/espressif/esp32/libraries/SPI
             Not used: /Users/bip/Documents/Arduino/libraries/SPI
            exit status 1
            Error compiling for board M5Stack-Core-ESP32.
            
            This report would have more information with
            "Show verbose output during compilation"
            option enabled in File -> Preferences.
            
            

            tnks

            1 Reply Last reply Reply Quote 0
            • C Offline
              cepics
              last edited by

              solved on commenting out

              gpio_deep_sleep_hold_dis();

              in

              Documents/Arduino/libraries/M5Stack/src/utility/Power.cpp

              I don't know why, but now arduino compile

              1 Reply Last reply Reply Quote 0
              • raz0rsedgeR Offline
                raz0rsedge
                last edited by

                Getting same error on all my projects now, I think someting is broken.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post