paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Build errors in Paparazzi v4.0.4


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Build errors in Paparazzi v4.0.4
Date: Sat, 22 Mar 2014 11:33:42 +0100

Hi Stephen,

The LPC based SUMO should even compile fine with the current gcc-arm-embedded toolchain. But for STM32 based ones on these old branches you really need paparazzi-arm-mulitlib which includes some STM libs that are not in gcc-arm-embedded (and we don't use anymore since v5.0).

If you have an arm-none-eabi-gcc compiler binary in your PATH, that will be used, regardless of whether it has the stm libs or not...
See https://github.com/paparazzi/paparazzi/blob/campaign2013/conf/Makefile.arm-common#L27

Now you could either modify the makefile to not look in the PATH at all and only accept the paparazzi-arm-multilib one in /opt,
or just add /opt/paparazzi/arm-multilib/bin to come first in your PATH.
$ export PATH=/opt/paparazzi/arm-multilib/bin:$PATH
Check with 
$ which arm-none-eabi-gcc
on the commandline.

Cheers, Felix



On Sat, Mar 22, 2014 at 8:57 AM, Prof. Dr.-Ing. Heinrich Warmers <address@hidden> wrote:
Hi,
you can use the 2 compilers versions  on the same  computer.
The make system calls the right one.

Regards
Heinrich


Stephen L Hulme schrieb:


Hi Felix

Thank you very much.

So do I have to uninstall gcc-arm-none-eabi, 4-8-2013q4-0precise every
time I wish to fly Martin's SUMO funjet within the campaign2013 branch
and reinstall it to fly the ardrone2 (if it behaves itself) on master
branch?

Regards

Stephen


On Fri, 2014-03-21 at 09:57 pm, Felix Ruess wrote:

Hi Stephen,

for v4.2 and older you need the old paparazzi-arm-multilib toolchain.
If you want to use v4.x, make sure you don't have the current
gcc-arm-embedded in your PATH.

Cheers, Felix


On Thu, Mar 20, 2014 at 3:35 AM, Stephen L Hulme
<address@hidden> wrote:
        Hi Guys

        Trying to get my old LisaL quad up and running while the
        autumn weather
        allows and I get the following while testing an example file
        as well as
        my own.


        CC /home/stephen/paparazzi/var/Hexa_LisaL/ap/mcu.o
        In file included from mcu_periph/sys_time.h:127:0,
                        from mcu.c:28:

/home/stephen/paparazzi/sw/airborne/arch/stm32/mcu_periph/sys_time_arch.h:35:24: fatal error: stm32/gpio.h: No such file or directory
        #include <stm32/gpio.h>
                               ^
        compilation terminated.
        make[1]: *** [/home/stephen/paparazzi/var/Hexa_LisaL/ap/mcu.o]
        Error 1
        make[1]: Leaving directory
        `/home/stephen/paparazzi/sw/airborne'
        make: *** [ap.compile] Error 2
        make: Leaving directory `/home/stephen/paparazzi'

        DONE (exec make -C /home/stephen/paparazzi -f Makefile.ac
        AIRCRAFT=Hexa_LisaL ap.compile  2>&1)

        Regards

        Stephen


        _______________________________________________
        Paparazzi-devel mailing list
        address@hidden
        https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


______________________________________________________________________
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


reply via email to

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