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

    All my M5Stack/Stick sketch doesn't compile anymore

    Scheduled Pinned Locked Moved Arduino
    3 Posts 2 Posters 6.1k 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.
    • C Offline
      cepics
      last edited by cepics

      Hi all,
      after some test with FACES firmware on my osx machine following this doc and upgrade M5stack library, now I can't verify/compile NONE of my M5Stack/Stick sketch.

      Error compiling for board M5Stack-Core-ESP32.

      this is the arduino IDE output:

      Arduino: 1.8.9 (Mac OS X), Board: "M5Stack-Core-ESP32, QIO, 80MHz, Default, 921600, None"
      
      /Users/ce/Documents/Arduino/libraries/M5Stack/src/utility/Power.cpp: In member function 'void POWER::powerOFF()':
      /Users/ce/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 "SPI.h"
       Used: /Users/ce/Documents/Arduino/hardware/espressif/esp32/libraries/SPI
       Not used: /Users/ce/Documents/Arduino/libraries/SPI
      Multiple libraries were found for "SD.h"
       Used: /Users/ce/Documents/Arduino/hardware/espressif/esp32/libraries/SD
       Not used: /Users/ce/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/ce/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 "RunningMedian.h"
       Used: /Users/ce/Documents/Arduino/libraries/RunningMedian
       Not used: /Users/ce/Documents/Arduino/libraries/RunningMedianOLD
      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.
      
      

      (the other sketch for arduino mega and Uno compile normally)

      Please Help

      tnks a lot

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        Gaviota @cepics
        last edited by

        @cepics said in All my M5Stack/Stick sketch doesn't compile anymore:

        Multiple libraries were found for "SPI.h"
        Used: /Users/ce/Documents/Arduino/hardware/espressif/esp32/libraries/SPI
        Not used: /Users/ce/Documents/Arduino/libraries/SPI

        You have installed multiple libraries

        @cepics said in All my M5Stack/Stick sketch doesn't compile anymore:

        This report would have more information with
        "Show verbose output during compilation"
        option enabled in File -> Preferences.

        Use the option "Show verbose output during compilation", as shown in the compiler message, to get more information about the problem.

        A lot of nice M5Stack stuff :) ....

        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

          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