I cannot upload anything on my M5Stack Fire
-
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 -
@ferrianf your arduino install is missing the required librarys needed to compile the code.
-
@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 :( -
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
-
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
-
Getting same error on all my projects now, I think someting is broken.
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