Hi there,
I've tried to compile the "ak1394" firmware for my DOT-10 Crazyflie, but i think I'm to unskilled for it.
I'm unsing Ubuntu 12.04 LTS x64 with gcc-arm-linux-gnueabi to get the makefile working. Additionaly I chanced the line 
into
Code: Select all
CROSS_COMPILE     ?= arm-linux-gnueabi-
(FOUND ON: 
http://www.raspberrypi.org/phpBB3/viewt ... 72&t=52412)
when i type "make all" to compile the firmware, I see the following lines on my screen:
Code: Select all
user@maschine:~/Crazyflie/ak1394-crazyflie-firmware-5c3d5b4cdfdc$ make all
  CLEAN_VERSION
  AS    startup_stm32f10x_md.o
  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    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
modules/src/stabilizer.c: In Funktion »stabilizerTask«:
modules/src/stabilizer.c:174:5: Warnung: Übergabe des Arguments 1 von »vTaskDelayUntil« von inkompatiblem Zeigertyp [standardmäßig aktiviert]
lib/FreeRTOS/include/task.h:581:6: Anmerkung: »portTickType * const« erwartet, aber Argument hat Typ »uint32_t *«
  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
  VTMPL version.c
Traceback (most recent call last):
  File "scripts/versionTemplate.py", line 20, in <module>
    identify = subprocess.check_output(["hg", "identify", "-nitb"])
  File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [version.c] Fehler 1
I'll be very happy if you can tell me, what I'm dooing wrong...
.. I'll be grateful for any help to fix the problem...
Best regards
David from Germany
#### EDIT DOTO UPDATE ####
I installed gcc-arm-none-eabi from 
https://launchpad.net/~terry.guo/+archi ... m-embedded
and now the compilation looks like:
Code: Select all
user@maschine:~/Crazyflie/ak1394-crazyflie-firmware-5c3d5b4cdfdc$ make all
  CLEAN_VERSION
  AS    startup_stm32f10x_md.o
  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    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
  VTMPL version.c
Traceback (most recent call last):
  File "scripts/versionTemplate.py", line 20, in <module>
    identify = subprocess.check_output(["hg", "identify", "-nitb"])
  File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [version.c] Fehler 1