paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Problem locating gcc-arm-none-eabi


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Problem locating gcc-arm-none-eabi
Date: Wed, 29 Oct 2014 16:26:56 +0100

Hi Chris,

you need to add the cross compiler to your PATH.
export PATH=/opt/gcc-arm-none-eabi-4_7-2013q2/bin:$PATH
You probably did that by adding it to your PATH in ~/.profile so it is always added as normal user (you could add the same file in /root).

Or better fix your permissions/udev rules to allow flashing as normal user.
What device/programmer are you using?

Cheers, Felix

On Wed, Oct 29, 2014 at 3:25 PM, Chris <address@hidden> wrote:
Hi.
I am trying to update everything in my computer and transfer my code to the newest master (just cloned it) and so far i got everything working with one exception.
If i use pararazzi as a normal user paparazzi center can find gcc-arm-none-eabi located in /opt/gcc-arm-none-eabi-4_7-2013q2/bin but if i launch paparazzi center as root it gives me this error.

/home/hendrix/paparazzi/conf/Makefile.arm-embedded-toolchain:29: *** Error: arm-none-eabi-gcc cross-compiler not found! Recommended toolchain is https://launchpad.net/gcc-arm-embedded.  Stop.
make[1]: Leaving directory `/home/hendrix/paparazzi/sw/airborne'
make: *** [ap.compile] Error 2

The problem affects me because whatever i do i just can't flash stm32f4 boards using dfu-util as a user, only as root.
Chris


_______________________________________________
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]