crazyflie firmware make error

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
randychen233
Beginner
Posts: 1
Joined: Wed Sep 01, 2021 9:11 pm

crazyflie firmware make error

Post by randychen233 »

This happened while I was trying to compile the firmware code in Ubuntu on Windows:

Code: Select all

randy233@Randy-Surface-Pro:/mnt/c/Users/Brandy Chen/Documents/Projects/ae483/crazyflie-firmware$ make
  CLEAN_VERSION
  VTMPL version.c
  CC    version.o
make -C .//tools/make/cmsis_dsp/ CRAZYFLIE_BASE=/mnt/c/Users/Brandy Chen/Documents/Projects/ae483/crazyflie-firmware PROJ_ROOT=/mnt/c/Users/Brandy Chen/Documents/Projects/ae483/crazyflie-firmware V= CROSS_COMPILE=arm-none-eabi-
make[2]: *** No rule to make target 'Chen/Documents/Projects/ae483/crazyflie-firmware'.  Stop.
make[1]: *** [Makefile:414: libarm_math.a] Error 2
make: *** [Makefile:399: build] Error 2
jonasdn
Expert
Posts: 132
Joined: Mon Mar 01, 2021 3:13 pm

Re: crazyflie firmware make error

Post by jonasdn »

Hi randychen233!

Thank you for reporting this! There seem to be an issue with building when you have spaces in your path, in your case "Brandy Chen"!
I filed an issue here: https://github.com/bitcraze/crazyflie-f ... issues/840 and will look into it!

Thanks again!
jonasdn
Expert
Posts: 132
Joined: Mon Mar 01, 2021 3:13 pm

Re: crazyflie firmware make error

Post by jonasdn »

And here is a potential solution: https://github.com/bitcraze/crazyflie-f ... d52458b3c4

If you have the possibility of testing this, it would be appreciated!
Post Reply