m5stack / uiflow-micropython

uiflow micropython project
https://uiflow2.m5stack.com
MIT License
53 stars 27 forks source link

Build is failing after bootloader steps #13

Closed jessiahr closed 3 months ago

jessiahr commented 11 months ago

I followed the steps in the readme but when I run the final command make BOARD=M5STACK_4MB BOARD_TYPE=stickcplus flash to flash I get the following error:

[100%] Built target app
make[5]: Leaving directory '/home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader'
/usr/bin/cmake -E cmake_progress_start /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader/CMakeFiles 0
make[4]: Leaving directory '/home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader'
[  3%] No install step for 'bootloader'
cd /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader && /usr/bin/cmake -E echo_append
cd /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader && /usr/bin/cmake -E touch /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader-prefix/src/bootloader-stamp/bootloader-install
[  3%] Completed 'bootloader'
/usr/bin/cmake -E make_directory /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/CMakeFiles
/usr/bin/cmake -E touch /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/CMakeFiles/bootloader-complete
/usr/bin/cmake -E touch /home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB/bootloader-prefix/src/bootloader-stamp/bootloader-done
make[3]: Leaving directory '/home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB'
[  4%] Built target bootloader
make[2]: Leaving directory '/home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/home/jessiahr/Desktop/dev/m5stack/uiflow_workspace/uiflow_micropython/m5stack/build-M5STACK_4MB'
make failed with exit code 2
make: *** [Makefile:132: build] Error 2

I can't seem to find more info on the failure, any ideas on what I should be trying?

felmue commented 11 months ago

Hello @jessiahr

I had better luck when I switched to the develop branch. Slightly different commands to build the firmware.

Thanks Felix

jessiahr commented 9 months ago

@felmue I had better luck on that branch but still hit some issues, what OS are you on? I have tried two different versions of debian.

felmue commented 9 months ago

Hello @jessiahr

I was using Ubuntu 20.04.

Thanks Felix