[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Dose apple's compiler llvm make my paparazzi equip

From: Felix Ruess
Subject: Re: [Paparazzi-devel] Dose apple's compiler llvm make my paparazzi equiped plane crash?
Date: Mon, 26 May 2014 19:41:46 +0200


llvm/clang shouldn't be used to cross compile the firmware (at least that is not tested/supported). The recommended toolchain for this is

When building the firmware it should report the arm-none-eabi-gcc version used at the beginning, something along the lines of:

Using CC   = /home/flixr/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-gcc
Using LD   = /home/flixr/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-gcc
Using CP   = /home/flixr/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-objcopy
Using DMP  = /home/flixr/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-objdump
Using NM   = /home/flixr/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-nm
Using SIZE = /home/flixr/gcc-arm-none-eabi-4_7-2013q3/bin/arm-none-eabi-size
GCC version:
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.7.4 20130913 (release) [ARM/embedded-4_7-branch revision 202601]

what does it show?

Cheers, Felix

On Mon, May 26, 2014 at 12:43 PM, 心如烛光 <address@hidden> wrote:
    I fly bixiler which is equiped with paparazzi lisa/m2(firmwear ver5.0) with macbook(mountainlion OSX10.8.5;Xcode5.1.1;clang2.1).And the aircraft crashes everytime while it is switched from waypoint"take off"to waypoint "standby".No matter the mode is"manual"or"auto1",the plane becomes uncontrollable immediately.Then it crashes.
    But my friend dones't encounter the problem although he flies planes with the same firmwear and the same configurations with ubuntu.So I suspect that should the OSX makes the problem?Or even the complier(clang/llvm) of OSX causes the trouble I met?The apple's compiler(llvm) had made my plane unable to trace the course before.And everything becomes OK after that I have switched the compiler from llvm to standard gcc.Dose apple's compiler llvm cause the problem?If it is true.witch compiler should I use for my paparazzi since apple nolonger ships standard gcc with its Xcode?
    Thank's for your help!!

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]