All my M5Stack/Stick sketch doesn't compile anymore
-
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
-
@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/SPIYou 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.
-
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