Page 1 of 1
cant compile QC FW scripts
Posted: Mon Aug 18, 2014 1:08 am
by RyanQCFlyer
im runing ubuntu 14.04 and i get this
Code: Select all
ryan@ryan-desktop:~/projects/crazyflie-firmware$ make CLOAD=1 DEBUG=0 CLEAN_VERSION
CC list.o
make: arm-none-eabi-gcc: Command not found
make: *** [list.o] Error 127
i have tryed this
http://forum.bitcraze.se/viewtopic.php?f=6&t=378 with no luck. i cant get it to work. plez help.
Re: cant compile QC FW scripts
Posted: Mon Aug 18, 2014 10:36 am
by arnaud
Hi,
Seems that you do not have gcc in the path. I assume you already downloaded and decompressed arm-none-eabi- somewhere. You can try to type this before trying to make:
Code: Select all
export PATH=<path-where-you-decompressed-arm-none-eabi>/bin:$PATH
Replacing <...> by the path where you decompressed gcc. Then to always get gcc in the PATH add the line at the end of the ~/.profile file
Another solution is to use the ubuntu-provided compiler with:
Code: Select all
sudo apt-get install gcc-arm-none-eabi
It should be in the path automatically and work out of the box but we did not test this compiler very much.
Re: cant compile QC FW scripts
Posted: Mon Aug 18, 2014 2:47 pm
by RyanQCFlyer
good news it sarted to work but i got this at the end
this is were i put the gcc
but i downloaded the ubuntu one you gave me. and it did this
Code: Select all
ryan@ryan-desktop:~/projects/crazyflie-firmware$ make CLOAD=1 DEBUG=0
CLEAN_VERSION
CC list.o
CC tasks.o
CC queue.o
CC timers.o
CC heap_4.o
CC port.o
CC misc.o
CC stm32f10x_adc.o
CC stm32f10x_dbgmcu.o
CC stm32f10x_dma.o
CC stm32f10x_exti.o
CC stm32f10x_flash.o
CC stm32f10x_gpio.o
CC stm32f10x_i2c.o
CC stm32f10x_iwdg.o
CC stm32f10x_rcc.o
CC stm32f10x_spi.o
CC stm32f10x_tim.o
CC stm32f10x_usart.o
CC main.o
CC led.o
CC uart.o
CC adc.o
CC nrf24l01.o
CC exti.o
CC nvic.o
CC motors.o
CC mpu6050.o
CC i2cdev.o
CC i2croutines.o
CC hmc5883l.o
CC ms5611.o
CC crtp.o
CC ledseq.o
CC freeRTOSdebug.o
CC imu.o
CC pm.o
CC radiolink.o
CC eskylink.o
CC usec_time.o
CC system.o
CC comm.o
CC console.o
CC pid.o
CC crtpservice.o
CC param.o
CC commander.o
CC controller.o
CC sensfusion6.o
CC stabilizer.o
CC log.o
CC worker.o
CC filter.o
CC cpuid.o
CC cfassert.o
CC configblock.o
CC eprintf.o
CC crc.o
CC fp16.o
CC debug.o
CC abort.o
VTMPL version.c
Traceback (most recent call last):
File "scripts/versionTemplate.py", line 23, in <module>
revision = subprocess.check_output(["git", "rev-parse", "HEAD"]).strip()
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [version.c] Error 1
Re: cant compile QC FW scripts
Posted: Tue Aug 19, 2014 10:45 am
by arnaud
Looks like you do not have git installed? You can install it with "sudo apt-get install git".
Re: cant compile QC FW scripts
Posted: Tue Aug 19, 2014 10:03 pm
by RyanQCFlyer