You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile the firmware according to the instructions, but after entering the command
make flash_all BOARD=M5STACK_StickC_PLUS2
this appears:
[ 92%] Building CXX object esp-idf/M5Unified/CMakeFiles/__idf_M5Unified.dir/mpy_m5unified.cpp.obj
/home/miner203/uiflow_workspace/uiflow_micropython/m5stack/components/M5Unified/mpy_m5als.cpp:7:10: fatal error: utility/LTR553_Class.hpp: No such file or directory
7 | #include <utility/LTR553_Class.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [esp-idf/M5Unified/CMakeFiles/__idf_M5Unified.dir/build.make:930: esp-idf/M5Unified/CMakeFiles/__idf_M5Unified.dir/mpy_m5als.cpp.obj] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /home/miner203/uiflow_workspace/uiflow_micropython/m5stack/components/M5Unified/mpy_m5unified.cpp:39:
/home/miner203/uiflow_workspace/esp-idf/components/driver/deprecated/driver/periph_ctrl.h:7:2: warning: #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions. [-Wcpp]
7 | #warning driver/periph_ctrl.h header is no longer used, and will be removed in future versions.
| ^~~~~~~
/home/miner203/uiflow_workspace/uiflow_micropython/m5stack/components/M5Unified/mpy_m5unified.cpp:58:56: error: 'class m5::M5Unified' has no member named 'Als'
58 | als_obj_t m5_als = {&mp_als_type, &(M5.Als) };
| ^~~
make[3]: *** [esp-idf/M5Unified/CMakeFiles/__idf_M5Unified.dir/build.make:1042: esp-idf/M5Unified/CMakeFiles/__idf_M5Unified.dir/mpy_m5unified.cpp.obj] Error 1
make[3]: Leaving directory '/home/miner203/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_StickC_PLUS2'
make[2]: *** [CMakeFiles/Makefile2:4854: esp-idf/M5Unified/CMakeFiles/__idf_M5Unified.dir/all] Error 2
make[2]: Leaving directory '/home/miner203/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_StickC_PLUS2'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/home/miner203/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_StickC_PLUS2'
make failed with exit code 2, output of the command is in the /home/miner203/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_StickC_PLUS2/log/idf_py_stderr_output_21876 and /home/miner203/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_StickC_PLUS2/log/idf_py_stdout_output_21876
make: *** [Makefile:183: build] Error 2
Before this there was an error related to import imp, but I fixed it by replacing imp with importlib
The text was updated successfully, but these errors were encountered:
I think I execute all the commands, but now I don't need it anymore. I simply removed all references to this file because I don't use this module and it's not important to me, and everything compiled :D
I'm trying to compile the firmware according to the instructions, but after entering the command
make flash_all BOARD=M5STACK_StickC_PLUS2
this appears:
Before this there was an error related to import imp, but I fixed it by replacing imp with importlib
The text was updated successfully, but these errors were encountered: