paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] possible problems on the STM32 autopilots (Lisa) with


From: Felix Ruess
Subject: [Paparazzi-devel] possible problems on the STM32 autopilots (Lisa) with recent gcc versions
Date: Fri, 25 Nov 2011 23:34:26 +0100

Hi all,

There seems to be a problem with things not working correctly on the
stm32 when using a recent gcc (4.5 or 4.6).
When you are compiling the ap target, the gcc version is printed.

My Experiences so far:
When building and then flashing via JTAG the ap doesn't seem to come
up again properly. Only after power
cycling it starts up again and works as normal (as far as I can tell).
Seems to work fine with gcc-4.4...

Unfortunately I could not get gcc-4.4 to build on oneiric...

I just build a new paparazzi-arm-multilib package with
gcc-linaro-4.6-2011.09-1 locally, get the same behaviour as with
gcc-4.5
Also uploaded the source package to
https://launchpad.net/~paparazzi-uav/+archive/testing, so this should
be built and available within the next hours...

Now from the simple tests I did it actually looks like if it works
properly if I change the optimization from -Os (optimizing for size)
to -O (same as -O1)!
(in conf/Makefile.stm32 line 36)

Maybe we should just not optimize for size anymore?

Ideas, test results, etc. are very welcome!!

Cheers, Felix



reply via email to

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